Page 1 of 1

Exporting in HDR to youtube

PostPosted: Mon Aug 08, 2022 3:41 pm
by kephren
Hi guys,

I've follow a lot of different guide on youtube on how to export an hdr capture from my elgato card and edit / reexport from Davinci, but each time i'm trying to do that, Youtube don't recognize my video in HDR. Do you guys have some tips for Davinci resolve 18?



System specs - Windows 11

Resolve version and Free/Studio - DaVinci Resolve> Davinci 18 build 35

Footage specs - https://ibb.co/JtQqRcc

Re: Exporting in HDR to youtube

PostPosted: Mon Aug 08, 2022 6:23 pm
by Mads Johansen
1) what does the second page in mediainfo say? (the one with the actual specifications from the file)

2) What are your timeline and export settings?

Re: Exporting in HDR to youtube

PostPosted: Mon Aug 08, 2022 7:58 pm
by Sven H
kephren wrote:Hi guys,

I've follow a lot of different guide on youtube on how to export an hdr capture from my elgato card and edit / reexport from Davinci, but each time i'm trying to do that, Youtube don't recognize my video in HDR. Do you guys have some tips for Davinci resolve 18?



System specs - Windows 11

Resolve version and Free/Studio - DaVinci Resolve> Davinci 18 build 35

Footage specs - https://ibb.co/JtQqRcc
HDR on youtube is quite a strange thing.
First of all, you need to use the correct codecs. there is a doc by google, that lists all requirements. something like DNxHR and ProRes 4444 is required if I remember correctly.

Secondly, it takes youtube some extra time to actually process the hdr file. You might only see the rec709 trim in the first minutes or sometimes hours. Their tonemappings on the other hand are not really visually pleasing tho.

Also you can only view the HDR version on certain devices. And it makes a difference if you are using the app or a browser.

I did some tests a while ago with my TV and it was quite buggy to actually get the result I wanted.

Re: Exporting in HDR to youtube

PostPosted: Wed Aug 10, 2022 5:53 am
by ZRGARDNE
These guys couldn't get HDR to work on YT either



Check back next year maybe?

Re: Exporting in HDR to youtube

PostPosted: Wed Aug 10, 2022 2:47 pm
by Jim Simon
This will trigger HDR on displays. I have no idea if it will work for YouTube.

HDR Setup.png
HDR Setup.png (34.15 KiB) Viewed 7425 times


HDR Deliver.png
HDR Deliver.png (67.9 KiB) Viewed 7425 times

Re: Exporting in HDR to youtube

PostPosted: Wed Aug 10, 2022 6:43 pm
by Mario Kalogjera
From what little I have tested, YouTube will gladly accept dnxhr with HDR metadata in .mov container, no need for embedding (only works with Nvidia GPU s AFAIK). It can take a long time though. Imagine how many videos they need to encode at the same time.

Sent from my Mi 9T using Tapatalk

Re: Exporting in HDR to youtube

PostPosted: Wed Aug 10, 2022 7:20 pm
by Andrew Kolakowski
Hmm?
Nvidia has nothing to do with DNxHR.
YouTube accepts few formats for HDR. As long as codec is supported by YT and you have MOV HDR metadata headers it all should be fine. It's MOV headers which YT reads in this case, codec is almost irrelevant (you need 10bit one though).
HDR for YT is nothing that difficult today.

Re: Exporting in HDR to youtube

PostPosted: Wed Aug 10, 2022 10:29 pm
by Edzel Yago
ZRGARDNE wrote:These guys couldn't get HDR to work on YT either



Check back next year maybe?


Actually we can consistently upload HDR - it's just some issues with Android devices that we're trying to iron out with YT.

This is the latest video we did in HDR:

Re: Exporting in HDR to youtube

PostPosted: Thu Aug 11, 2022 6:59 am
by Mario Kalogjera
Andrew Kolakowski wrote:Hmm?
Nvidia has nothing to do with DNxHR.
YouTube accepts few formats for HDR. As long as codec is supported by YT and you have MOV HDR metadata headers it all should be fine. It's MOV headers which YT reads in this case, codec is almost irrelevant (you need 10bit one though).
HDR for YT is nothing that difficult today.


I meant embedding in h265 only works with Nvidia encoder of course.

Sent from my Mi 9T using Tapatalk

Re: Exporting in HDR to youtube

PostPosted: Thu Aug 11, 2022 7:10 am
by Mario Kalogjera
Edzel Yago wrote:
Actually we can consistently upload HDR - it's just some issues with Android devices that we're trying to iron out with YT.

This is the latest video we did in HDR:


Xiaomi phones for one don't react correctly to YouTube HDR, they don't boost the brightness and screen acts bizarrely depending whether YT is used upright or full screen rotated, even though HDR is properly detected in YouTube clips.
What other issues with Android devices? Perhaps it's all Android phones that are at fault, not YouTube.


Sent from my Mi 9T using Tapatalk

Re: Exporting in HDR to youtube

