[Ffmpeg-devel] AVOptions

Luca Barbato lu_zero
Mon Sep 12 17:59:08 CEST 2005

Michael Niedermayer wrote:
> Hi
> On Sun, Sep 11, 2005 at 01:18:40PM +0200, Michael Niedermayer wrote:
>>as everyone certainly already knows ffmpeg/libav* has a nice&new AVOption
>>API, comments & suggestions for improvements are welcome
>>and dont complain in a month that its not useable in your application, if 
>>you know of an issue or have a suggestion to improve it then post it now
> and if anyone has suggestions for better names for some options now is the
> right time as compatibility is slightly broken anyway
> and a few specific questions
> currently all AVOption constants are upper case so for example '-idct SIMPLE'
> is that ok, or do people want lowercase for them?

I guess lowercase are more readable but is just a matter of taste.

> the flag set/unset syntax looks like '-debug +PICT+MMCO-STARTCODE+8'
> any comments about that? 

looks fine

> stuff like '-MV4' instead of '-flags +MV4' works also almost already
> or should it be '+MV4'? later seems more logic but might be problematic
> for some applications (ffmpeg.c is one as it strips and expects the '-' but 
> it should be easy to fix)

Better avoid that and just enforce -flags



Luca Barbato

Gentoo/linux Developer		Gentoo/PPC Operational Leader

More information about the ffmpeg-devel mailing list