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. |
![]() |
#6621 | Link | |
Registered User
Join Date: Aug 2012
Posts: 183
|
Quote:
|
|
![]() |
![]() |
![]() |
#6622 | Link |
Registered User
Join Date: Feb 2015
Posts: 325
|
--ctu 64 vs. 32 && --merange 12 vs. 26 vs. 40 vs. 57 vs. 74 vs. 92
I've made a test with --merange 12/26/40/57/74/92 for --ctu 64 --qg-size 64 vs. --ctu 32 --qg-size 32
Command line: for %m in (12 26 40 57 74 92) do ( x265 -p7 --bitrate 500 -f3333 --psnr --ssim --qg-size 64 --merange %m ../big_buck_bunny_1080p24.y4m w64-%m.hevc x265 -p7 --bitrate 500 -f3333 --psnr --ssim --ctu 32 --merange %m ../big_buck_bunny_1080p24.y4m w32-%m.hevc ) Results (in ctu block: speed (fps), PSNR, SSIM (dB)): Code:
ctu merange | 64 | 32 12 | 6.93 39.980 12.996 | 6.44 39.565 12.742 26 | 6.69 40.303 13.599 | 6.21 39.903 13.345 40 | 6.46 40.393 13.746 | 6.07 39.999 13.499 57 | 6.13 40.404 13.757 | 5.90 40.019 13.512 74 | 5.85 40.409 13.757 | 5.67 40.024 13.515 92 | 5.58 40.413 13.760 | 5.47 40.026 13.514 For CPU with only 12 logical cores (6 physical) --ctu 64 is just better in preset slower for 1080p encoding. |
![]() |
![]() |
![]() |
#6625 | Link |
Registered Developer
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 9,835
|
If you rely on a specific setting that strongly, you should not rely on it being the default, and just specify it. Or as an alternative, not blindly update your encode pipeline without verifying that it still produces expected results.
For the record, the default was changed from 1 to 2, not the other way around.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders |
![]() |
![]() |
![]() |
#6626 | Link | |
Pig on the wing
Join Date: Mar 2002
Location: Hollola, Finland
Posts: 4,636
|
Quote:
__________________
And if the band you're in starts playing different tunes I'll see you on the dark side of the Moon... |
|
![]() |
![]() |
![]() |
#6627 | Link |
Registered Developer
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 9,835
|
Personally I like the second option. Not blindly update, but validate new versions first.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders |
![]() |
![]() |
![]() |
#6628 | Link |
Registered User
Join Date: Oct 2001
Location: Germany
Posts: 5,903
|
Still waiting for them to update the documentation https://x265.readthedocs.io/en/latest/presets.html,..
Opened an issue entry for it (https://bitbucket.org/multicoreware/...-documentation) at the end of last year. I get it that they change the defaults(/presets/tune) from time to time, but not updating the documentation do represent such fundamental changes is really annoying,... |
![]() |
![]() |
![]() |
#6629 | Link |
Pig on the wing
Join Date: Mar 2002
Location: Hollola, Finland
Posts: 4,636
|
And a funny thing is that --no-rskip is supposed to be a default in --preset veryslow (and also --slower) but it's not according to the code. I reported the issue a long time ago but no one fixed it
![]()
__________________
And if the band you're in starts playing different tunes I'll see you on the dark side of the Moon... |
![]() |
![]() |
![]() |
#6630 | Link |
Registered User
Join Date: Oct 2001
Location: Germany
Posts: 5,903
|
@Boulder: yeah, looking at https://bitbucket.org/multicoreware/...cpp?at=default rskip is only disabled in placebo,
but the documentation: - https://x265.readthedocs.io/en/latest/presets.html reports that is is disabled starting with slower. - https://x265.readthedocs.io/en/default/presets.html reports that is is disabled starting with very slow. -> wrong documentation is even worse than missing documentation ![]() (same for https://bitbucket.org/multicoreware/....cpp?at=latest) |
![]() |
![]() |
![]() |
#6631 | Link |
Registered User
Join Date: Dec 2014
Posts: 193
|
ok... can you tell me why aq mode 2 is better? i noticed rapid lower bitrate with aq-mode 2... any impact on picture quality and fine detail retention? i am encoding with crf18
__________________
Core i9-7960X, 64GB DDR4, RTX 2070, 1TB NVMe SSD, 56TB NAS |
![]() |
![]() |
![]() |
#6632 | Link | |
Pig on the wing
Join Date: Mar 2002
Location: Hollola, Finland
Posts: 4,636
|
Quote:
I think you need to find a new sweet spot for CRF since the bitrate demand is indeed quite different compared to mode 1, and I also think it depends heavily on the content.
__________________
And if the band you're in starts playing different tunes I'll see you on the dark side of the Moon... |
|
![]() |
![]() |
![]() |
#6634 | Link | |
Lost my old account :(
Join Date: Jul 2017
Posts: 116
|
Quote:
I think you are correct, since the biggest benefit of reducing it only appears when going above arround 8C/16T (I was testing with 12/24 and went from 7fps to 11fps cause of the less thread utilization at CTU 64, and I would say that it was definitely was worth the trade off), it does makes since to keep it as an manual setting. I would say though that it might be worth consideration to lower the merange for those fastets presets, since it doesnt seem to benefit quality that much. Last edited by excellentswordfight; 12th January 2019 at 17:59. |
|
![]() |
![]() |
![]() |
#6635 | Link |
German doom9/Gleitz SuMo
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 5,963
|
That might sound stupid to a German (Doofi ~ retarded kid)
![]() ![]() _ Some on-topic: Support for Dolby Vision is announced, and immediately people believe that applications for decoding, possibly even encoding, for consumer PCs are available too ... which is doubtful. I wonder how "homeopathic" its additional features will be in a generic furnished living room, where average people can hardly tell the difference between DD AC3 and dts on a DVD Video, not to mention HD Audio formats. To me, it seems that supporting such data is mainly for professional content producers. Might be a field where hobbyists can't help the developers much. |
![]() |
![]() |
![]() |
#6636 | Link | |
Registered User
Join Date: Dec 2002
Posts: 5,494
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
#6639 | Link |
German doom9/Gleitz SuMo
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 5,963
|
No. I believe because GPU features would not speed x265 up. At least not without risking a loss of quality or losing the independence from hardware and software platforms (portability).
GPU features are not magical general speed-ups for every case of use, sometimes they just don't match the requirements. |
![]() |
![]() |
![]() |
#6640 | Link |
Registered User
Join Date: Dec 2014
Posts: 193
|
Ok. Did a test. 3840x2160 res., same x265 settings. One with aq-mode 1 crf18 and second aq-mode 2 (which is now new default) with crf16. aq-mode 2 with crf16 still gives lower bitrate. which one "should" be better in terms of detail retention?
whole CLI (HDR parameters are added automatically by RipBot264): Code:
-preset slow --profile main10 --level-idc 5.1 --output-depth 10 --ctu 32 --aq-mode 1 --amp --no-rskip --qg-size 8 --vbv-bufsize 160000 --vbv-maxrate 160000 --bframes 8 --rc-lookahead 48 --gop-lookahead 30 --hdr --hdr-opt --repeat-headers --no-info --no-deblock --no-sao --allow-non-conformance --no-strong-intra-smoothing --high-tier --asm avx512 --crf 18 Code:
-preset slow --profile main10 --level-idc 5.1 --output-depth 10 --ctu 32 --aq-mode 2 --amp --no-rskip --qg-size 8 --vbv-bufsize 160000 --vbv-maxrate 160000 --bframes 8 --rc-lookahead 48 --gop-lookahead 30 --hdr --hdr-opt --repeat-headers --no-info --no-deblock --no-sao --allow-non-conformance --no-strong-intra-smoothing --high-tier --asm avx512 --crf 16
__________________
Core i9-7960X, 64GB DDR4, RTX 2070, 1TB NVMe SSD, 56TB NAS Last edited by jlpsvk; 16th January 2019 at 12:05. |
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|