Commit Graph

182 Commits

Author SHA1 Message Date
Rémi Denis-Courmont
87c112340b Fix corner case introduced in HTTPd IPv6 patch 2004-07-17 14:07:40 +00:00
Laurent Aimar
43a8115c06 * all: cosmetics. 2004-07-10 17:20:59 +00:00
Rémi Denis-Courmont
a304c04257 Fixed memory leak (can anyone confirm?) 2004-07-05 17:14:00 +00:00
Felix Paul Kühne
5b67f077c2 * ALL: minor spelling fixes 2004-06-28 14:16:51 +00:00
Laurent Aimar
6bc47898f2 * standard: fixed a segfault. 2004-06-06 18:55:10 +00:00
Laurent Aimar
dd57adf971 * rtp: use dynamique RTP payload type for h263-1998. (bug found by Ross
Finlayson)
2004-05-29 14:06:50 +00:00
Laurent Aimar
8077c568b2 * rtp: h263 support (untested).
Patch by Callan, Wilson <wcallan AT starentnetworks DOT com>
2004-05-28 20:20:50 +00:00
Gildas Bazin
69db2459e6 * modules/stream_out/standard.c: fixed a few small mem leaks. 2004-05-13 18:22:18 +00:00
Sam Hocevar
4b9f4ff644 * Massive spelling corrections. 2004-04-27 16:35:15 +00:00
Sam Hocevar
5be283c10d * modules/codec/Modules.am:
+ Added disabled plugin sources to EXTRA_DIST.
  * modules/stream_out/transrate/Modules.am:
    + Added missing transrate.h to _SOURCES.
2004-04-26 13:58:25 +00:00
Gildas Bazin
5d7811926f * modules/stream_out/transcode.c:
+ avoid a few unneeded memcpy().
  + fixed memory leaks.
* modules/codec/flac.c:
  + added a "flac" shortcut.
2004-04-25 18:08:13 +00:00
Gildas Bazin
5e36f2f88e * modules/stream_out/transcode.c: make acodec/vcodec optional if aenc/venc is specified. 2004-04-25 17:33:37 +00:00
Gildas Bazin
08fefcb7d2 * modules/stream_out/transcode.c: fix for when forcing encoder. 2004-04-25 17:21:16 +00:00
Gildas Bazin
75013fc5ee * modules/stream_out/transcode.c: if aenc/venc is specified, force the encoder.
* modules/codec/vorbis.c,flac.c,theora.c,speex.c: use encoder if forced.
2004-04-25 17:02:49 +00:00
Gildas Bazin
e3c6886780 * modules/stream_out/transcode.c:
+ new options to allow forcing an encoder and passing options to it.
     (aenc=foo{optionbar=bar,etc...},venc=foo{optionbar=bar,etc...} where foo is the encoder plugin name).
   + got rid of aopts/vopts which is not needed anymore ;)
2004-04-25 16:35:39 +00:00
Gildas Bazin
3ef2227a28 * src/stream_output/stream_output.c: small sout_cfg_parser() changes.
* modules/stream_out/duplicate.c: small coding style changes.
* modules/stream_out/transcode.c:
  + Forward the aopts{foo=bar,etc..} and vopts={foo=bar,etc...} options to the encoders.
  + Got rid of the ffmpeg encoder specific options.
