Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
![]() |
#1 | Link |
x264 developer
Join Date: Sep 2005
Posts: 8,666
|
Psy RDO: Official testing thread (version 0.6 out!)
Psychovisually optimized rate-distortion optimization
Experimental Patch: Psy RD 0.6 (updated for r950) Build: r937, version 0.6 Version 0.6 changes: 1. Psy trellis (adjustable separately on commandline) included and on by default. 2. Automatically adjust chroma QP offset to compensate for the higher quants psy RD/trellis result in. 3. Psy trellis allows trellis=1 now. Version 0.3-0.5 changes: 1. Much faster, by caching half the SATDs that need to be done. 2. Warn the user if trellis 1 is enabled--and disable trellis--if psy RD is on. 3. Psy RD strength is now a decimal value with default 1.0. Don't touch it unless you have good reason. 4. Psy RD strength now automatically scales based on quantizer. This is done internally--the "strength" is a multiplier to this internal value. How to use it: Its on by default. Adjust the strength with --psy-rd. That's it. How it works (simply): the human eye doesn't just want the image to look similar to the original, it wants the image to have similar complexity. Therefore, we would rather see a somewhat distorted but still detailed block than a non-distorted but completely blurred block. The result is a bias towards a detailed and/or grainy output image, a bit like xvid except that its actual detail rather than ugly blocking. How it works (full explanation): read the comment in the patch. Last edited by Dark Shikari; 27th August 2008 at 02:56. |
![]() |
![]() |
![]() |
#5 | Link |
Registered User
Join Date: Sep 2004
Location: Wales UK
Posts: 228
|
Ha ha the picture is more important IMHO. is there any cmd switch
for this patch or is automatically activated with certain settings ? Thanks nevermind you just edited and answered my question thanks ![]() Last edited by gav1577; 31st May 2008 at 19:33. |
![]() |
![]() |
![]() |
#6 | Link | |
x264 developer
Join Date: Sep 2005
Posts: 8,666
|
Quote:
![]() ![]() As you can tell the code is heavily macroed to reduce duplication; unwrapped it'd be another dozen lines or two. But overall the patch isn't too complicated; I'm only changing how x264 views "distortion" in RDO. |
|
![]() |
![]() |
![]() |
#9 | Link |
Testeur de codecs
Join Date: May 2003
Location: France
Posts: 2,530
|
And as always ... no. Because first pass is just a statistical reference for 2nd pass Rate Control. Very fine first pass (crf mode with same setting with close bitrate) will produce marginal better overall quality (it's just Rate Control optimisation).
__________________
Le Sagittaire ... ;-) 1- Ateme AVC or x264 2- VP7 or RV10 only for anime 3- XviD, DivX or WMV9 |
![]() |
![]() |
![]() |
#10 | Link | |
Registered User
Join Date: Jan 2006
Posts: 220
|
Quote:
http://forum.doom9.org/showthread.ph...77#post1143777 |
|
![]() |
![]() |
![]() |
#11 | Link |
Fighting spam with a fish
Join Date: Sep 2005
Posts: 2,724
|
Damn DS!! You rule!! Keep the awesome quality patches coming!!
__________________
FAQs:Bond's AVC/H.264 FAQ Site:Adubvideo Zsmooth - Cross-platform smoothing for Vapoursynth |
![]() |
![]() |
![]() |
#16 | Link |
L.A.M.E. developer
Join Date: Dec 2001
Location: Paris - France
Posts: 276
|
PE is a kind of rough complexity estimation of the frame done at early stage, and is usually done on a less granular scale. It is usually (PE is mainly a concept rather than a specific metric) not used within the RD/quantization stage. On the other hand, dropout prevention is something (usually enabled at low bitrates) that tries to preserve power per subband, even if the individual frequency bins are different, in order to avoid holes within the spectrum.
A simple dropout prevention scheme is described there: http://www.3gpp.org/ftp/Specs/archiv.../26403-700.zip section 5.6.1.1.2 "Avoidance of spectral holes" |
![]() |
![]() |
![]() |
#17 | Link | |
Strictly Rhythm
Join Date: Jul 2007
Location: Ljubljana, Slovenia
Posts: 166
|
http://techouse.project357.com/build...do_techouse.7z
Quote:
Last edited by techouse; 1st June 2008 at 00:47. |
|
![]() |
![]() |
![]() |
#18 | Link |
Registered User
Join Date: Apr 2004
Posts: 1,315
|
Some undesirable results:
With psy RDO http://rapidshare.com/files/11924617...o_RDO.mp4.html Without psy RDO http://rapidshare.com/files/11924713...NoRDO.mp4.html Settings for 3 passes: Code:
x264.exe --threads 3 --pass 3 --progress --stats "x264_stat.log" --qcomp 0.75 --bframes 3 --bime --weightb --subme 7 --keyint 500 --ref 16 --trellis 2 --mixed-refs --8x8dct --partitions all --b-rdo --direct auto --b-pyramid --bitrate 800 --no-fast-pskip --me umh --merange 16 --deblock -1:-1 --me-prepass -o 3xrdo.mp4 Ma.avs |
![]() |
![]() |
![]() |
#19 | Link | |
x264 developer
Join Date: Sep 2005
Posts: 8,666
|
Quote:
A random example: ![]() ![]() Notice the vastly decreased blocking on the chest and the increased graininess in the background--plus of course the obvious, the face.
__________________
Follow x264 development progress | akupenguin quotes | x264 git status ffmpeg and x264-related consulting/coding contracts | Doom10 Last edited by Dark Shikari; 1st June 2008 at 09:10. |
|
![]() |
![]() |
![]() |
Tags |
psy-rd, psyrdo |
Thread Tools | Search this Thread |
Display Modes | |
|
|