[FFmpeg-devel] [PATCH] libx264 psyrd update V4

Jason Garrett-Glaser darkshikari
Thu Jan 22 12:04:00 CET 2009

On Thu, Jan 22, 2009 at 2:55 AM, Marcus Blomenkamp <mblomenk at gmx.de> wrote:
> Hi all,
> i have addressed the previous patchset issues, this means that i have made ffmpeg-internal psyrd default value match x264 default value instead of having it in the preset files. Documentation has been changed accordingly. So here again:
> x264 mainline now contains psychovisualization enhancements (psyrd) and enables them by default.
> Patch 1 updates documentation for existing configuration options
> Patch 2 adds support for new psyrd configuration options including documentation.
> Patch 3 updates the libx264 preset files to make use of them by default.
> best regards,
> Marcus

+ at table @samp
+ at item 1
+Fastest, but extremely low quality
+ at item 2-5
+Progressively better and slower
+ at item 6
+activates rate distribution for I/P frames
+ at item 7
+activates rate distribution for all frames
+ at item 8
+activates rate distribution refinement for I/P frames (default)
+ at item 9
+activates rate distribution refinement for all frames

This could be done more accurately (for 0-5 at least) simply by
copying x264's --longhelp:

 - 0: fullpel only (not recommended)
 - 1: SAD mode decision, one qpel iteration
 - 2: SATD mode decision
 - 3-5: Progressively more qpel
 - 6: RD mode decision for I/P-frames
 - 7: RD mode decision for all frames
 - 8: RD refinement for I/P-frames
 - 9: RD refinement for all frames

>Note that psyrd requires rate distribution,

Rate-distortion optimization.

Dark Shikari

More information about the ffmpeg-devel mailing list