HDR output

mmofilm2861 wrote on 12/22/2021, 3:43 AM

Hi There newbie to PRO X 13, coming over to from Resolve and years ago Vegas.

Has anybody been able to configure PRO X to make YouTube accept the HEVC mp4 as a HDR file.

Input files are in flog 10 bit

Movie setup to BT.2020

Output set up to BT.2020 10bit.

Can't find a good description for HDR other that it should be possible. What setting am I missing?

 

Comments

CubeAce wrote on 12/22/2021, 6:03 AM

@mmofilm2861

Hi and welcome to the user to user forums.

Looks fine so far but what are the settings in the export advanced section look like? (first image)

Have you looked up the YouTube upload requirements? Also the acceptable file types?

Then check the bit rates set in the program.

Are you a new YouTuber?

If so there are upload time limits to adhere to for a while.

Ray.

 

Windows 10 Enterprise. Version 22H2 OS build 19045.5737

Direct X 12.1 latest hardware updates for Western Digital hard drives.

Asus ROG STRIX Z390-F Gaming motherboard Rev 1.xx with Supreme FX inboard audio using the S1220A code. Driver No 6.0.8960.1 Bios version 1401

Intel i9900K Coffee Lake 3.6 to 5.1GHz CPU with Intel UHD 630 Graphics .Driver version Graphics Driver 31.0.101.2135 for 7th-10th Gen Intel® with 64GB of 3200MHz Corsair DDR4 ram.

1000 watt EVGA modular power supply.

1 x 250GB Evo 970 NVMe: drive for C: drive backup 1 x 1TB Sabrent NVMe drive for Operating System / Programs only. 1X WD BLACK 1TB internal SATA 7,200rpm hard drives.1 for internal projects, 1 for Library clips/sounds/music/stills./backup of working projects. 1x500GB SSD current project only drive, 2x WD RED 2TB drives for latest footage storage. Total 31TB of 10 external WD drives for backup.

ASUS NVIDIA GeForce RTX 3060 12GB. nVidia Studio driver version 572.60 - 3584xCUDA cores Direct X 12.1. Memory interface 192bit Memory bandwidth 360.05GB/s 12GB of dedicated GDDR6 video memory, shared system memory 16307MB PCi Express x8 Gen3. Two Samsung 27" LED SA350 monitors with 5000000:1 contrast ratios at 60Hz.

Running MMS 2024 Suite v 23.0.1.182 (UDP3) and VPX 14 - v20.0.3.180 (UDP3)

M Audio Axiom AIR Mini MIDI keyboard Ver 5.10.0.3507

VXP 14, MMS 2024 Suite, Vegas Studio 16, Vegas Pro 18, Vegas Pro 21,Cubase 4. CS6, NX Studio, Mixcraft 9 Recording Studio. Mixcraft Pro 10 Studio. CS6 and DXO Photolab 8, OBS Studio.

Audio System 5 x matched bi-wired 150 watt Tannoy Reveal speakers plus one Tannoy 15" 250 watt sub with 5.1 class A amplifier. Tuned to room with Tannoy audio application.

Ram Acoustic Studio speakers amplified by NAD amplifier.

Rogers LS7 speakers run from Cambridge Audio P50 amplifier

Schrodinger's Backup. "The condition of any backup is unknown until a restore is attempted."

mmofilm2861 wrote on 12/22/2021, 10:00 AM

I raised the bitrate to YouTubes recommendations, but it did not change anything. There are some metadata that needs to be set for HDR, but can't really figure out how to verify it. I will keep searching. I just prompted the forums to see if anybody had a workflow that I could copy. Thanks for the suggestions. Will post my settings if I get it to work.

Morten

sasiuk wrote on 12/22/2021, 10:36 AM

Hi Morten,

 

From all off my tests, VPX13 does not support export in HEVC / HDR

Just import is supported for UHD / HEVC / BT2020 / HDR / 4.2.0 / 10 bits

If you export in UHD / HEVC / BT2020 / 4.2.0 / 10 bits, lot off metadata are missing as:

Color primaries                          : BT.2020
Transfer characteristics                 : PQ
Matrix coefficients                      : BT.2020 non-constant
Mastering display color primaries        : Display P3
Mastering display luminance              : min: 0.0050 cd/m2, max: 1000 cd/m2

Add: no HDR, PQ or HLG option found in encoder settings.

 

Regards.

DéDé.

johnebaker wrote on 12/22/2021, 11:44 AM

@mmofilm2861

Hi Morten

As DéDé, @sasiuk, has commented HEVC HDR video is not supported by VPX 13 or Youtube which does, according to YT's supported formats list, support standard HEVC which VPX 13 can export.