* modules/codec/ffmpeg/*:
  + Changed the encoder options to normal config options.
  + Parse the options forwarded by transcode.
* include/vlc_codec.h:
  + encoder_t cleanup.
  + include a "sout_cfg_t *" in encoder_t to allow passing options.
2004-04-25 14:15:29 +00:00
Clément Stenac
dec85dda92 Fix description 2004-04-25 08:45:01 +00:00
Clément Stenac
4526bdb8d5 Compilation fix and give option descriptions 2004-04-24 15:40:57 +00:00
Gildas Bazin
048769f969 * modules/stream_out/*: attempt at adding descriptions to the config options. 2004-04-24 12:49:53 +00:00
Laurent Aimar
330802a42f * standard: created sap/slp(boolean) sap-name/slp-name(string),
sap-ipv6(boolean) options. (So that breaks the old way but it's easier).
2004-04-24 11:34:27 +00:00
Laurent Aimar
116d261645 * all: use sout_ParseCfg. But "standard" can't use it for sap/slp
options (because we can't do the difference between missing option,
option and option="" when option is a string).
2004-04-24 03:38:10 +00:00
Laurent Aimar
de4f532040 * x264: added aspect support.
* transcode: added H264 codec id.
 * demux: added h264 demux shortcut.
2004-04-23 19:00:06 +00:00
Gildas Bazin
fd63550bf9 * modules/stream_out/transcode.c: fixed mem leak + use av_free() instead of free() where necessary.
* modules/codec/ffmpeg/*: use av_free() instead of free() where necessary.
2004-04-23 09:13:43 +00:00
Christophe Massiot
9c11fac39a * modules/stream_out/transrate: Rewrote the transrater to use a SAD error
estimation ; if the error is too high, lower the quantizer scale.
2004-04-21 15:54:09 +00:00
Clément Stenac
fab59c05a4 * ALL: Better announce system
- The SAP handler now runs in a separate thread.
  - RTP sessions can be announced with sap (sdp=sap://,name=...)
	TODO: Make this more configurable
  - Better SDP generation (the timestamp problem is not resolved)
	About this, there is a problem : as, for a RTP session, the URI
        is the complete SDP, if the session is recreated, as the URI has 
        changed, a new item is added to the playlist
  - Experimental flow control algorithm :
       It does not follow the "Recommended" implementation, as it needs
       to count the sessions (to achieve this, we should make this work
       together with the SAP listener)
       It is disabled by default (use --sap-flow-control to enable).
       When it is disabled, sap announcement interval is set by --sap-interval

* src/misc/net.c : created net_ReadNonBlock
* sap.c : Fixed memory problem
2004-04-18 18:21:09 +00:00
Benjamin Pracht
5a790accb4 * Little cleanup of sap announces :
- use net_* functions
- use vlc_UrlParse function

change sap_session_t structure  : it now includes the  sdp packet, which
isn't regenerated each time it is sent.
2004-04-17 09:22:41 +00:00
Gildas Bazin
efeca308fb * modules/stream_out/transcode.c: try more sensible width/height values when testing the video encoder. 2004-04-15 19:12:20 +00:00
Gildas Bazin
7a43f27acc * modules/stream_out/transcode.c: compilation fix for latest ffmpeg cvs. 2004-04-09 16:03:29 +00:00
Gildas Bazin
d1c5e76053 * modules/stream_out/transcode.c: hack to work around ffmpeg encoding which doesn't like frames with identical pts.
* modules/codec/ffmpeg/encoder.c: one missing AV_NOPTS_VALUE.
2004-04-05 16:09:17 +00:00
Laurent Aimar
655e585f74 * rtp: fixed segfault with mux= 2004-03-29 14:17:25 +00:00
Laurent Aimar
295240a14b * duplicate: fixed a bug with noes. 2004-03-23 11:02:48 +00:00
Laurent Aimar
54521e0a23 * rtp: sdp=rtsp:// urls begin to work (multicast+unicast).
(There is still the problem of timeout, and a lot of checks aren't done).
2004-03-21 22:03:42 +00:00
Laurent Aimar
8547ffaaeb * stream_out: sout_buffer_t -> block_t. 2004-03-11 17:36:43 +00:00
Laurent Aimar
5d0cd08833 * include/input_ext-plugins.h: exported input_RunDecoder/input_EndDecoder.
* modules/stream_out/display.c: use input_RunDecoder/input_EndDecoder
 (fixed dead lock and no more duplicated stream in audio/video menu).
2004-03-10 12:02:58 +00:00
Laurent Aimar
8a55377fc0 * transcode: downmixing to 1 and 2 channels now really mixes the input
channels. (Badly done but it gives some results ;)
2004-03-07 15:58:21 +00:00
Laurent Aimar
3acd8838fd * transcode: report the right number of channels (a52 -> mpga). 2004-03-07 15:12:45 +00:00
Gildas Bazin
c1aad580be * transcode.c: another fix to avoid 1st frame without pts. 2004-03-06 20:49:10 +00:00
Gildas Bazin
b30fa861d2 * transcode.c: fix for when 1st frame of non-low-delay streams only has a dts. 2004-03-06 20:16:04 +00:00
Gildas Bazin
6c955787f0 * src/input/input_dec.c: fix for input_EndDecoder() when using the async mode.
* modules/packetizer/copy.c: better not send pts instead of invalid ones.
* modules/stream_out/transcode.c: when no pts, use dts wherever possible (low delay / b frame).
2004-03-06 19:30:19 +00:00
Laurent Aimar
70b1f9b919 * rtp, display: update p_sout->i_out_pace_nocontrol. 2004-03-06 16:38:29 +00:00
Laurent Aimar
ca7c328769 * transcode.c: fixed SVQ3 transcoding. 2004-03-06 05:47:59 +00:00
Sam Hocevar
45adedc913 * Added "Id" svn:keywords property to all files containing "$Id:".
* Removed .cvsignore files and added proper svn:ignore properties.
2004-03-05 17:34:23 +00:00
Gildas Bazin
c87d50dd85 * ALL: changed the prototype of module_Need() to accept a "strict" boolean argument.
If "strict" is true and a module name is provided then module_Need() will only look for the specified module
If "strict" is false, then module_Need() will first look for the specified module and if it wasn't found, will continue with the other modules with the same "capability".
2004-03-03 20:39:53 +00:00
Laurent Aimar
423b23baa5 * rtp: ported to new httpd. 2004-03-03 13:27:25 +00:00
Christophe Massiot
ae60413f30 * modules/stream_out/transrate/frame.c: Fixed warnings (thanks fenrir) 2004-03-03 11:39:06 +00:00
Christophe Massiot
9e4b5e027c * modules/codec/ffmpeg/encoder.c:
- use AV_NOPTS_VALUE instead of 0 when it's available
  - reworked the hurry-up mode to start with disabling the B frames first
  - reworked the hurry-up mode to remove my thread mess
  - check that we don't feed ffmpeg with twice the same PTS (crashes ffmpeg)
  - correctly flag the picture types

* modules/stream_out/transcode.c:
  - use AV_NOPTS_VALUE instead of 0 when it's available
  - copy block_t::i_flags to sout_buffer_t::i_flags (temporary)
2004-03-03 11:29:26 +00:00
Christophe Massiot
7a649fb24a * modules/stream_out/transrate:
- split transrate.c
  - you can specify a maximum gop length on which to perform transrating,
    to avoid adding to much delay in the sout pipeline (shaping= option)
  - fixed a bug where you couldn't transrate a transcoded stream
2004-03-03 11:20:52 +00:00
Christophe Massiot
cf0968da8b * Added two files in Modules.am 2004-03-01 11:55:25 +00:00
Gildas Bazin
2c0ea284b4 * modules/stream_out/transcode.c: compilation fixes for ffmpeg-0.4.8. 2004-02-24 17:42:07 +00:00
Gildas Bazin
acbd501ea8 * modules/stream_out/transcode.c: fixed memleak. Set aspect ratio info even for raw video input. 2004-02-21 23:50:52 +00:00