Playing in HDR but recording and editing in another format - DaVinci Resolve

Associate
Joined
26 Feb 2022
Posts
679
Location
UK
Apologies if this is in the wrong area of the forum, wasn't sure where best to place it. Interested to know if anyone else has had a similar experience, with HDR/OLED's becoming more of a regular staple in setups now.

I replaced a multi monitor setup a couple years back with a single OLED TV from LG (purchased before they released the 42" unfortunately). From a gaming/media perspective it's been excellent, stunning colours etc in HDR as I have become accustomed to with OLED. However I have recently stumbled across an unintentional issue I have created.

Various members in my family, including myself from time to time, use my setup for video capture/editing (4090 and i9-12900K etc, so makes sense). Previously they never have any issues. However my son has recently run into a problem. As mentioned, this is a single PC & monitor setup with no capture card or console attached, all games are played on the PC and captured on same said PC. When my son PC games on it he will have HDR activated, which looks great. At first OBS was capturing washed out colours when doling this, however this was easily rectified with a few settings tweaks in OBS, which can now happily capture in HDR. We've tried uploading this raw output footage to YouTube and watching it on other devices and it looks how we would expect, not washed out etc.

However the problem he then encountered is the fact that DaVinci Resolve doesn't allow for HDR footage to be simply uploaded into it - well you can upload it but it will appear washed out etc, as HDR won't activate. After some Googling last night it would appear that most people who use OLED's for colour grading use them as a secondary monitor and pass the image through a monitoring device, such as the Blackmagic DeckLink Mini Monitor 4K, in a PCIE slot - this then allows them to edit the footage on DaVinci Resolve on their normal non-HDR monitor but have the image constantly showing on the OLED, allowing them to colour grade correctly for HDR.

Is there a recommended workflow for this style setup? For example, can he game in HDR but capture it in some other format, then edit/colour code said footage in DaVinci Resolve without HDR on?

Ideally I'd prefer to keep the setup as one monitor, as for everything else it functions fantastically :). However if needed I don't mind making changes to the setup if required, as multiple people would benefit from it.
 
Last edited:
If you just want to convert a HDR video to non-HDR so you can edit it etc, you can convert it using ffmpeg. This site seems a good starting point.


ffmpeg is an amazing bit of software, I believe most video editors/encoders use it in some form of another under the hood. I am in the process of messing about with it myself for other stuff and know that if you want to tweak the command suggested on that website, then these are a couple of parameters you may want to change:

Change libx265 to libx264 if you want the output file to be encoded in H.264 rather than H.265/HEVC, will result in a bigger filesize. H.264 will play on anything, whereas H.265 may need to be transcoded by the playing device.
Edit: If you have an Nvidia gpu then can replace libx265/libx264 with hevc_nvenc/h264_nvenc respectively and will encode much much faster.

the crf value controls the output quality. The default value is 23, with lower numbers equating to higher quality. He has 22 in his command on the website for slightly higher quality than default. Sensible values are from 18 (effectively lossless) to 30something.

The zscale bit in the command is the magic bit to tone map from HDR to SDR. That is still beyond me what I do, but give it a go. You should be able to capture in HDR, then convert it with this command, then load it into an editor. You can't get it back into HDR with this however. That sounds like it would need that complicated set up.

If you do it and you don't get any sound in the output video, then add " -c:a copy" after "-crf 22", as I am not sure if the command on the website will copy the sound by default.
 
Last edited:
Back
Top Bottom