However although you may get a HEVC video to upload, do be aware that it will be converted to various formats - h.264 being the most popular - in various resolutions as low as 240p to cater for different viewers Internet connection speeds and browser capabilities.

John EB
Forum Moderator

 

Last changed by johnebaker on 12/22/2021, 11:44 AM, changed a total of 1 times.

VPX 16, Movie Studio 2025, and earlier versions 2015 and 2016, Music Maker Premium 2024.

PC - running Windows 11 23H2 Professional on Intel i7-8700K 3.2 GHz, 16GB RAM, RTX 2060 6GB 192-bit GDDR6, 1 x 1Tb Sabrent NVME SSD (OS and programs), 2 x 4TB (Data) internal HDD + 1TB internal SSD (Work disc), + 6 ext backup HDDs.

Laptop - Lenovo Legion 5i Phantom - running Windows 11 24H2 on Intel Core i7-10750H, 16GB DDR4-SDRAM, 512GB SSD, 43.9 cm screen Full HD 1920 x 1080, Intel UHD 630 iGPU and NVIDIA GeForce RTX 2060 (6GB GDDR6)

Sony FDR-AX53e Video camera, DJI Osmo Action 3 and Sony HDR-AS30V Sports cams.

mmofilm2861 wrote on 12/22/2021, 1:52 PM

Thanks for all Your input, happy to see that there is a such a helpful and well informed community around VPX.

I can confirm that the VPX HEVC output BT.2020 10bit uploads to YouTube just fine, and the grade made in VPX also looks as expected.

It was my oversight that YouTube actually did not support HEVC HDR but only H.264 HDR. So guess I will try some ffmpeg magic to get that HDR icon to light up. But that is outside the scope of this forum, so thanks.

Just trying to see how far I can push the quality of my log footage.

Reason for getting the VPX license, is that I start regularly to hit the limits of the free version of Resolve and with the non-profit occasionally video work I do (shooting mostly stills), it simply cannot warrant a full Resolve license. And as I got a previous Sony license, I was able to upgrade to VPX. (Made one, error though, upgraded to a studio license first, just to figure out that most of the features I would like to have where actually in VPX).

Did not take me to long to get the bearings around VPX, seem pretty straight forward. Resolve is sometimes to much of a good thing, (requiring to much time to watch endless tutorials), so the idea was also the get a more simple tool, as my workflow with a single mirrorless cam is shoot -> cut, correct, grade -> render.

The more advanced design stuff I do in Affinity Designer/Photo and the animation in Blender and mix it up in the NLE.

/Morten

 

browj2 wrote on 12/22/2021, 6:03 PM

@mmofilm2861

Hi Morten and welcome to the community,

I am curious to know if Affinity works as an external image editor with VPX. Did you try changing the external image editor in Program Settings, Folders to Affinity? Does it work?

I use PaintShop Pro and I alternate between it and Xara Designer Pro X. If I use Xara, I have PaintShop Pro as the bitmap editor for Xara, so I can get the best of both worlds.

John CB

John C.B.

VideoPro X(16); Movie Studio 2025 Platinum; Music Maker 2025 Premium Edition; Samplitude Pro X8 Suite; see About me for more.

Desktop System - Windows 10 Pro 22H2; MB ROG STRIX B560-A Gaming WiFi; Graphics Card Zotac Gaming NVIDIA GeForce RTX-3060, PS; Power supply EVGA 750W; Intel Core i7-10700K @ 3.80GHz (UHD Graphics 630); RAM 32 GB; OS on Kingston SSD 1TB; secondary WD 2TB; others 1.5TB, 3TB, 500GB, 4TB, 5TB, 6TB, 8TB, 12TB, 14TB; three monitors - HP 25" main, LG 4K 27" second, HP 27" third; Casio WK-225 piano keyboard; M-Audio M-Track USB mixer.

Notebook - Microsoft Surface Pro 4, i5-6300U, 8 GB RAM, 256 SSD, W10 Pro 20H2.

YouTube Channel: @JCBrownVideos

mmofilm2861 wrote on 12/23/2021, 3:20 AM

Yes I was able to setup Affinity Photo as an external editor. If I right click on an image object in the timeline, select open in external editor. Affinity Photo is started and loads the image.

But edits to the image is not reflected in VPX, until the project is reloaded. Seems the image file is cached in VPX.

/Morten

browj2 wrote on 12/23/2021, 9:06 AM

@mmofilm2861

Hi,

Thanks for confirming.

Try clearing the cache - Edit, Empty undo and cache memory.

Then hit play or something and the photo should update.

John CB

John C.B.

VideoPro X(16); Movie Studio 2025 Platinum; Music Maker 2025 Premium Edition; Samplitude Pro X8 Suite; see About me for more.

