[FFmpeg-devel] [PATCH] add ME_T/ESA to avcodec.h

Robert Swain robert.swain
Thu Jun 5 10:51:33 CEST 2008

2008/6/5 Michael Niedermayer <michaelni at gmx.at>:
> On Thu, Jun 05, 2008 at 02:30:57AM +0200, Michael Niedermayer wrote:
>> Code below,
>> just put -vpre anime-hq on the command line and have a file with the path
>> ~/.ffmpeg/mpeg4-anime-hq.ffpreset
>> with all your AVOptoion key=value stuff in it
>> similar for other codecs.
>> minor known bug, -vpre must be after -vcodec
>> Iam planning to commit the code if there are no objections ...
> Also we can after that patch easily add support to automatically load
> ~/.ffmpeg/<codecname>-default.ffpreset if no -*pre are specified
> If that is wanted, iam not sure though if it really is, specifying what one
> wants with -vpre hq / -vpre fast / veryfast / ultrahq doesnt seem that hard.

Regarding presets, my idea was that subsequently specified presets
having some overlap with previously specified presets would overwrite
those values. I expect your code exhibits this behaviour this

Then I suggest we have presets for profiles/levels/equivalent/other
bit stream restrictions (e.g. iPod specific restrictions or whatever)
and presets for quality/speed tradeoffs. This would allow, for
example, '-vcodec libx264 -vpre hq -vpre ipod' where the libx264 hq
preset may specify the use of H.264 High Profile features and the
libx264 ipod preset would disable them.


More information about the ffmpeg-devel mailing list