Hi friends!
As you may know, getting correct tonemapping for HDR content is really hard. Sourcefiles that have been mastered in BT.2020 or HDR (which techincally is BT.2100, but the color spaces themselves are the same) are stubborn, and just look off in DOM.
I would like to lose as little detail possible. So, since P3 is the standard, I might as well convert Rec2020 directly to P3, with FFmpeg for example. Right?
My question is: is this possible? And if yes (I am certain it is), how? Could somebody fluent in FFmpeg provide me with a command that transforms Rec2020 to P3; only copying the audio tracks as they are and not changing them. I would like to keep almost everything intact.
I know that this post discusses Rec709 vs P3, and the conclusion is that basically, Rec709 should run just fine...:
https://dcpomatic.com/forum/viewtopic.php?t=1935
"It is NOT necessary to grade in P3 in order to land on a P3 projector. DCP-o-matic will do the necessary transformation from rec.709 to X'Y'Z', and the projector will just perform it's standard X'Y'Z'->P3 transformation, without knowing wether the original source was rec.709 or P3."
, but since my target is in Rec2020 and not in Rec709, I thought that the logical move on my side would be to go down a single level, not two. P3 isn't as big as Rec2020, but the difference compared to Rec2020 vs Rec709 isn't as big.
Thanks for anyone in advance
Conversion from Rec2020 to P3
-
- Posts: 125
- Joined: Mon Jan 17, 2022 5:13 pm
- Location: Montreal, Canada
Re: Conversion from Rec2020 to P3
Before submitting the HDR file to DOM, I use with FFmpeg:
AFAIK, the colors stay in Rec.2020, but the HDR (the luma part) is brought to SDR. I don't pretend it's THE solution, but in my quest for HDR to DCP, that's where I am presently.
https://dcpomatic.com/forum/viewtopic.php?t=2133
Code: Select all
ffmpeg -i INFILE -map 0:0 -map 0:1 -vf zscale=t=linear,tonemap=hable:desat=15,zscale=p=2020:t=2020_10:m=2020_ncl -c:v hevc_videotoolbox -b:v 70000k -profile:v main10 -c:a copy OUTFILE
https://dcpomatic.com/forum/viewtopic.php?t=2133