[FFmpeg-devel] Passing options to muxer/codec
Tue Dec 9 07:33:15 CET 2008
On Mon, 2008-12-08 at 23:41 +0100, Stefano Sabatini wrote:
> 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().
Thank you, I'll check this.
More information about the ffmpeg-devel