[FFmpeg-devel] [PATCH/RFC] Per-codec option system

Jason Garrett-Glaser darkshikari
Tue Sep 29 20:21:10 CEST 2009


A very simple implementation of a string option system, with x264
completed as an example.  Not implemented in ffmpeg.c yet.

Eventual goal: eliminate [nearly] all options in AVCodecContext and
revert entirely to codec-specific options.

Potential improvements: add a .help() command as well to return help
information on the options for a specific codec.

I think practically everyone agrees that this needs to be done at some
point.  If bikeshedding results in some variant of this not being
committed within the next week, I will commit without discussion.  At
a minimum, I think the (or a similar) API should go in as soon as
possible so that we can start writing interfaces to it and converting
more codecs to use it.

Dark Shikari
-------------- next part --------------
A non-text attachment was scrubbed...
Name: string_options.diff
Type: application/octet-stream
Size: 4169 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090929/7d3828a2/attachment.obj>



More information about the ffmpeg-devel mailing list