Desktop System - Windows 10 Pro 22H2; MB ROG STRIX B560-A Gaming WiFi; Graphics Card Zotac Gaming NVIDIA GeForce RTX-3060, PS; Power supply EVGA 750W; Intel Core i7-10700K @ 3.80GHz (UHD Graphics 630); RAM 32 GB; OS on Kingston SSD 1TB; secondary WD 2TB; others 1.5TB, 3TB, 500GB, 4TB, 5TB, 6TB, 8TB, 12TB, 14TB; three monitors - HP 25" main, LG 4K 27" second, HP 27" third; Casio WK-225 piano keyboard; M-Audio M-Track USB mixer.

Notebook - Microsoft Surface Pro 4, i5-6300U, 8 GB RAM, 256 SSD, W10 Pro 20H2.

YouTube Channel: @JCBrownVideos

sasiuk wrote on 12/23/2021, 10:18 AM

Hi all,

My yesterday message

From all off my tests, VPX13 does not support export in HEVC / HDR

Just import is supported for UHD / HEVC / BT2020 / HDR / 4.2.0 / 10 bits

If you export in UHD / HEVC / BT2020 / 4.2.0 / 10 bits, lot off metadata are missing as:

Color primaries                          : BT.2020
Transfer characteristics                 : PQ
Matrix coefficients                      : BT.2020 non-constant
.....

Solution found on German langage forum.

Export in HEVC / HDR works fine under VPX13 IF hardware acceleration is disable.

Encoding should be switched on CPU, but rendering time is long, long, long

As Transfert characteristics PQ (Perceptual Quantization) and BT2020 color space are present in Metadatas, exported file read on my 4K HDR TV is perfect and switch to the right color space.

 

Regards.

DéDé.

mmofilm2861 wrote on 12/27/2021, 4:23 PM

This was a tough one to fix. Took me some days to and from to get it right (almost gave up). Reading the descriptions over and over, and reading all the few resources available. Most of them described the workflow for the so called "Supported apps" (All the video edit big boys), not so much how You could do it without the direct support.

I tried many different combinations again, again and again. But the recipe below worked for me.

I used the GPU rendering HEVC Rec. 2020 10 bit, and yes it do not add the right metadata, as stated by DéDé, but that is fixed by the next step.

The official google doc that can be googled :-) states that You should use some kind of metadata program called MKVMERGE to end up with a .mkv file with the meta data that You can upload to YouTube. I could not get that to work. I tried using ffmpeg to transcode to some of the supported codecs VP9 (took ages) MP4 combined with MKVMERGE but to no avail.

Today I stubbled by a blog (https://www.adsplch.com/posts/ffmpeg-hevc-metadata/) saying that the metadata could be added to a HEVC file using ffmpeg. And the blog had a a reference to the ffmpeg docs https://ffmpeg.org/ffmpeg-bitstream-filters.html and https://ffmpeg.org/ffmpeg-bitstream-filters.html#hevc_005fmetadata. Adding meta data do not reencode the file, so it is way faster than transcoding to other formats.

The syntax for the parameters is a bit complex: (all ffmpeg parameters are)

ffmpeg -i WhiteChristmas.MP4 -c copy -bsf:v hevc_metadata=colour_primaries=9:transfer_characteristics=18:matrix_coefficients=9 WhiteChristmas_meta.MP4

But it makes very much sense, when You read the other documentation for YouTube HDR

colour_primaries=9 (bt2020)

transfer_characteristics=18 (arib-std-b67) HLG

matrix_coefficients=9 (Rec. ITU-R BT.2020-2 non-constant luminance system or bt2020nc)

The extremely interesting thing here is, that even that the official documentation from YouTube do not mention HEVC HDR as supported, it actually works to upload the output file WhiteChristmas_meta.mp4. (I also tried to transcode HEVC to H.264, is also works, but does not seem to be necessary).

When I first tried to upload the file WhiteChristmas_meta.mp4, I was disappointed, the HDR icon did not show up in Chrome. Oddly enough after some time it showed as HDR in the YouTube app on my android phone, but still not in Chrome. Then it worked in Edge on windows, and while I was googling why HDR could work on Edge and not Chrome, I went back to Chrome and to my surprise the HDR icon finally showed up in Chrome for windows, after so many failed tries. So it seems it takes quite some time before the HDR processing is done.

I also tried to use PQ as transfer characteristics but it came out quite a bit darker than what I saw in VPX. The HLG setting was pretty close to how I graded my log footage in VPX.

This was just to make the HDR icon show up, now I will try grade some more content in VPX and see how I can make it look on YouTube.

The colors in the screen capture is completely off, so don't take this as a reference. But the important thing is the colors are no longer "just" rec. 709. But HLG / bt 2020

/Morten

Hope the post is readable, I also struggle with the grammar in my native language :-)