[FFmpeg-devel] [RFC][PATCH] Soft target presets

Stefano Sabatini stefano.sabatini-lala
Fri Nov 12 20:29:21 CET 2010

On date Friday 2010-11-12 20:13:59 +0100, Michael Niedermayer encoded:
> On Fri, Nov 12, 2010 at 07:30:03PM +0100, Stefano Sabatini wrote:
> > Hi,
> > 
> > this should allow program presets of the kind:
> > ffmpeg -i IN.flv -pre dvd-pal OUT
> > 
> > which should deprecate the -target option and deliver more flexibility
> > to the ff* tools.
> and break all other tools in the process by storing ffmpeg.c specific command
> line options in preset files that are supposed to work with all libav* tools
> The preset file is supposed to map things to AVOptions, and we even have
> AVOptions for samplerate and so on or could have but you implement a way to
> bypass all this and feed it back in the previous layer.
> This is really ugly and broken

Patch #8, ffmpeg specific presets should be prefixed by "ffmpeg-",
same can be easily generalized to the other tools, this just
implements a convenient way to provide complex presets through a
bundled configuration file, rather than hardcode them.

This would be very useful for specific targets (e.g. ipod, ipad, PSP,
FFmpeg = Fundamentalist and Fiendish Merciful Pitiless Easy Gadget

More information about the ffmpeg-devel mailing list