[FFmpeg-devel] feature proposal: custom size for OGG pages

Anton Khirnov anton
Mon Jan 24 16:07:11 CET 2011


On Mon, Jan 24, 2011 at 03:59:19PM +0100, Andres Gonzalez wrote:
> On 20/01/11 18:58, Ronald S. Bultje wrote:
> >Hi,
> >
> >2011/1/20 Andres Gonzalez<acandido at hi-iberia.es>:
> >>[...]
> >>
> >>The question is: Is it okay to add an arbitrary feature-specific parameter?
> >>Or, do you have any other suggestion to achieve this?
> >Yes, but not in the generic API. Please look into muxer-specific
> >AVOptions, some muxers already use it.
> 
> Could you put an example of this, please? Let's say: option, muxer
> and some of the files involved.
"some muxers" currently means "only the mp3 muxer", which has a
muxer-specific AVOption for selecting id3v2 version to use.

Have a look at mp3enc.c/commit 22272f61bb0b164b53c132ba0804842b66b871e0
for an example.

-- 
Anton Khirnov
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20110124/f1161843/attachment.pgp>



More information about the ffmpeg-devel mailing list