[FFmpeg-devel] Passing options to muxer/codec

Stefano Sabatini stefano.sabatini-lala
Mon Dec 8 23:41:14 CET 2008

On date Tuesday 2008-12-09 00:04:19 +0200, G encoded:
> Hi all.
> I am currently writing PSX STR muxer support for ffmpeg, and I have some
> questions:
> Is there any convient way to pass parameters from ffmpeg command line
> directly to muxer while not editing main executable code?
> I've analysed ffmpeg/libavcodec/opt.h - routines from there aren't used
> in any codec implementations, so I guess I am searching in a wrong
> place.

Codecs code doesn't directly call those routines, they simply provide
a convenient interface used to fill the codec context *before* to open
the codec, but you can fill the codec context withouth them.

Hint: check cmdutils.c:opt_default().


FFmpeg = Fiendish & Fantastic Moronic Portentous Ecletic Goblin

More information about the ffmpeg-devel mailing list