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. |
|
![]() |
|
Thread Tools | Search this Thread | Display Modes |
![]() |
#41 | Link |
Pig on the wing
Join Date: Mar 2002
Location: Finland
Posts: 5,673
|
SAO had not been touched at all in a long time in code so I would keep it disabled if that's what you did earlier.
__________________
And if the band you're in starts playing different tunes I'll see you on the dark side of the Moon... |
![]() |
![]() |
![]() |
#44 | Link | ||
Registered User
Join Date: Jan 2019
Location: Russia
Posts: 105
|
I have some wiered green artifacts that appear in various places. I tried different settings (also --aud helps a lot) and even clean Preset Slow, but they are still there. I don't understand where is the problem.
--cbqpoffs -3 --crqpoffs -3 didn't help Left - source | Right - encode (both tonemapped with MadVR) ![]() ![]() My settings Quote:
Quote:
Last edited by redbtn; 20th October 2019 at 17:42. |
||
![]() |
![]() |
![]() |
#46 | Link |
Registered User
Join Date: Jan 2019
Location: Russia
Posts: 105
|
Vapoursynth. I did some more tests and it seems like there is not enough bitrate for I-frames. Because I compared encoded I-frame vs original P-frame and with bitrate 160000kb/s color is right, but with bitrate 70000kb/s it's wrong. I'm a little confused
Last edited by redbtn; 21st October 2019 at 11:20. |
![]() |
![]() |
![]() |
#47 | Link | |
Pig on the wing
Join Date: Mar 2002
Location: Finland
Posts: 5,673
|
Quote:
The specs say max rate at 160000 kbps anyway.. https://en.wikipedia.org/wiki/High_E...ers_and_levels
__________________
And if the band you're in starts playing different tunes I'll see you on the dark side of the Moon... Last edited by Boulder; 22nd October 2019 at 06:19. |
|
![]() |
![]() |
![]() |
#48 | Link | |
Registered User
Join Date: Jan 2019
Location: Russia
Posts: 105
|
Quote:
VBV buffer = 160000 always. 4K encode Last edited by redbtn; 22nd October 2019 at 10:32. |
|
![]() |
![]() |
![]() |
#49 | Link |
Pig on the wing
Join Date: Mar 2002
Location: Finland
Posts: 5,673
|
Have you tried raising the aq-strength substantially, like to 1.5 - 2.0? Or mode 1 at the default?
All in all, I think those issues should also be posted in the x265 issue tracker along with samples.
__________________
And if the band you're in starts playing different tunes I'll see you on the dark side of the Moon... |
![]() |
![]() |
![]() |
#50 | Link | |
Registered User
Join Date: Jan 2019
Location: Russia
Posts: 105
|
Quote:
I don't know actually, maybe it's normal, cuz this areas is small and it visible only by comparing frames. But I'd like to that 4k encode at 22-24mb bitrate doesn't have colors issues. Last edited by redbtn; 22nd October 2019 at 11:27. |
|
![]() |
![]() |
![]() |
#51 | Link |
Pig on the wing
Join Date: Mar 2002
Location: Finland
Posts: 5,673
|
I think those are quite typical "artifacts" of x265 encoding. I was just thinking that AQ can affect such things because it is shifting bits inside the frame. Lowering qg-size to 16 could also change things.
By the way, hdr-opt nullifies your settings regarding the chroma QP offsets so it won't help.
__________________
And if the band you're in starts playing different tunes I'll see you on the dark side of the Moon... Last edited by Boulder; 22nd October 2019 at 12:41. |
![]() |
![]() |
![]() |
#52 | Link | |||
Registered User
Join Date: Jan 2019
Location: Russia
Posts: 105
|
Quote:
I read the docs and it seems to me that raising aq-strenght give more bits to flat areas. Quote:
Quote:
Last edited by redbtn; 22nd October 2019 at 13:27. |
|||
![]() |
![]() |
![]() |
#53 | Link |
Pig on the wing
Join Date: Mar 2002
Location: Finland
Posts: 5,673
|
A bigger value should shift bits to less complex blocks. Of course, it would be useful to test drastic changes to both directions and see if there is any effect. Then you know if that is the answer to your issue or if it's something else like the psy options.
__________________
And if the band you're in starts playing different tunes I'll see you on the dark side of the Moon... |
![]() |
![]() |
![]() |
#54 | Link |
Moderator
![]() Join Date: Jan 2006
Location: Portland, OR
Posts: 4,653
|
There was a presentation on optimization of x265 at SMPTE yesterday, as part of the Compression track I chaired.
A couple of specific optimizations available in 3.2 were called out. First, --selective-sao 3 only applies SAO for I and P frames, but delivers almost all the potential quality benefit of SAO with a ~4% speedup. This follows general literature that SAO isn't helpful with bi-prediction. I wouldn't be surprised to see that added to --preset slower down the road. Second, using --rd 4 and --dynamic-rd 3 instead of --rd 6 for CRF with VBV gives full rd 6 quality at peaks, at the cost of slightly higher bitrates (but similar quality) when CRF instead of VBV is the limiting factor. Speedup is estimated at ~9%, but obviously will vary based on how often the VBV cap is the constraint. |
![]() |
![]() |
![]() |
#55 | Link |
Registered User
Join Date: Jan 2019
Location: Russia
Posts: 105
|
Thank you benwaggoner for interesting information!
But, there is something wrong with HDR encodes. Because, I made a comparison. 8bit SDR (tonemapped with script) versus 10bit HDR (tonemapped after encode with the same script) versus 8bit SDR x264 (same script). x264 SDR looks very good. x265 SDR looks even better! No problem at all. x265 HDR looks bad. Not transparent encode with color issues that I described above. All encodes at same bitrate. What I'm doing wrong? I'd like to know how to do good HDR encode. |
![]() |
![]() |
![]() |
#56 | Link | |
Pig on the wing
Join Date: Mar 2002
Location: Finland
Posts: 5,673
|
Quote:
EDIT: I think you mean --selective-sao 2? Option 3 enables SAO for all reference frames.
__________________
And if the band you're in starts playing different tunes I'll see you on the dark side of the Moon... Last edited by Boulder; 23rd October 2019 at 07:05. |
|
![]() |
![]() |
![]() |
#57 | Link | |
Lost my old account :(
Join Date: Jul 2017
Posts: 321
|
Quote:
|
|
![]() |
![]() |
![]() |
#58 | Link | |||
Registered User
Join Date: Jan 2019
Location: Russia
Posts: 105
|
Quote:
VapourSynth R48 RC1 (pipeline vspipe.exe) x265 3.2+7 by Barough https://forum.doom9.org/showthread.p...94#post1887694 Simple x264/265 Launcher 2.94 https://github.com/lordmulder/Simple...ncher/releases Frame № 37 Screens https://gofile.io/?c=FDrVMt (SDR screen is tonemapped source encoded with the same setting exclude HDR setting) Tonemap.dll https://gofile.io/?c=Pl4Pmj The best I could do is --aq-mode 1 --aq-strength 0.8 --cbqpoffs -3 --crqpoffs -3 Quote:
Quote:
Last edited by redbtn; 23rd October 2019 at 13:53. |
|||
![]() |
![]() |
![]() |
#59 | Link | ||
Moderator
![]() Join Date: Jan 2006
Location: Portland, OR
Posts: 4,653
|
Quote:
Quote:
Last edited by benwaggoner; 23rd October 2019 at 22:19. Reason: fixed quoting |
||
![]() |
![]() |
![]() |
#60 | Link | |
Moderator
![]() Join Date: Jan 2006
Location: Portland, OR
Posts: 4,653
|
Quote:
Code:
--preset slower --hdr --hdr-opt Level 5.1 has maxrate/bufsize limits of 40000, not 160000. It appears you've not set CRF OR bitrate, which means it's being encoded at the default CRF, which is quite high. If you're aiming for excellent quality, I'd start with 18 and iterate from there. --hdr-opt will tweak the chroma QPs better than just setting the offsets. And if you didn't set HDR, you didn't get HDR metadata, and the video is likely playing back as if it had SDR values, which would look terrible! And don't set --chromaloc unless you've actually changed the chroma location. If you DID change that, let me know what tool you used to do it! Also, where did you get your MaxCLL and MaxFALL values? A MaxFALL of 900 suggest at least one blindingly bright frame, and no consumer TV available can actually display a MaxCLL of 3200 nits. Not that content doesn't get made that way sometimes, but I'd definitely investigate the content to make sure something didn't go horribly wrong. |
|
![]() |
![]() |
![]() |
Tags |
parameters, presets, settings, x265 |
Thread Tools | Search this Thread |
Display Modes | |
|
|