[MPlayer-dev-eng] [PATCH] x264 fast first pass
Robert Swain
robert.swain at gmail.com
Sat Jul 9 19:53:13 CEST 2005
Hello all,
After a request was made I have written a small patch that adds a fast first
pass feature to x264 in mencoder. The VFW version of x264 has been using a
conservative fast first pass for a long while and I have tested a second set
of reduced complexity settings myself which seem to give good results. As
such specifying fastfirstpass=<0-2> in the x264encopts allows for the
following settings:
0 - disabled (same as omission)
1 - reduced settings in the same fashion as the VFW fast first pass (number
of references, subq and reduction of subpartition types; cf the patch or
x264 source for further details)
2 - reduced settings ( frame_ref = 1, subq = 1, no sub-partitions, no
8x8dct, and diamond ME search)
I also tried to update the documentation but I'm unfamiliar with the
notation used for the man pages.
Please find the patch attached. I'm new to programming but I think this
patch should be OK. I had to move the multi-pass switch below the options so
that it would overwrite them as necessary. Comments welcome, I need to learn
good techniques. :)
Regards,
Robert Swain
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mplayer.x264.fastfirst.diff
Type: application/octet-stream
Size: 4855 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20050709/dfc173d1/attachment.obj>
More information about the MPlayer-dev-eng
mailing list