PostPosted: Thu Aug 11, 2022 8:40 am
by Andrew Kolakowski
It will be out of your control and uploading format won’t change anything.
All what you can do is make sure YT sees properly your source as HDR.
It sounds like it has nothing to do with YT either but phone manufacturers.

Re: Exporting in HDR to youtube

PostPosted: Thu Aug 11, 2022 8:44 am
by Andrew Kolakowski
ZRGARDNE wrote:These guys couldn't get HDR to work on YT either



Check back next year maybe?


He is a drama queen as this is how he makes money.

Re: Exporting in HDR to youtube

PostPosted: Tue Apr 29, 2025 7:41 am
by psuwara
Just tried the MP4 with the H.265 Encoding, it worked fine.

When exporting, use the standard export with YouTube Preset. Set your Codec to H.265 and set your Encoding Profile to Main 4:2:2 10

Here's the result :

Re: Exporting in HDR to youtube

PostPosted: Tue Apr 29, 2025 12:35 pm
by mickspixels
psuwara wrote:Just tried the MP4 with the H.265 Encoding, it worked fine.

When exporting, use the standard export with YouTube Preset. Set your Codec to H.265 and set your Encoding Profile to Main 4:2:2 10

Here's the result :


That is not HDR. If it was it would have a little HDR badge at the bottom when viewed on a HDR monitor (such as the HDR preset on my XDR MacBook Pro). It is 4K SDR.

This is an old thread and is out of date. YouTube can display HDR video if you follow the guidance in exporting your HDR video in the correct format. However, it can take time for YouTube to generate the HDR version so maybe it will do that in due course if you have uploaded a proper HDR video. I'm guessing you haven't if you just used the YouTube Preset in Resolve.

The second video in the post by Edzel Yago above that says "This is the latest video we did in HDR" is real HDR and has the little HDR tag at the bottom if viewed on the correct monitor.

Re: Exporting in HDR to youtube

PostPosted: Tue Apr 29, 2025 5:35 pm
by Tom Stites
A few extra comments about uploading HDR content to YT or Vimeo.

For the last year or so, 90% of the personal content I produce is uploaded to YT or Vimeo in 4K HDR. My preferred export format from DVR Studio is UHD, h.265, 10-bit, 4:2:0, BT2020, ST2084 PQ. Both YT and Vimeo have no problem with this format.

I used to output the same but in Rec.2100 HLG, but found the colorimetry better when viewing on HDR iPhones and HDR TV's with the ST2084 PQ setting. The color seems better when viewing on SDR devices as well. About the only time I'll output BT.709 SDR content is to upload to something like FB or other site that doesn't support HDR.

Here is a screen shot of my typical settings when dealing with NRaw files from one of my cameras. With others, I might use CST's to deal with other types of input files if in a mixed source environment.

Image

https://1drv.ms/i/c/8094f411365de69d/Ecl-Igm--VhHmkcbaxzFmFgBZukS_L7j4AsSIQXutWjn3A?e=tZgeau

Hope this helps someone...it sure took me a while to get a handle on this!

Re: Exporting in HDR to youtube

PostPosted: Wed Apr 30, 2025 1:08 am
by ZRGARDNE
There is a known resolve bug where its metadata isn't correct for YT to accept the file as HDR



viewtopic.php?f=21&t=212751&p=1127183&hilit=hdr+youtube#p1127183

You need to run through FFMPEG and have it fix tagging

Andrew Kolakowski wrote:
You can "fix" those files with ffmpeg:
Code: Select all
fmpeg.exe -i C:\TestAsHDR.mp4 -bsf:v hevc_metadata=transfer_characteristics=16:colour_primaries=9:matrix_coefficients=9 -c copy  -movflags +write_colr C:\out.mov


This will add PQ flagging to your file.



No clue if it is fixed in V20

Re: Exporting in HDR to youtube

PostPosted: Wed Apr 30, 2025 3:06 am
by Tom Stites
ZRGARDNE wrote:There is a known resolve bug where its metadata isn't correct for YT to accept the file as HDR



viewtopic.php?f=21&t=212751&p=1127183&hilit=hdr+youtube#p1127183

You need to run through FFMPEG and have it fix tagging

Andrew Kolakowski wrote:
You can "fix" those files with ffmpeg:
Code: Select all
fmpeg.exe -i C:\TestAsHDR.mp4 -bsf:v hevc_metadata=transfer_characteristics=16:colour_primaries=9:matrix_coefficients=9 -c copy  -movflags +write_colr C:\out.mov


This will add PQ flagging to your file.



No clue if it is fixed in V20


I've never had a problem uploading HDR videos to YT in either HLG or PQ HDR files to YT or Vimeo going back at least to the later V18 versions. This on a Windows PC.

I'm currently running V20b2 and uploaded a total of 4 files today for some testing, 2 in HLG and 2 in ST2084 PQ and all were properly flagged as HDR by YT within a couple hours...often it may take 24 hours, but these were short clips. With Vimeo, they typically show as HDR in less than an hour.

