How Insert JSON into HDR10 video to make HDR10+ ?

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

marconcini.davide

  • Posts: 12
  • Joined: Mon Oct 19, 2020 10:20 am
  • Real Name: Davide Marconcini

How Insert JSON into HDR10 video to make HDR10+ ?

PostMon Dec 05, 2022 1:07 pm

Hi,

I'm looking for a software or some way to create HDR10+ videos to share it with my client and upload them on youtube etc... Somebody is been able to merge Json File with HDR10 videos? How can i do it? Thanks

Ml, Davide
Offline

Lucius Snow

  • Posts: 639
  • Joined: Sun Nov 24, 2013 1:19 pm

Re: How Insert JSON into HDR10 video to make HDR10+ ?

PostMon Dec 05, 2022 3:55 pm

Hi,

I don't know about DaVinci but you can embed the JSON metadatas into a MP4 container with x265/ffmpeg.
Offline

Jim Simon

  • Posts: 29806
  • Joined: Fri Dec 23, 2016 1:47 am

Re: How Insert JSON into HDR10 video to make HDR10+ ?

PostMon Dec 05, 2022 4:20 pm

I've never tested because I don't have a Samsung display, but...are the settings in Resolve not sufficient?

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


HDR Deliver 2.png
HDR Deliver 2.png (67.99 KiB) Viewed 1754 times
My Biases:

You NEED training.
You NEED a desktop.
You NEED a calibrated (non-computer) display.
Offline

marconcini.davide

  • Posts: 12
  • Joined: Mon Oct 19, 2020 10:20 am
  • Real Name: Davide Marconcini

Re: How Insert JSON into HDR10 video to make HDR10+ ?

PostTue Dec 06, 2022 4:43 pm

Lucius Snow wrote:Hi,

I don't know about DaVinci but you can embed the JSON metadatas into a MP4 container with x265/ffmpeg.

Really? How? can you tell me how you do it? Thans
Offline

marconcini.davide

  • Posts: 12
  • Joined: Mon Oct 19, 2020 10:20 am
  • Real Name: Davide Marconcini

Re: How Insert JSON into HDR10 video to make HDR10+ ?

PostTue Dec 06, 2022 4:45 pm

No, those are just hdr10 metadata, not hdr10+, i know is a bit confusing because they show up when you turn on hdr10+ from project setting, but is like that, you can export them from the timeline, but not from there, they are only hdr10 for what i understood and i can see

Jim Simon wrote:I've never tested because I don't have a Samsung display, but...are the settings in Resolve not sufficient?

HDR Setup.png


HDR Deliver 2.png
Offline

Tom Roper

  • Posts: 521
  • Joined: Sat Apr 14, 2018 4:59 pm
  • Real Name: Tom Roper

Re: How Insert JSON into HDR10 video to make HDR10+ ?

PostTue Dec 06, 2022 5:46 pm

marconcini.davide wrote:
Lucius Snow wrote:Hi,

I don't know about DaVinci but you can embed the JSON metadatas into a MP4 container with x265/ffmpeg.

Really? How? can you tell me how you do it? Thans


Include the following instruction into your ffmpeg string and put the json file into the same folder as the video source file:

--dhdr10-info Timeline.json

(YouTube supports HDR10+ as well as Amazon Prime Video)
Offline

Tom Roper

  • Posts: 521
  • Joined: Sat Apr 14, 2018 4:59 pm
  • Real Name: Tom Roper

Re: How Insert JSON into HDR10 video to make HDR10+ ?

PostTue Dec 06, 2022 5:56 pm

What would be more helpful is if BMD would activate the trim sliders on the HDR10+ panel, as they did when the panel was introduced. This feature was removed.
Offline

Tom Roper

  • Posts: 521
  • Joined: Sat Apr 14, 2018 4:59 pm
  • Real Name: Tom Roper

Re: How Insert JSON into HDR10 video to make HDR10+ ?

PostTue Dec 06, 2022 6:13 pm

BMD and Resolve users, it's stupid to ignore this free HDR10+ feature. It has 99% of the same advantages as Dolby Vision dynamic metadata and scene by scene and frame by frame tone mapping, without the expensive licensing that makes it the exclusive playground of the DV elitests. There is *wide* support for HDR10+ in YouTube and Amazon Prime Video and Samsung televisions. It is stupid easy to do, but has been shunned by BMD and everyone that wants this great and free feature to disappear in favor of the tiny circle of priveleged few who pay the Dolby price to keep dynamic metadata out of the hands of creative artists everywhere. /rant_off
Offline

Lucius Snow

  • Posts: 639
  • Joined: Sun Nov 24, 2013 1:19 pm

Re: How Insert JSON into HDR10 video to make HDR10+ ?

PostTue Dec 06, 2022 6:45 pm

I agree.
Offline

mpetech

  • Posts: 728
  • Joined: Wed Sep 04, 2013 9:52 pm
  • Real Name: Dom Silverio

Re: How Insert JSON into HDR10 video to make HDR10+ ?

PostTue Dec 06, 2022 7:48 pm

Tom Roper wrote:BMD and Resolve users, it's stupid to ignore this free HDR10+ feature. It has 99% of the same advantages as Dolby Vision dynamic metadata and scene by scene and frame by frame tone mapping, without the expensive licensing that makes it the exclusive playground of the DV elitests. There is *wide* support for HDR10+ in YouTube and Amazon Prime Video and Samsung televisions. It is stupid easy to do, but has been shunned by BMD and everyone that wants this great and free feature to disappear in favor of the tiny circle of priveleged few who pay the Dolby price to keep dynamic metadata out of the hands of creative artists everywhere. /rant_off


It is not BMD. The HDR10 group asked them to turn it off for now.
Offline

