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.

Domains: forum.doom9.org / forum.doom9.net / forum.doom9.se

 

Go Back   Doom9's Forum > Announcements and Chat > General Discussion

Reply
 
Thread Tools Search this Thread Display Modes
Old 14th January 2026, 02:59   #21  |  Link
Z2697
Registered User
 
Join Date: Aug 2024
Location: Between my two ears
Posts: 951
Reading is a hard to learn skill it seems.
Z2697 is offline   Reply With Quote
Old 16th January 2026, 03:17   #22  |  Link
jay123210599
Registered User
 
Join Date: Apr 2024
Posts: 501
@Z2697 @GeoffreyA

All right, I'm sending you my HDR video. Use Placebo on StaxRip and see if you could fix the error.

https://www.mediafire.com/file/fn71j...2/HDR.mkv/file
jay123210599 is offline   Reply With Quote
Old 16th January 2026, 12:42   #23  |  Link
GeoffreyA
Donor
 
Join Date: Jun 2024
Location: South Africa
Posts: 671
I tried it and this is what I found. You've got to double-click on Placebo in the filter list on the left, then uncomment the following lines:

Code:
ConvertToYUV420()
ConvertBits(10)
However, x265 still fails because it thinks it is receiving HDR input. So, open x265 options. Under "Input," remove all Dolby Vision settings, such as the profile and RPU. Then, under "VUI," set Colorprim, Transfer, and Colormatrix to BT.709. Lastly, under "VUI 2," remove all HDR light settings, setting CLL and FALL to 0, deselecting "Emit content light," and removing Master Display information. If you know the correct x265 profile, level, and tier, set it under "Basic." 10-bit 1080p SDR content should be Main10, Level 4.1, High Tier.

All in all, it should work, but I think it's simpler to use FFmpeg directly. Generally, changes one makes are sent downstream to the rest of the pipeline, making it automatic.

Last edited by GeoffreyA; 16th January 2026 at 12:47.
GeoffreyA is offline   Reply With Quote
Old 16th January 2026, 13:49   #24  |  Link
jay123210599
Registered User
 
Join Date: Apr 2024
Posts: 501
Quote:
Originally Posted by GeoffreyA View Post
I tried it and this is what I found. You've got to double-click on Placebo in the filter list on the left, then uncomment the following lines:

Code:
ConvertToYUV420()
ConvertBits(10)
However, x265 still fails because it thinks it is receiving HDR input. So, open x265 options. Under "Input," remove all Dolby Vision settings, such as the profile and RPU. Then, under "VUI," set Colorprim, Transfer, and Colormatrix to BT.709. Lastly, under "VUI 2," remove all HDR light settings, setting CLL and FALL to 0, deselecting "Emit content light," and removing Master Display information. If you know the correct x265 profile, level, and tier, set it under "Basic." 10-bit 1080p SDR content should be Main10, Level 4.1, High Tier.

All in all, it should work, but I think it's simpler to use FFmpeg directly. Generally, changes one makes are sent downstream to the rest of the pipeline, making it automatic.
I just uncommented those lines and that worked, but I have one more problem. When playing the outputted video in PotPlayer, the video still had the HDR tag even though it has been converted to SDR. How do I change that?

https://imgbox.com/qqC31GFI
jay123210599 is offline   Reply With Quote
Old 16th January 2026, 13:54   #25  |  Link
GeoffreyA
Donor
 
Join Date: Jun 2024
Location: South Africa
Posts: 671
As above, go into x265 options, removing everything related to Dolby Vision and HDR, and importantly, setting the colour matrix, transfer, and primaries to BT.709. That should do it. In MediaInfo, there should be no sign of BT.2020, DV, or anything of that sort. If the problem persists, post the MediaInfo properties of the encoded file.
GeoffreyA is offline   Reply With Quote
Old 16th January 2026, 15:14   #26  |  Link
manolito
Registered User
 
manolito's Avatar
 
Join Date: Sep 2003
Location: Berlin, Germany
Posts: 3,138
Hi,

here is my simple version which does not use LibPlacebo (my old Thinkpad does not support it). In my upload there are 3 different versions using DGHDRtoSDR, plus 2 zimg based versions. My target format is X264, because it is easier to use and in my view it offers better quality.

Here is the link: (only valid for 3 days)
https://we.tl/t-j17Hrq58fP


Cheers
manolito



EDIT:
Sorry for the typo in the readme. In the second line of cource I mean "Video" and not "Audio"

Last edited by manolito; 16th January 2026 at 15:24.
manolito is offline   Reply With Quote
Old 16th January 2026, 17:01   #27  |  Link
jay123210599
Registered User
 
Join Date: Apr 2024
Posts: 501
Can SDR videos have color primaries and matrix coefficients of BT.2020?
jay123210599 is offline   Reply With Quote
Old 16th January 2026, 18:18   #28  |  Link
GeoffreyA
Donor
 
Join Date: Jun 2024
Location: South Africa
Posts: 671
Quote:
Originally Posted by jay123210599 View Post
Can SDR videos have color primaries and matrix coefficients of BT.2020?
I don't think the matrix and primaries can be, but perhaps the BT.2020 transfer function. At any rate, it's advisable to stick with 709 for all three.
GeoffreyA is offline   Reply With Quote
Old 17th January 2026, 22:05   #29  |  Link
FranceBB
Broadcast Encoder
 
FranceBB's Avatar
 
Join Date: Nov 2013
Location: Royal Borough of Kensington & Chelsea, UK
Posts: 3,377
Also, given that it's not guaranteed that libplacebo has updated the frame properties, make sure they're all set to BT709 now in Avisynth so that anything downstream will know.

Put those at the end of the script:

Code:
#Remove bad frame properties
propclearall()

#Populate frame properties correctly
propSet("_ColorRange", 1) #Limited TV Range
propSet("_Matrix", 1) #BT709
propSet("_Transfer", 1) #BT709
propSet("_Primaries", 1) #BT709
FranceBB is offline   Reply With Quote
Reply

Tags
colorspace, dolby vision, hdr to sdr, staxrip, ycbcr

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 09:11.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.