[vlc-devel] Re: vlc: svn commit r7479 (gbazin)
Gildas Bazin
gbazin at altern.org
Sun Apr 25 16:40:43 CEST 2004
On Sunday 25 April 2004 16:15, Subversion daemon wrote:
> r7479 | gbazin | 2004-04-25 16:15:29 +0200 (Sun, 25 Apr 2004) | 12 lines
>
> * 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.
>
This changes the transcode MRL syntax. Here what the new syntax look like.
#transcode{acodec=mp3,ab=128,channels=2,aopts{encoder_specific_options},vcodec=mp4v,vb=1000,scale=0.5,vopts{encoder_specific_options}}
You can now find all the available transcode options in the preferences
panel or with: "vlc -p stream_out_transcode --advanced"
You can also find all the encoder specific options in the preferences panel
or with: "vlc -p encoder_name --advanced" (where encoder_name can be
ffmpeg, vorbis, etc...).
I would personnaly prefer a syntax that would allow one to specify which
encoder module to use instead of just the codec (in case several encoders
support the codec.). Something like:
#transcode{acodec=ffmpeg{acodec=mp3,foo=value,bar=value},ab=128,channels=2}
But this is not material for 0.7.2 anyway ;)
--
Gildas
--
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html
If you are in trouble, please contact <postmaster at videolan.org>
More information about the vlc-devel
mailing list