[FFmpeg-devel] [PATCH] Additional libx264 presets

Lou Logan lou
Wed Feb 24 09:37:57 CET 2010


On Tue, 16 Feb 2010 15:48:21 -0800
Jason Garrett-Glaser <darkshikari at gmail.com> wrote:

> On Tue, Feb 16, 2010 at 3:34 PM, Lou Logan <lou at fakeoutdoorsman.com>
> wrote:
> > 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.
> 
> Any reason you can't have all of the firstpasses, not just those 3?

Good point.

> 
> Dark Shikari

Updated with all x264 presets and associated _firstpass presets.
However, this patch shouldn't be a replacement for x264 commit 1007cb7.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: additional_libx264_presets.patch
Type: text/x-patch
Size: 10976 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100223/1a55b026/attachment.bin>



More information about the ffmpeg-devel mailing list