Lucius Snow

  • Posts: 639
  • Joined: Sun Nov 24, 2013 1:19 pm

Re: How Insert JSON into HDR10 video to make HDR10+ ?

PostTue Dec 06, 2022 7:49 pm

Do we know why?
Offline

Jim Simon

  • Posts: 29806
  • Joined: Fri Dec 23, 2016 1:47 am

Re: How Insert JSON into HDR10 video to make HDR10+ ?

PostTue Dec 06, 2022 8:41 pm

marconcini.davide wrote:i know is a bit confusing because they show up when you turn on hdr10+ from project setting, but is like that, you can export them from the timeline, but not from there
I'm confused by your grammar. Can you clarify?
My Biases:

You NEED training.
You NEED a desktop.
You NEED a calibrated (non-computer) display.
Offline

Tom Roper

  • Posts: 521
  • Joined: Sat Apr 14, 2018 4:59 pm
  • Real Name: Tom Roper

Re: How Insert JSON into HDR10 video to make HDR10+ ?

PostTue Dec 06, 2022 10:16 pm

Jim,
Enabling HDR10+ brings up the metadata checkbox option on the deliver page but only static HDR10 metadata is ever inserted. Enabling HDR10+ avails the HDR10+ panel and the option to analyse shots and create a JSON file, but the dynamic HDR10+ metadata is contained within the JSON file and enabling the metadata checkbox on the deliver page inserts only static metadata.

For HDR10+ dynamic metadata to be included in the output h.265 HEVC, well..Resolve doesn't do this. For that, a separate process is required to embed the JSON metadata within the h.265 output. ffmpeg used with x265 can do this with the insertion of the simple code instruction I posted above.
Offline

mpetech

  • Posts: 728
  • Joined: Wed Sep 04, 2013 9:52 pm
  • Real Name: Dom Silverio

Re: How Insert JSON into HDR10 video to make HDR10+ ?

PostWed Dec 07, 2022 12:16 am

Lucius Snow wrote:Do we know why?


BMD did not clarify other than saying the group (I think Samsung mainly) requested that it be turned off for now.
Offline

marconcini.davide

  • Posts: 12
  • Joined: Mon Oct 19, 2020 10:20 am
  • Real Name: Davide Marconcini

Re: How Insert JSON into HDR10 video to make HDR10+ ?

PostWed Dec 07, 2022 10:36 am

How can i get access to ffmpeg strings? where are the ffmpeg strings? Thanks

Tom Roper wrote:
marconcini.davide wrote:
Lucius Snow wrote:Hi,

I don't know about DaVinci but you can embed the JSON metadatas into a MP4 container with x265/ffmpeg.

Really? How? can you tell me how you do it? Thans


Include the following instruction into your ffmpeg string and put the json file into the same folder as the video source file:

--dhdr10-info Timeline.json

(YouTube supports HDR10+ as well as Amazon Prime Video)
Offline

marconcini.davide

  • Posts: 12
  • Joined: Mon Oct 19, 2020 10:20 am
  • Real Name: Davide Marconcini

Re: How Insert JSON into HDR10 video to make HDR10+ ?

PostWed Dec 07, 2022 10:38 am

basically i mean this:

"Jim,
Enabling HDR10+ brings up the metadata checkbox option on the deliver page but only static HDR10 metadata is ever inserted. Enabling HDR10+ avails the HDR10+ panel and the option to analyse shots and create a JSON file, but the dynamic HDR10+ metadata is contained within the JSON file and enabling the metadata checkbox on the deliver page inserts only static metadata.

For HDR10+ dynamic metadata to be included in the output h.265 HEVC, well..Resolve doesn't do this. For that, a separate process is required to embed the JSON metadata within the h.265 output. ffmpeg used with x265 can do this with the insertion of the simple code instruction I posted above."

Jim Simon wrote:
marconcini.davide wrote:i know is a bit confusing because they show up when you turn on hdr10+ from project setting, but is like that, you can export them from the timeline, but not from there
I'm confused by your grammar. Can you clarify?
Offline

Tom Roper

  • Posts: 521
  • Joined: Sat Apr 14, 2018 4:59 pm
  • Real Name: Tom Roper

Re: How Insert JSON into HDR10 video to make HDR10+ ?

PostWed Dec 07, 2022 8:00 pm

mpetech wrote:
Lucius Snow wrote:Do we know why?


BMD did not clarify other than saying the group (I think Samsung mainly) requested that it be turned off for now.


There are two ways to look at it; Glass 1/2 full or 1/2 empty

Glass 1/2 empty: No separate trip passes are possible for different display target nits as with DV.

Glass 1/2 full: HDR10+ tone mapping is a linear process and should not require intervention from trim sliders to accomplish, separate trim passes are not needed saving time, effort and money. Samsung takes care of everything internally. Director's intent is maintained without having to evaluate every display target nit as a separate entity.
Offline

Jim Simon

  • Posts: 29806
  • Joined: Fri Dec 23, 2016 1:47 am

Re: How Insert JSON into HDR10 video to make HDR10+ ?

PostThu Dec 08, 2022 4:41 pm

marconcini.davide wrote:basically i mean this:
Following now. Thanks.
My Biases:

You NEED training.
You NEED a desktop.
You NEED a calibrated (non-computer) display.
Offline

Mario Kalogjera

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

Re: How Insert JSON into HDR10 video to make HDR10+ ?

PostThu Jan 26, 2023 1:42 pm

To revive this....I generally use Selur Hybrid for my transcoding needs, which relies on ffmpeg and/or other external tools...

however, HDR10+ metadata insertion only seems to work while transcoding with x265 which is painfully slow...is there another way to insert the metadata while using the GPU encoder or insert without transcoding?
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: VMFXBV and 189 guests