* 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.
* include/vlc_codec.h: added a b_need_packetized field to decoder_t that is used by a decoder to tell if it wants to be fed complete frames.
* modules/demux/ts.c, modules/demux/ps.h, src/input/input_programs.c: b_packetized = VLC_FALSE.
* modules/codec/ffmpeg/ffmpeg.c, modules/codec/faad.c: b_need_packetized = VLC_TRUE;
* src/input/input_dec.c: if (b_need_packetized & !b_packetized) then kick off a packetizer that we'll use to feed the decoder.
* src/input/es_out.c: removed useless stuff.
Found and fixed:
- some untranslated macros
- some acronyms which were not in capital letters
- a couple of VLC Media Player (_m_edia _p_layer, now)
- typos here and there
- dots missing in some of the long texts
- spaces before ? and :, which is correct in french but not in english :)
- NT services are now called Windows Services
- 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)
- new ffmpeg options available from the command-line : interleaved video,
noise reduction, rate control parameters, i_quant_factor, trellis
quantification, mpeg4 matrix, and thread count
- portable functions to use ffmpeg multithreading capabilities on all
platforms
- hurry up mode now turns off rd and trellis, and also raises the noise
reduction parameter (thus noise reduction is mandatory with hurry up)
- if threads=1, no ffmpeg thread is launched, but the ffmpeg encoding
will be done in a separate thread than the packetizer and decoder
- fixed a bug with mp3 decoding and weird ffmpeg return code