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. |
![]() |
#163 | Link |
Moderator
![]() Join Date: Jan 2006
Location: Portland, OR
Posts: 5,023
|
There was a blog post link a few posts back. It sounds highly amicable, thoughtful, and gradual. Life stuff that made it hard to keep on spending many hours a week coding for free was part of it. And something that sounds something like "I'll be starting a new job working on psychovisual encoding so I can help migrate what I did but can't introduce new algorithms."
|
![]() |
![]() |
![]() |
#164 | Link | |
Registered User
Join Date: Dec 2021
Location: Canada
Posts: 39
|
Quote:
Some of us got deeper into AV1 (juliobbv and me), one went another way into AV1 (gianni can't work on svt-av1-psy outside of helping me with PRs) and Clybius just stopped working for whatever reason. |
|
![]() |
![]() |
![]() |
#165 | Link |
Registered User
Join Date: Dec 2021
Location: Canada
Posts: 39
|
As for the post detailing svt-av1-psy stuff, it'll come with the massive SVT-AV1-PSY x266 docs writeup that will come in the summer.
I just want to settle the basic R&D for now, especially since after the merges are all done (particularly after modifying svt-av1-psy psy-rd to better suit the project), I want to actually retry getting PSYEX-PSNR into a better metric. For anyone interested, I did actually manage to get SAD-Psy working, and unlike psy-rd, it's purely frequency adaptive; it works in AC and DC bands, meaning that it should theoretically, perform better more effectively. |
![]() |
![]() |
![]() |
#166 | Link | |
Registered User
Join Date: Jun 2024
Location: South Africa
Posts: 349
|
Quote:
|
|
![]() |
![]() |
![]() |
#167 | Link | ||
Registered User
Join Date: Jun 2024
Location: South Africa
Posts: 349
|
Quote:
Quote:
|
||
![]() |
![]() |
![]() |
#169 | Link | |
Registered User
Join Date: Aug 2024
Posts: 529
|
Quote:
Maybe I'm not doing it right, can anyone suggest a set of parameters for "maximum PSY"? |
|
![]() |
![]() |
![]() |
#170 | Link | |
Registered User
Join Date: Jun 2024
Location: South Africa
Posts: 349
|
Quote:
EDIT: Also, tune=3 seems to be critical, but doesn't work with 2-pass mode. Last edited by GeoffreyA; 29th April 2025 at 09:40. |
|
![]() |
![]() |
![]() |
#171 | Link | |
Registered User
Join Date: Dec 2021
Location: Canada
Posts: 39
|
Quote:
I believe this should be quite nice, especially if you're willing to use P2, or if you have the time and want to put steroids into svt-av1-psy, P-1. <=P4 are the recommended presets for high quality psy-rd, although high-quality psy-rd does work at P6; it just has a relatively high compute cost there since it does undo a lot of pruning because of how psy-rd works and the change from var to frequency assisted SAD, causing more recursion. |
|
![]() |
![]() |
![]() |
#172 | Link |
Registered User
Join Date: Jun 2024
Location: South Africa
Posts: 349
|
A quick test aiming for roughly 5,000 kbps. I used CRF for most encoders because two passes often lead to inconsistent quality on this clip. The modern encoders, x265 and upwards, were allowed to use 10-bit depth. SVT-AV1-PSY 3.0.2 was used in the FFmpeg build. Of course, a wider range of bitrates should be tested: shifiting towards the lower will favour the modern codecs, and vice versa.
Link: https://we.tl/t-ofMEd0w6bl Code:
ffmpeg -i REF.mp4 -c:v mpeg2video -b:v 5000k -pass 1 -f null - ffmpeg -i REF.mp4 -c:v mpeg2video -b:v 5000k -pass 2 mpeg2.mp4 ffmpeg -i REF.mp4 -c:v libxvid -q:v 7 xvid.mp4 ffmpeg -i REF.mp4 -c:v libx264 -crf 26 -preset veryslow -tune film x264.mp4 ffmpeg -i REF.mp4 -pix_fmt yuv420p10le -c:v libx265 -crf 25.5 -preset veryslow -x265-params deblock=-1,-1:no-sao=1:no-strong-intra-smoothing=1:rd=4 x265.mp4 ffmpeg -i REF.mp4 -pix_fmt yuv420p10le -c:v libsvtav1 -crf 38 -preset 1 -svtav1-params tune=3:psy-rd=0.8:noise-norm-strength=3:qm-min=8:chroma-qm-min=8 svtav1-psy.mp4 ffmpeg -i REF.mp4 -pix_fmt yuv420p10le -c:v libvvenc -qp 23 -preset medium -vvenc-params SAO=0 vvc.mp4 |
![]() |
![]() |
![]() |
#173 | Link | |
Registered User
Join Date: Dec 2013
Location: Berlin, Germany
Posts: 448
|
Quote:
__________________
My github... |
|
![]() |
![]() |
![]() |
#174 | Link | |
Registered User
Join Date: Aug 2024
Posts: 529
|
Quote:
Let's have a "better" x265 sample by the way https://workupload.com/file/53cWqkuUy3W Encoding settings based on "preset slowxx and tune vq2" I mean, at least the grains don't look like they are twitching like in the "original" x265 sample. Last edited by Z2697; 30th April 2025 at 17:41. |
|
![]() |
![]() |
![]() |
#175 | Link | |
Registered User
Join Date: Dec 2021
Location: Canada
Posts: 39
|
Quote:
![]() I just gave a relatively mild recommendation. But yes, you should use mpv instead of VLC. If there was one sole reason for this, it is because VLC sharpens by default, making it unreliable for comparisons alongside its poor colorspace adherence. |
|
![]() |
![]() |
![]() |
#176 | Link |
Registered User
Join Date: Jun 2024
Location: South Africa
Posts: 349
|
It's a bitrate virus with that grain. I was surprised to see even x265 get knocked so hard. VVC takes the easy route of just denoising the whole thing, despite SAO being turned off. Come to think of it, I think there's a MT-something setting that disables the temporal denoising in vvenc. Should try that. As for SVT-AV1-PSY, there is certainly a wider range of settings to adjust these results. Simply changing from one tune to another, for instance, makes a visual difference. All in all, it's a big departure from libaom, though.
|
![]() |
![]() |
![]() |
#178 | Link | |
Moderator
![]() Join Date: Jan 2006
Location: Portland, OR
Posts: 5,023
|
Quote:
I don't think you'll get 10-bit encoding in x264 without specifying High10, or in x265 without Main10. But perhaps the behavior changed without my noticing. MediaInfo reveals all. Last edited by benwaggoner; 2nd May 2025 at 01:47. |
|
![]() |
![]() |
![]() |
#179 | Link | ||
Registered User
Join Date: Dec 2013
Location: Berlin, Germany
Posts: 448
|
Quote:
Quote:
https://drive.google.com/file/d/1O8X...ew?usp=sharing Looks slightly better than yours I guess, but the source starts to get too low quality for the encoder. Maybe needs a ~150Mbit mezzanine and not the 35mbit rip provided here...
__________________
My github... |
||
![]() |
![]() |
![]() |
#180 | Link | |
Registered User
Join Date: Aug 2024
Posts: 529
|
Quote:
This is not x265, right? Last edited by Z2697; 2nd May 2025 at 12:42. |
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|