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. |
![]() |
#6861 | Link |
German doom9/Gleitz SuMo
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 5,968
|
CRF means: Constant Rate Factor. It keeps an internal distortion metric in the encoding workflow (called "rate factor") below a threshold. But many details are part of the RF calculation, and not all represent your personal subjective quality impression perfectly. Yet, it is a much better one than PSNR and allows an easy adjustment of the quantization with some respect to the encoding complexity. But a few seemingly paradox results may happen. Heavier efforts do not always result in more efficient video stream code or visually more convenient pictures, exceptions from a general rule aren't impossible.
|
![]() |
![]() |
![]() |
#6863 | Link | |
Registered User
Join Date: Feb 2007
Posts: 86
|
Quote:
![]() Tried out RC1+3 (built with VS2019) but... no luck - it still crashes for me. Code:
Video encoding [...] failed with exit code: -1073740940 (0xC0000374) The exit code might be a system error code: Ein Heap wurde beschädigt. [...] x265 [info]: HEVC encoder version 3.1_RC1+3-3bdf06e3c628 [...] |
|
![]() |
![]() |
![]() |
#6864 | Link | ||
Moderator
![]() Join Date: Jan 2006
Location: Portland, OR
Posts: 2,984
|
Error disabling --hdr-opt
So, I am trying to do a lossless HDR encoding test.
Quote:
Quote:
|
||
![]() |
![]() |
![]() |
#6865 | Link |
German doom9/Gleitz SuMo
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 5,968
|
Ah, well ... had some issues with other projects compiled in MABS, and more work thus less spare time. And there are so many competitors now. But a "merge with stable" is a reason to publish another one.
|
![]() |
![]() |
![]() |
#6867 | Link | |
Moderator
![]() Join Date: Jan 2006
Location: Portland, OR
Posts: 2,984
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
#6868 | Link |
Registered User
Join Date: Feb 2007
Location: Sweden
Posts: 337
|
x265 v3.1+2-b36c03e4e771 (32 & 64-bit 8/10/12bit Multilib Windows Binaries) (GCC 9.1.0)
Code:
https://bitbucket.org/multicoreware/x265/commits/branch/default |
![]() |
![]() |
![]() |
#6869 | Link |
Derek Prestegard IRL
![]() Join Date: Nov 2003
Location: Los Angeles
Posts: 5,575
|
@benwaggoner
https://bitbucket.org/multicoreware/...cpp#lines-3316 Code:
if (p->internalCsp != X265_CSP_I420 || p->internalBitDepth != 10 || p->vui.colorPrimaries != 9 || p->vui.transferCharacteristics != 16 || p->vui.matrixCoeffs != 9) 4:2:0 10 bit color primaries = 9 (bt2020) transfer characteristics = 16 (smpte2084) matrix coefficients = 9 (bt2020nc) It does look like you're set up correctly, so no idea why this is happening. I've found hdr-opt to be helpful for Dolby Vision Profile 5 encoding, which is incompatible with the required VUI to enable it, so I just patched out the above code block ![]() |
![]() |
![]() |
![]() |
#6870 | Link | |
Registered User
Join Date: Jul 2018
Posts: 107
|
Quote:
Code:
avs2yuv_x64 -depth 10 1.avs -o - | x265-10b.exe --y4m - --level-idc 5.1 --high-tier --ref 6 --bframes 12 --rd 4 --me 3 --subme 5 --merange 57 --ipratio 1.2 --pbratio 1.1 --aq-mode 3 --aq-strength 0.95 --qcomp 0.70 --psy-rd 1.35 --psy-rdoq 1.20 --ctu 32 --rc-lookahead 60 --deblock -3:-3 --cbqpoffs 0 --crqpoffs 0 --qg-size 8 --no-rskip --no-rect --no-amp --no-sao --no-open-gop --no-early-skip --no-cutree --tu-intra-depth 4 --tu-inter-depth 4 --range limited --aud --repeat-headers --hrd --hdr-opt --colorprim bt2020 --colormatrix bt2020nc --transfer smpte2084 --master-display "G(13250,34500)B(7500,3000)R(34000,16000)WP(15635,16450)L(10000000,20)" --max-cll=0,0 --input-depth 10 --chromaloc 2 --preset slower -o gcc.mkv --asm avx512 --zones 2100,3000,b=1.22/9000,10500,b=1.3/13000,13500,b=1.1/22000,22320,b=1.11/25000,25300,b=1.15 --crf 17 > gcc.txt 2>&1 Code:
y4m [info]: 1920x1080 fps 24000/1001 i420p10 unknown frame count raw [info]: output file: gcc.mkv x265 [info]: HEVC encoder version 3.1_RC1+3-3bdf06e3c628 x265 [info]: build info [Windows][GCC 9.1.1][64 bit] 10bit ... 30194 frames: 5.47 fps, 20856.40 kb/s 30198 frames: 5.47 fps, 20855.46 kb/s 30201 frames: 5.47 fps, 20854.86 kb/s 30206 frames: 5.47 fps, 20853.95 kb/s 30210 frames: 5.47 fps, 20852.97 kb/s Code:
avs2yuv_x64 -depth 10 1.avs -o - | x265-10bvs.exe --y4m - --level-idc 5.1 --high-tier --ref 6 --bframes 12 --rd 4 --me 3 --subme 5 --merange 57 --ipratio 1.2 --pbratio 1.1 --aq-mode 3 --aq-strength 0.95 --qcomp 0.70 --psy-rd 1.35 --psy-rdoq 1.20 --ctu 32 --rc-lookahead 60 --deblock -3:-3 --cbqpoffs 0 --crqpoffs 0 --qg-size 8 --no-rskip --no-rect --no-amp --no-sao --no-open-gop --no-early-skip --no-cutree --tu-intra-depth 4 --tu-inter-depth 4 --range limited --aud --repeat-headers --hrd --hdr-opt --colorprim bt2020 --colormatrix bt2020nc --transfer smpte2084 --master-display "G(13250,34500)B(7500,3000)R(34000,16000)WP(15635,16450)L(10000000,20)" --max-cll=0,0 --input-depth 10 --chromaloc 2 --preset slower -o vs.mkv --asm avx512 --zones 2100,3000,b=1.22/9000,10500,b=1.3/13000,13500,b=1.1/22000,22320,b=1.11/25000,25300,b=1.15 --crf 17 > vs.txt 2>&1 Code:
y4m [info]: 1920x1080 fps 24000/1001 i420p10 unknown frame count raw [info]: output file: vs.mkv x265 [info]: HEVC encoder version 3.1_RC1+3-3bdf06e3c628 x265 [info]: build info [Windows][MSVC 1921][64 bit] 10bit ... 30194 frames: 5.32 fps, 20856.40 kb/s 30197 frames: 5.32 fps, 20855.68 kb/s 30199 frames: 5.32 fps, 20855.23 kb/s 30201 frames: 5.32 fps, 20854.86 kb/s 30205 frames: 5.32 fps, 20854.18 kb/s 30207 frames: 5.33 fps, 20853.70 kb/s 30210 frames: 5.33 fps, 20852.97 kb/s x265 [info]: frame I: 204, Avg QP:14.97 kb/s: 33917.45 x265 [info]: frame P: 3896, Avg QP:16.17 kb/s: 26657.95 x265 [info]: frame B: 26112, Avg QP:17.10 kb/s: 20900.09 x265 [info]: Weighted P-Frames: Y:2.8% UV:0.6% x265 [info]: Weighted B-Frames: Y:5.6% UV:0.2% x265 [info]: consecutive B-frames: 13.6% 1.0% 2.4% 9.0% 3.2% 7.3% 3.9% 24.4% 5.8% 4.8% 4.0% 14.9% 5.6% encoded 30212 frames in 5669.34s (5.33 fps), 21730.49 kb/s, Avg QP:16.97 Edit: GCC MediaInfo and VS MediaInfo. Both has zone-count=5 Last edited by StvG; 20th June 2019 at 03:11. |
|
![]() |
![]() |
![]() |
#6873 | Link | |
Moderator
![]() Join Date: Jan 2006
Location: Portland, OR
Posts: 2,984
|
Quote:
So, right behavior, wrong error message. |
|
![]() |
![]() |
![]() |
#6874 | Link | ||
Registered User
Join Date: Feb 2007
Posts: 86
|
Quote:
And now I reallize that with Main 10 444... a) ... the contrast is too high in VLC b) ... the video won't play at all in Windows Media Player c) ... while it works well in Kodi and Zoom Player. ![]() |
||
![]() |
![]() |
![]() |
#6875 | Link |
German doom9/Gleitz SuMo
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 5,968
|
x265 3.1+2-b36c03e4e771 (MSYS2, GCC 9.1.0)
New options / changes: Code:
--[no-]field Enable or disable field coding. Default disabled --[no-]early-skip Enable early SKIP detection. Default enabled --max-merge <1..5> Maximum number of merge candidates. Default 3 --limit-refs <0|1|2|3> Limit references per depth (1) or CU (2) or both (3). Default 1 --[no-]b-intra Enable intra in B frames in veryslow presets. Default enabled --[no-]fades Enable detection and handling of fade-in regions. Default disabled --max-cll <string> Specify content light level info SEI as "cll,fall" (HDR). --[no-]cll Emit content light level info SEI. Default enabled |
![]() |
![]() |
![]() |
#6877 | Link |
結城有紀
Join Date: Dec 2003
Location: NJ; OR; Shanghai
Posts: 622
|
Well I observed some performance regression so I'm keeping my GCC 8.3 for now. 1-3% slower with GCC 9.1 than 8.3 on my workstation.
It could be measurement error though. @Natty Yea 3.1 RC1+4 was not properly compiled. Will remove it soon. I've properly revised the mod branch and that should be fixed in 3.1 GA. Last edited by MeteorRain; 22nd June 2019 at 00:04. |
![]() |
![]() |
![]() |
#6879 | Link | |
Registered User
Join Date: Sep 2007
Posts: 3,983
|
Quote:
Any more info or discussion on this somewhere? Is it sort of like the --fade-compensate patch from x264 ? Is there anyway to modulate the strength ? 1) The setting is not currently reflected in the encoder settings (as read by mediainfo) 2) on a quick test, it seems to correctly detect and increase the bitrate in the fade area... But there seems to be a slight abrupt transition as it exits out of the fade, almost like "keyframe popping", when compared to without --fades . There is an I frame placed on the --fades encode, where it was a B on the without . Just one observation, one test, so I'll take do some other tests before before making any preliminary conclusions... |
|
![]() |
![]() |
![]() |
#6880 | Link | ||
German doom9/Gleitz SuMo
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 5,968
|
Quote:
Quote:
|
||
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|