Cheers!

Re: Exporting in HDR to youtube

PostPosted: Wed Apr 30, 2025 7:41 am
by mickspixels
ZRGARDNE wrote:There is a known resolve bug where its metadata isn't correct for YT to accept the file as HDR



viewtopic.php?f=21&t=212751&p=1127183&hilit=hdr+youtube#p1127183

You need to run through FFMPEG and have it fix tagging

Andrew Kolakowski wrote:
You can "fix" those files with ffmpeg:
Code: Select all
fmpeg.exe -i C:\TestAsHDR.mp4 -bsf:v hevc_metadata=transfer_characteristics=16:colour_primaries=9:matrix_coefficients=9 -c copy  -movflags +write_colr C:\out.mov


This will add PQ flagging to your file.



No clue if it is fixed in V20


There is no bug like this on Mac, Resolve Studio 19. Export as HDR H.265 using Resolve Color Management, Output Color Space as Rec2100 ST 2084. It takes a while (maybe a few hours) for YouTube to generate the HDR version but it works fine (also as Tom Stites says for Windows).

Re: Exporting in HDR to youtube

PostPosted: Thu May 01, 2025 1:08 am
by ZRGARDNE
mickspixels wrote:
There is no bug like this on Mac, Resolve Studio 19. Export as HDR H.265 using Resolve Color Management, Output Color Space as Rec2100 ST 2084. It takes a while (maybe a few hours) for YouTube to generate the HDR version but it works fine (also as Tom Stites says for Windows).


OP states they are on windows.

Re: Exporting in HDR to youtube

PostPosted: Thu May 01, 2025 4:24 am
by mickspixels
ZRGARDNE wrote:
mickspixels wrote:
There is no bug like this on Mac, Resolve Studio 19. Export as HDR H.265 using Resolve Color Management, Output Color Space as Rec2100 ST 2084. It takes a while (maybe a few hours) for YouTube to generate the HDR version but it works fine (also as Tom Stites says for Windows).


OP states they are on windows.


The original post is from 2022. The thread was resurrected by psuwara a few days ago and I don't see any mention of OS used. Tom Stites says he used Resolve ib Windows with no issue anyway so I would guess that the bug has been sorted now in any case.

Incidentally, the video posted by psuwara is now in HDR. It's got the little HDR badge when viewed on my Mac. Not clear if it was just YouTube taking its time to generate the HDR version or if psuwara posted a newer HDR version.

Re: Exporting in HDR to youtube

PostPosted: Wed Jun 18, 2025 5:37 am
by psuwara
mickspixels wrote:
psuwara wrote:Just tried the MP4 with the H.265 Encoding, it worked fine.

When exporting, use the standard export with YouTube Preset. Set your Codec to H.265 and set your Encoding Profile to Main 4:2:2 10

Here's the result :


That is not HDR. If it was it would have a little HDR badge at the bottom when viewed on a HDR monitor (such as the HDR preset on my XDR MacBook Pro). It is 4K SDR.

This is an old thread and is out of date. YouTube can display HDR video if you follow the guidance in exporting your HDR video in the correct format. However, it can take time for YouTube to generate the HDR version so maybe it will do that in due course if you have uploaded a proper HDR video. I'm guessing you haven't if you just used the YouTube Preset in Resolve.

The second video in the post by Edzel Yago above that says "This is the latest video we did in HDR" is real HDR and has the little HDR tag at the bottom if viewed on the correct monitor.



Dude, you're not even watching it on a HDR display... I'm watching the video right now on an XDR display in HDR.

Re: Exporting in HDR to youtube

PostPosted: Wed Jun 18, 2025 10:13 am
by mickspixels
psuwara wrote:
mickspixels wrote:
psuwara wrote:Just tried the MP4 with the H.265 Encoding, it worked fine.

When exporting, use the standard export with YouTube Preset. Set your Codec to H.265 and set your Encoding Profile to Main 4:2:2 10

Here's the result :


That is not HDR. If it was it would have a little HDR badge at the bottom when viewed on a HDR monitor (such as the HDR preset on my XDR MacBook Pro). It is 4K SDR.

This is an old thread and is out of date. YouTube can display HDR video if you follow the guidance in exporting your HDR video in the correct format. However, it can take time for YouTube to generate the HDR version so maybe it will do that in due course if you have uploaded a proper HDR video. I'm guessing you haven't if you just used the YouTube Preset in Resolve.

The second video in the post by Edzel Yago above that says "This is the latest video we did in HDR" is real HDR and has the little HDR tag at the bottom if viewed on the correct monitor.



Dude, you're not even watching it on a HDR display... I'm watching the video right now on an XDR display in HDR.


I'm watching on an XDR display too dude and it has its little HDR badge. When I made my post, it wasn't HDR, it was SDR and had a little SDR badge at the bottom. It presumably took YouTube time to produce the HDR version