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

Andres Gonzalez acandido
Fri Jan 21 08:35:31 CET 2011

On 20/01/11 18:58, Ronald S. Bultje wrote:
> Hi,
> 2011/1/20 Andres Gonzalez<acandido at hi-iberia.es>:
>> Hi all,
>> I've been using FFmpeg for some months, but I am new to developers' list.
>> I would like to add an option to FFmpeg, in order to allow the user to
>> choose a preferred page.
>> For example, if I'm thinking of writing:
>> ffmpeg -i input.mpeg -oggpagesize 4000 -o output.ogg
>> That would mean "when you have 4000 or more bytes of data, make a page".
>> Another option would be "make pages of size 4000 bytes or less", but at
>> first glance, this second looks a little trickier to implement, for me.
>> 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.
> Ronald
Ok, I'll start working from there.

Andr?s Gonz?lez

T: 91 458 51 19 (ext:165)
C/ Bolivia 5 - Madrid - 28016

More information about the ffmpeg-devel mailing list