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. |
![]() |
#6681 | Link | |
Registered User
Join Date: Nov 2009
Posts: 345
|
Quote:
|
|
![]() |
![]() |
![]() |
#6682 | Link | |
Registered User
Join Date: Aug 2010
Location: Athens, Greece
Posts: 2,901
|
Quote:
For all those SIMD instruction sets, we never had lower clocks not even for AVX1. AVX2 is even denser than all of those sets, but that doesn't mean that there is no architecture with no performance hit. Zen 2 could be the first one.
__________________
Win 10 x64 (19042.572) - Core i5-2400 - Radeon RX 470 (20.10.1) HEVC decoding benchmarks H.264 DXVA Benchmarks for all |
|
![]() |
![]() |
![]() |
#6683 | Link |
Registered User
Join Date: Feb 2007
Posts: 87
|
The frustrated encoder
Oh my.
Am I the only one having such a hard time encoding scenes with red light / red backgrounds? E.g. if a character turns on a red light, his face would turn suddenly totally blocky. Blue light is fine, green light also seems to be a bit bad, but red light is the devil. Looks like x265 (also x264 I think) detects the scene as super-dark and reduces the bitrate like crazy. I doubt that it's just a display thing as I can see the problem on my Dell display, my Benq display and my Samsung TV. By now I fix it by scanning every source for red scenes before encoding and setting zones like crazy via --zones startframe,endframe,b=1.5/startframe,endfr.... Super-tedious. I was shocked again today after I checked my encoding of Disney's Aladdin... Red sand with black dots -> blurred to unshaded flat areas. Red stone wall backgrounds -> bluuuurr. Looks like I need to double or triple the bitrate manually in these scenes just to keep the subjectively visible detail level compared to the non-reddish scenes. AQ3 won't help all too much either. The overall bitrate would get just too high if I want to retain the details that way. *sigh* Last edited by katzenjoghurt; 30th January 2019 at 23:26. |
![]() |
![]() |
![]() |
#6684 | Link | |
Moderator
![]() Join Date: Jan 2006
Location: Portland, OR
Posts: 3,460
|
Quote:
I wish x265 gave us a way to change the SAO parameters, so we could adjust how the smoothing works in different luma ranges. |
|
![]() |
![]() |
![]() |
#6685 | Link | |
Moderator
![]() Join Date: Jan 2006
Location: Portland, OR
Posts: 3,460
|
Quote:
I suspect a truly optimized x265 would actually have different ASM depending on processor generation due to this kind of stuff. |
|
![]() |
![]() |
![]() |
#6686 | Link | |
Registered User
Join Date: Feb 2007
Posts: 87
|
Quote:
I tried again yesterday... the file size doubled and still I didn't really reach the quality I could achieve by defining zones manually. SAO might add to it... but the issue is also there with SAO disabled. In fact two of my past problems eventually seemed to come just from the lighting / red area issue. I wondered why Star Wars III gave me so much more trouble encoding than other Star Wars movies -> Answer: As Anakin turns evil here, the movie got a more reddish color coding. https://forum.doom9.org/showpost.php...postcount=6353 Here the problem was in fact the character's dark red hair: https://forum.doom9.org/showpost.php...6&postcount=11 With Aladdin I have the same issue now... it's dark red all over the place and super-hard to encode due to that. It's even a problem in bright scenes. Everything is crisp... and than there is this character wearing a dark red Fez. And the Fez is blocky and blurry. |
|
![]() |
![]() |
![]() |
#6689 | Link | |
Moderator
![]() Join Date: Jan 2006
Location: Portland, OR
Posts: 3,460
|
Quote:
Trying the chroma offsets is also a great idea, at least for those scenes. So glad to have —zones! |
|
![]() |
![]() |
![]() |
#6690 | Link |
Registered User
Join Date: Feb 2007
Posts: 87
|
I'm giving up... crqpoffs and its brother also didn't work wonders. The bitrate went up... but even at the maximum of -12 it still didn't reach a detail retention level I liked.
And aq-mode 3 didn't work out for me as well... I went as far as setting aq-strength from 1 to 5, ultimately with a crf of 33 (~6000kbps) but... no. If someone is out for a challenge... grab Aladdin and try to bring it down to a 5000kbps encoding without totally smeared red backgrounds. You'll start to hate the ladies at the window at 0:07:19 - 00:07:24. ![]() Personally I'll go on with zones... It'll take hours but it will work in the end. |
![]() |
![]() |
![]() |
#6691 | Link | |
Registered User
Join Date: Dec 2002
Location: Region 0
Posts: 1,376
|
Quote:
|
|
![]() |
![]() |
![]() |
#6693 | Link |
Moderator
![]() Join Date: Jan 2006
Location: Portland, OR
Posts: 3,460
|
Ah. I suggest slower as the fastest preset that really starts exercising HEVC’s more unique features. I might throw in --tskip to see if that might help this weird case. It can sometimes help with sharp and weird edges.
Also, if you have a target file size and are comparing different encoder settings, you really should be using 2-pass VBR. It’s really hard to compare features when both output AND file size is changing. Lastly, Are we sure that negative values reduce chroma QP? I had it in my head it was the other way around. But I rarely use that feature. |
![]() |
![]() |
![]() |
#6696 | Link |
Registered User
Join Date: Dec 2014
Posts: 236
|
Ok... give up on Dolby Vision encoding now. Question is. How to encode my first HDR10+ bluray with x265 to preserve HDR10+? Can HDR10+ be played from MKV? Or must be m2ts?
__________________
AMD Ryzen 9 3950X, 32GB DDR4-3200 CL16, RTX 2070, 1TB NVMe SSD, 56TB NAS |
![]() |
![]() |
![]() |
#6697 | Link |
Registered User
Join Date: Oct 2001
Location: Germany
Posts: 6,200
|
@jlpsvk: What do you use for playback on a pc? (For reencoding HDR-10+ data: 1. extract meta data using hdr10plus_parser 2. reencode with x265 while specifying the extracted data 3. multiplex to the container of your choice)
|
![]() |
![]() |
![]() |
#6699 | Link |
Life looks better in UHD
Join Date: Jun 2003
Location: Notts, UK
Posts: 11,753
|
Do you have an HDR10+ compatible TV too?
__________________
| I've been testing hardware media playback devices and software A/V encoders and decoders since 2001 | My Network Layout & A/V Gear |
|
![]() |
![]() |
![]() |
#6700 | Link |
Registered User
Join Date: Dec 2014
Posts: 236
|
yes i have.
![]() Should I use --dhdr10-opt too??? can i crop?
__________________
AMD Ryzen 9 3950X, 32GB DDR4-3200 CL16, RTX 2070, 1TB NVMe SSD, 56TB NAS Last edited by jlpsvk; 3rd February 2019 at 21:42. |
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|