[FFmpeg-devel] [PATCH] Additional libx264 presets

Lou Logan lou
Wed Feb 17 00:34:51 CET 2010


On Fri, 12 Feb 2010 02:18:53 -0800
Jason Garrett-Glaser <darkshikari at gmail.com> wrote:

> On Fri, Feb 12, 2010 at 2:10 AM, Lou Logan <lou at fakeoutdoorsman.com>
> wrote:
> > This patch adds libx264 presets that mostly emulate the x264
> > presets: ultrafast, veryfast, faster, fast, slow, slower, veryslow,
> > placebo.
> >
> > There are some options that x264 uses that could not be included in
> > this patch because there are no equivalent options in FFmpeg:
> >
> > ultrafast: --aq-mode 0
> > slow: --rc-lookahead 50
> > slower, veryslow, placebo: --rc-lookahead 60
> 
> I tentatively approve this patch, but there is the catch of first pass
> options: "veryslow", "ultrafast", and "placebo" all use bframe values
> different from default, which would mean fastfirstpass/slowfirstpass
> presets would no longer work.  Without a flexible preset-logic system,
> we would have to have ultrafast-firstpass, veryfast-firstpass, and so
> forth, for first pass presets.
> 
> Dark Shikari

Attached is an updated patch that includes ultrafast_firstpass,
veryfast_firstpass, and placebo_firstpass.  placebo_firstpass is simply
a copy of placebo, but there may be a better way of doing that.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: additional-libx264-presets.patch
Type: text/x-patch
Size: 6258 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100216/18bae55c/attachment.bin>



More information about the ffmpeg-devel mailing list