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. |
![]() |
#9121 | Link |
RipBot264 author
Join Date: May 2006
Location: Poland
Posts: 7,791
|
Solution is Simple. --ctu 16 for SD , --ctu 32 for HD/FHD and --ctu 64 for UHD.
__________________
Windows 7 Image Updater - SkyLake\KabyLake\CoffeLake\Ryzen Threadripper |
![]() |
![]() |
![]() |
#9122 | Link |
Pig on the wing
Join Date: Mar 2002
Location: Finland
Posts: 5,673
|
I tried encoding one track from a Dolby UHD test disc to see if I can make Dolby Vision work on my TV and to test if it falls back to HDR10 when played in Kodi. I extracted the RPU using the demuxing script here in the forum and fed it to the encoder.
With Code:
c:\x265\x265.exe --input inputfile.avs --input-depth 16 --dither --sar 1:1 --profile main10 --rc-lookahead 40 --min-keyint 5 --keyint 480 --splitrd-skip --colorprim 9 --transfer 16 --colormatrix 9 --master-display "G(13250,34500)B(7500,3000)R(34000,16000)WP(15635,16450)L(40000000,50)" --max-cll "1000,355" --frames 3576 --chromaloc 2 --hdr10 --hdr10-opt --repeat-headers --dolby-vision-profile 8.1 --dolby-vision-rpu "rpu.bin" --preset slower --crf 16 --output "dolby_test.hevc" Dolby Vision requires VBV settings to enable HRD. Dolby Vision RPU count is greater than frame count in x265. Well, I checked and the RPU is ok. Adding --vbv-bufsize 999999999 --vbv-maxrate 999999999, I got the encode going so the complaint about the RPU file is a bug. The encode ran at Level 8.5 ![]() My question is: is VBV really necessary? Trying to add --no-hrd didn't do any good. I was thinking of patching the thing to skip that check if it's not needed. I know that I don't need it for my use and have never set it. I could encode normally and just inject the RPU afterwards, but it would be easier and less diskspace consuming to do everything in one go.
__________________
And if the band you're in starts playing different tunes I'll see you on the dark side of the Moon... |
![]() |
![]() |
![]() |
#9124 | Link | |
Formally known as .......
Join Date: Sep 2021
Location: On a need to know basis.
Posts: 835
|
Quote:
__________________
This can be Very "TeDiouS".. Long term RipBot264 user. Ryzen 9 7950X Intel i9-13900KF Ryzen 9 5950X Ryzen 9 5900X Ryzen 9 3950X Link to RB v1.27.0 |
|
![]() |
![]() |
![]() |
#9125 | Link | ||
Pig on the wing
Join Date: Mar 2002
Location: Finland
Posts: 5,673
|
Quote:
Quote:
__________________
And if the band you're in starts playing different tunes I'll see you on the dark side of the Moon... |
||
![]() |
![]() |
![]() |
#9126 | Link | |
Registered User
Join Date: Jan 2019
Location: Canada
Posts: 565
|
Quote:
The code can be added back with this commit: https://github.com/quietvoid/x265/co...a35be4377e390e
__________________
LG C2 OLED | GitHub Projects |
|
![]() |
![]() |
![]() |
#9127 | Link | |
Moderator
![]() Join Date: Jan 2006
Location: Portland, OR
Posts: 4,653
|
Quote:
![]() I think it's always a good idea to set VBV to ensure compatibility with a given decoder. Just use --level-idc 5.1 and it will auto set reasonable values broadly compatible with UHD BD, Smart TVs, HW GPU decode, etc. 5.1 has a 40 Mbps peak, which is fine for 2160p24 content. |
|
![]() |
![]() |
![]() |
#9128 | Link |
Registered User
Join Date: Oct 2002
Location: France
Posts: 2,266
|
I checked the commit to put back "Consecutive B-Frames" in my moded version, unfortunately, there is big changes, and i don't realy know where and how put the histogram increment count...
__________________
My github. |
![]() |
![]() |
![]() |
#9129 | Link | |
Registered User
Join Date: Sep 2021
Posts: 131
|
Quote:
https://github.com/Patman86/x265-Mod-by-Patman/releases |
|
![]() |
![]() |
![]() |
#9130 | Link |
German doom9/Gleitz SuMo
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,696
|
New uploads: x265 3.5+103-8f18e3ad3 / x265 3.5+104-47c18bf12 (might be identical, patch counting mistake or different branches?)
[Windows][GCC 13.1.0][32/32XP/64 bit] 8bit+10bit+12bit |
![]() |
![]() |
![]() |
#9131 | Link |
Pig on the wing
Join Date: Mar 2002
Location: Finland
Posts: 5,673
|
I have a simple question regarding frametypes and chapter marks when using a qpfile. Does a chapter mark need an I-frame or is an i-frame enough? I'm using open GOP so setting 'K' in the qpfile would place i-frames in the encode.
__________________
And if the band you're in starts playing different tunes I'll see you on the dark side of the Moon... |
![]() |
![]() |
![]() |
#9132 | Link |
German doom9/Gleitz SuMo
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,696
|
An IDR frame (Intra frame with Decoder Reset) is preferable. When you jump to an intermediate I frame which is not IDR (e.g. to encode a single frame very different from the surrounding video), you will get decoding artifacts from predictions skipping this I frame missing a reference.
|
![]() |
![]() |
![]() |
#9133 | Link |
21 years and counting...
Join Date: Oct 2002
Location: Germany
Posts: 716
|
Oh darn. Thanks for mentioning that. Now I know why my players always jump a little before or after the specified chapter point. MeGUI sets 'K' as default for keyframes when creating qpfiles. I guess I'll better change those manually to 'I' from now on.
![]() |
![]() |
![]() |
![]() |
#9136 | Link |
Registered User
Join Date: Feb 2007
Location: Sweden
Posts: 474
|
x265 v3.5+108
https://www.mediafire.com/file/h8dmiufrc8al9oc/
__________________
Do NOT re-post any of my Mediafire links. Download & re-host the content(s) if you want to share it somewhere else. |
![]() |
![]() |
![]() |
#9137 | Link |
Registered User
Join Date: Feb 2007
Location: Sweden
Posts: 474
|
x265 v3.5+109
https://www.mediafire.com/file/ix5f9yr3fes7tpb
__________________
Do NOT re-post any of my Mediafire links. Download & re-host the content(s) if you want to share it somewhere else. |
![]() |
![]() |
![]() |
#9138 | Link |
Registered User
Join Date: Feb 2007
Location: Sweden
Posts: 474
|
x265 v3.5+110
https://www.mediafire.com/file/qbv4h1a20vxwf5i
__________________
Do NOT re-post any of my Mediafire links. Download & re-host the content(s) if you want to share it somewhere else. |
![]() |
![]() |
![]() |
#9140 | Link | |
Moderator
![]() Join Date: Jan 2006
Location: Portland, OR
Posts: 4,653
|
Quote:
With --ctu 16 I suppose you could try --merange 41, which is 16 below the typical default of 57. It'd be a little faster, and depending on content might not raise bitrate or harm quality materially. |
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|