Main10 compression of HEVC .MOV

Get answers to your questions about color grading, editing and finishing with DaVinci Resolve.
  • Author
  • Message
Offline

robertfekete

  • Posts: 2
  • Joined: Wed Jan 26, 2022 8:08 pm
  • Real Name: Robert Fekete

Main10 compression of HEVC .MOV

PostWed Jan 26, 2022 8:18 pm

I have been spending a lot of time unsuccessfully trying to export HEVC H.265 files to display as HDR on Vimeo and Youtube.

On tutorials that I have seen on youtube and reading through newsgroups, I have seen posters refer to "Main10" compression as opposed to "Main" compression on the H.265 pages referring to 10 bit color. I only have Main or AMD options - I have an AMD radeon rx 570 card which may not necessarily be useful here.
It appears that a bizarre output file gets produced. MediaInfo tells me it is HEVC in 8 bit but I am saving it in BT.2020 color space, which doesn't make sense.
If I export as DNxHR 444 (MXF OP-1A), the files do get recognized as 4K HDR by both Vimeo and Youtube.

For more information.
My process is to record video from Nikon Z7, original release of the camera. go to settings, output from camera in 10 bit (vs 8 bit), turn on N-log.
Record on Atomos Ninja V+ which recognizes the input at Nikon N-log.
Save to ProRes 444 HQ file. Interestingly it's forced into Rec.709 color as per MediaInfo ( atomos hdr gamut and gamma rec.709).
Import that file into Davinci Resolve Studio. Inspector in the studio shows it as 10-bit color file.
Set to advanced color management, St. 2084, on the next screen use the Nikon N-log curve and have it go to BT.2020 color space. I tried also turning HDR10plus on and off and DolbyVision on and off to master to 1000 nits.
For grading I would use the gain and gamma primary wheels. Then I use the Deliver screen to export.
No matter what I do I can't get the H.265 Main10 setting, it's always Main and it creates an 8 bit file.

I guess another way to do it would be to use an external compression like FFMPEG to create the .MOV deliverable from the MXF file. Or given that Vimeo does accept the file, download the compressed file back from Vimeo but this is a clumsier workflow than just exporting it to HEVC outright.

Thank you everyone,
Robert
Offline

robertfekete

  • Posts: 2
  • Joined: Wed Jan 26, 2022 8:08 pm
  • Real Name: Robert Fekete

Re: Main10 compression of HEVC .MOV

PostWed Jan 26, 2022 9:52 pm

I have been doing some more research on this.
My old graphics card is clearly not capable of 10 bit hardware HEVC encoding, but what about software HEVC 10-bit? I just don't see that Main10 option.
viewtopic.php?f=21&t=113038

I also read that Handbrake is capable of 10 bit video and HDR10 static and the newest version of FFMPEG can handle HDR10, HDR10+, and DolbyVision.

https://handbrake.fr/docs/en/latest/tec ... hdr10.html
https://codecalamity.com/encoding-uhd-4 ... th-ffmpeg/

I would like to know if I could do this cleanly from inside Davinci Resolve Studio as opposed to command line work with ffmpeg or handbrake.
Offline

Mario Kalogjera

  • Posts: 1201
  • Joined: Sat Oct 31, 2015 8:44 pm

Re: Main10 compression of HEVC .MOV

PostWed Jan 26, 2022 10:46 pm

BT.2020 and 10 bit encoding are not directly dependent. You can have 8 bit video and BT.2020 colorspace.

You can't do Main 10 encoding with RX 570 or Resolve Native encoder. You need newer Nvidia or newer AMD GPU (not sure about the latter).

It is good practice not to upload h265 encodes on Vimeo or YouTube anyway. Upload better quality codec and let them deal with it further.

For playback of HDR h265 on computer I believe you need to run it through ffmpeg to insert SEI otherwise players won't see it as HDR, which Vimeo and Yotube do for you when you upload DNxHR to their servers.

Check out Hybrid: https://www.selur.de/downloads it should read HDR metadata from your DNxHR Quicktime clip and insert SEI if you tell it to (there is a tab for that). Expect very slow encoding times....
Asus Prime X370-Pro+R7 3700X@PBO+32 GB G.Skill AEGIS DDR-4@3200MHz
Sapphire RX6700 10GB
Adata A400 120GB System,A2000 500GB Scratch SSDs
Media storage:"Always in motion is it"
BMD Mini Monitor 4K
Windows 11 Pro+Resolve Studio 18+Fusion Studio 18
Offline
User avatar

Uli Plank

  • Posts: 21635
  • Joined: Fri Feb 08, 2013 2:48 am
  • Location: Germany and Indonesia

Re: Main10 compression of HEVC .MOV

PostThu Jan 27, 2022 1:10 am

Just FYI: the new M1 Macs can encode HEVC in 10 bit by hardware. But so do the most recent Intel iGPUs.
Now that the cat #19 is out of the bag, test it as much as you can and use the subforum.

Studio 18.6.6, MacOS 13.6.6, 2017 iMac, 32 GB, Radeon Pro 580
MacBook M1 Pro, 16 GPU cores, 32 GB RAM and iPhone 15 Pro
Speed Editor, UltraStudio Monitor 3G
Offline

Mario Kalogjera

  • Posts: 1201
  • Joined: Sat Oct 31, 2015 8:44 pm

Re: Main10 compression of HEVC .MOV

PostThu Jan 27, 2022 9:35 am

I haven't tested lately, has anything changed on the Mac and/or Win version that allows you to export fully working h265 HDR encodes directly from Resolve? Because otherwise 10-bit h265 doesn't have much use.

Sent from my Mi 9T using Tapatalk
Asus Prime X370-Pro+R7 3700X@PBO+32 GB G.Skill AEGIS DDR-4@3200MHz
Sapphire RX6700 10GB
Adata A400 120GB System,A2000 500GB Scratch SSDs
Media storage:"Always in motion is it"
BMD Mini Monitor 4K
Windows 11 Pro+Resolve Studio 18+Fusion Studio 18
Offline

Nick2021

  • Posts: 756
  • Joined: Thu May 13, 2021 3:19 am
  • Real Name: Nick Zentena

Re: Main10 compression of HEVC .MOV

PostThu Jan 27, 2022 10:06 am

Don't know about HDR but glancing at the Intel options there is

Main 4.2.2 10 bit

and

Main 4.4.4 10 bit
Offline

Mario Kalogjera

  • Posts: 1201
  • Joined: Sat Oct 31, 2015 8:44 pm

Re: Main10 compression of HEVC .MOV

PostThu Jan 27, 2022 10:34 am

Nvidia Quadro T600 Turing also allows for Main 10, Main 4:4:4 and Main 4:4:4 10.

I'm puzzled at the fact that Resolve's native encoder doesn't allow for Main 10 encodes. If it's a software implementation, then why the hell not?
Asus Prime X370-Pro+R7 3700X@PBO+32 GB G.Skill AEGIS DDR-4@3200MHz
Sapphire RX6700 10GB
Adata A400 120GB System,A2000 500GB Scratch SSDs
Media storage:"Always in motion is it"
BMD Mini Monitor 4K
Windows 11 Pro+Resolve Studio 18+Fusion Studio 18

Return to DaVinci Resolve

Who is online

Users browsing this forum: Bing [Bot], dd8616, panos_mts, xunile and 170 guests