Dolby Vision now possible through MP4 Mux.

Please post here for issues related to UHD discs
Message
Author
RESET_9999
Posts: 2094
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

#5386 Post by RESET_9999 » Wed Aug 25, 2021 7:20 pm

I'm sooooo confused lol...

I converted my hdr10plus JSON to RPU.bin and I'm comparing the metadata and most of it is the same as the original bluray RPU (p8) except at the end where the original profile 8 RPU has different values for L1 and no L2 metadata but it has L4 metadata.... So my generated is wrong or not? and what the hell is level 4 ? its not even on the dolby documentation. Since L2 is optional, should we NOT generate it? L1 pq max and min doesnt match, why?


Image

the json i used is :

Code: Select all

{
    "length": 217408,
    "level2": [
        {
            "target_nits": 100
        },
        {
            "target_nits": 600
        },
        {
            "target_nits": 1000
        },
        {
            "target_nits": 2000
        }
		    ],
    "level6": {
        "max_display_mastering_luminance": 1000,
        "min_display_mastering_luminance": 1,
        "max_content_light_level": 596,
        "max_frame_average_light_level": 200
    }
}


generated RPU:

Code: Select all

 "num_ext_blocks": 7,
    "ext_metadata_blocks": [
      {
        "Level1": {
          "block_info": {
            "ext_block_length": 5,
            "ext_block_level": 1,
            "remaining": [
              0,
              0,
              0,
              0
            ]
          },
          "min_pq": 0,
          "max_pq": 0,
          "avg_pq": 0
        }
      },
      {
        "Level2": {
          "block_info": {
            "ext_block_length": 11,
            "ext_block_level": 2,
            "remaining": [
              0,
              0,
              0
            ]
          },
          "target_max_pq": 2081,
          "trim_slope": 2048,
          "trim_offset": 2048,
          "trim_power": 2048,
          "trim_chroma_weight": 2048,
          "trim_saturation_gain": 2048,
          "ms_weight": 2048
        }
      },
      {
        "Level2": {
          "block_info": {
            "ext_block_length": 11,
            "ext_block_level": 2,
            "remaining": [
              0,
              0,
              0
            ]
          },
          "target_max_pq": 2851,
          "trim_slope": 2048,
          "trim_offset": 2048,
          "trim_power": 2048,
          "trim_chroma_weight": 2048,
          "trim_saturation_gain": 2048,
          "ms_weight": 2048
        }
      },
      {
        "Level2": {
          "block_info": {
            "ext_block_length": 11,
            "ext_block_level": 2,
            "remaining": [
              0,
              0,
              0
            ]
          },
          "target_max_pq": 3079,
          "trim_slope": 2048,
          "trim_offset": 2048,
          "trim_power": 2048,
          "trim_chroma_weight": 2048,
          "trim_saturation_gain": 2048,
          "ms_weight": 2048
        }
      },
      {
        "Level2": {
          "block_info": {
            "ext_block_length": 11,
            "ext_block_level": 2,
            "remaining": [
              0,
              0,
              0
            ]
          },
          "target_max_pq": 3388,
          "trim_slope": 2048,
          "trim_offset": 2048,
          "trim_power": 2048,
          "trim_chroma_weight": 2048,
          "trim_saturation_gain": 2048,
          "ms_weight": 2048
        }
      },
      {
        "Level5": {
          "block_info": {
            "ext_block_length": 7,
            "ext_block_level": 5,
            "remaining": [
              0,
              0,
              0,
              0
            ]
          },
          "active_area_left_offset": 0,
          "active_area_right_offset": 0,
          "active_area_top_offset": 0,
          "active_area_bottom_offset": 0
        }
      },
      {
        "Level6": {
          "block_info": {
            "ext_block_length": 8,
            "ext_block_level": 6,
            "remaining": []
          },
          "max_display_mastering_luminance": 1000,
          "min_display_mastering_luminance": 1,
          "max_content_light_level": 596,
          "max_frame_average_light_level": 200
        }
      }
    ]
  },
  "remaining": [
    0
  ],
  "rpu_data_crc32": 562607130

Profile 8 RPU from bluray:

Code: Select all

 "num_ext_blocks": 4,
    "ext_metadata_blocks": [
      {
        "Level1": {
          "block_info": {
            "ext_block_length": 5,
            "ext_block_level": 1,
            "remaining": [
              0,
              0,
              0,
              0
            ]
          },
          "min_pq": 0,
          "max_pq": 2081,
          "avg_pq": 819
        }
      },
      {
        "Level4": {
          "block_info": {
            "ext_block_length": 3,
            "ext_block_level": 4,
            "remaining": []
          },
          "anchor_pq": 0,
          "anchor_power": 0
        }
      },
      {
        "Level5": {
          "block_info": {
            "ext_block_length": 7,
            "ext_block_level": 5,
            "remaining": [
              0,
              0,
              0,
              0
            ]
          },
          "active_area_left_offset": 0,
          "active_area_right_offset": 0,
          "active_area_top_offset": 276,
          "active_area_bottom_offset": 277
        }
      },
      {
        "Level6": {
          "block_info": {
            "ext_block_length": 8,
            "ext_block_level": 6,
            "remaining": []
          },
          "max_display_mastering_luminance": 1000,
          "min_display_mastering_luminance": 1,
          "max_content_light_level": 596,
          "max_frame_average_light_level": 200
        }
      }
    ]
  },
  "remaining": [],
  "rpu_data_crc32": 326453137
}


generated RPU ( no L2)

Code: Select all

 "num_ext_blocks": 3,
    "ext_metadata_blocks": [
      {
        "Level1": {
          "block_info": {
            "ext_block_length": 5,
            "ext_block_level": 1,
            "remaining": [
              0,
              0,
              0,
              0
            ]
          },
          "min_pq": 0,
          "max_pq": 0,
          "avg_pq": 0
        }
      },
      {
        "Level5": {
          "block_info": {
            "ext_block_length": 7,
            "ext_block_level": 5,
            "remaining": [
              0,
              0,
              0,
              0
            ]
          },
          "active_area_left_offset": 0,
          "active_area_right_offset": 0,
          "active_area_top_offset": 0,
          "active_area_bottom_offset": 0
        }
      },
      {
        "Level6": {
          "block_info": {
            "ext_block_length": 8,
            "ext_block_level": 6,
            "remaining": []
          },
          "max_display_mastering_luminance": 1000,
          "min_display_mastering_luminance": 1,
          "max_content_light_level": 596,
          "max_frame_average_light_level": 200
        }
      }
    ]
  },
  "remaining": [
    0,
    0,
    0,
    0,
    0
  ],
  "rpu_data_crc32": 1882379805
}
Last edited by RESET_9999 on Wed Aug 25, 2021 7:50 pm, edited 3 times in total.

Manixx2020beyound
Posts: 127
Joined: Thu Oct 08, 2020 5:19 pm

Re: Dolby Vision now possible through MP4 Mux.

#5387 Post by Manixx2020beyound » Wed Aug 25, 2021 7:40 pm

quietvoid wrote:
Wed Aug 25, 2021 7:08 pm
Manixx2020beyound wrote:
Wed Aug 25, 2021 2:22 pm
Fantastic! great news!!
Thanks, so much will be testing tonight.
“NO BANZ TO MAKE DV DANCE”
Raw footage:
Now I can create a dv music video
With l1
Testing a dv/hdr10plus xml master of beckett which also has secondary trims too
Created by resolve
For raw footage we should be able to define the aspect ratio in the final encoding settings
By the way, currently it only works for CMv2.9 XML files. Will look at supporting v4.0 but things like secondary trims are not backwards compatible.
Waiting patiently for 4.0
2.9 does not use the resolve dv analysis tool.

quietvoid
Posts: 373
Joined: Sun Apr 19, 2020 4:15 pm

Re: Dolby Vision now possible through MP4 Mux.

#5388 Post by quietvoid » Wed Aug 25, 2021 8:49 pm

RESET_9999 wrote:
Wed Aug 25, 2021 7:20 pm
I'm sooooo confused lol...

I converted my hdr10plus JSON to RPU.bin and I'm comparing the metadata and most of it is the same as the original bluray RPU (p8) except at the end where the original profile 8 RPU has different values for L1 and no L2 metadata but it has L4 metadata.... So my generated is wrong or not? and what the hell is level 4 ? its not even on the dolby documentation. Since L2 is optional, should we NOT generate it? L1 pq max and min doesnt match, why?
L1 values from HDR10+ are not going to be exactly the same. Dolby Vision often has a minimum of max 100 nits, avg 10 nits. While HDR10+ doesn't.

For L2, I'm not sure if it makes any difference to add or not. IIRC chros said his output was brighter when using 1000 nits compared to 600 nits.
It is optional.

L4 metadata is supposed to be useful for smoother transitions between scenes, it is currently not calculated.
Since it's calculated values, Dolby doesn't really document it as it's not in the XML.

So based on your info, if only some of the first/last frames have very different L1 metadata, I think the generated RPU is fine..

FWIW, normally this is the difference between both metadatas: https://slow.pics/c/4DMxP9RD

RESET_9999
Posts: 2094
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

#5389 Post by RESET_9999 » Wed Aug 25, 2021 9:20 pm

got it , thank you... Time to compare now.

RESET_9999
Posts: 2094
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

#5390 Post by RESET_9999 » Wed Aug 25, 2021 10:29 pm

quietvoid wrote:
Wed Aug 25, 2021 8:49 pm
Strange, how come WW-84 has L5 active areas 276/277 when this movie has some IMAX scenes 66/66 ...
I guess the L5 metadata doesnt seem to really matter (even bluray players ignore it)

same active areas in the p5 webdl and the p7 bluray.


EDIT: Checked about 2min, looks good but slightly darker than bluray DV https://slow.pics/c/gYCkoX8F

Code: Select all

      {
        "Level5": {
          "block_info": {
            "ext_block_length": 7,
            "ext_block_level": 5,
            "remaining": [
              0,
              0,
              0,
              0
            ]
          },
          "active_area_left_offset": 0,
          "active_area_right_offset": 0,
          "active_area_top_offset": 276,
          "active_area_bottom_offset": 277
        }
      },

quietvoid
Posts: 373
Joined: Sun Apr 19, 2020 4:15 pm

Re: Dolby Vision now possible through MP4 Mux.

#5391 Post by quietvoid » Thu Aug 26, 2021 12:21 am

RESET_9999 wrote:
Wed Aug 25, 2021 10:29 pm
Strange, how come WW-84 has L5 active areas 276/277 when this movie has some IMAX scenes 66/66 ...
I guess the L5 metadata doesnt seem to really matter (even bluray players ignore it)

same active areas in the p5 webdl and the p7 bluray.
I think the L5 metadata does vary when necessary, so it shouldn't be 276/277 everywhere..
If it is, then I guess it just doesn't matter for UHD BD.

RESET_9999 wrote:
Wed Aug 25, 2021 10:29 pm
EDIT: Checked about 2min, looks good but slightly darker than bluray DV https://slow.pics/c/gYCkoX8F
Possibly the trim pass, any generated RPU (apart from XML) should be closer to HDR10 than actual full Dolby Vision (with trim passes).
It looks pretty good to me though, I didn't expect that much difference for just L1.

RESET_9999
Posts: 2094
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

#5392 Post by RESET_9999 » Thu Aug 26, 2021 12:43 am

quietvoid wrote:
Thu Aug 26, 2021 12:21 am
I think the L5 metadata does vary when necessary, so it shouldn't be 276/277 everywhere..
If it is, then I guess it just doesn't matter for UHD BD.
yep, it does vary because with the hdr10plus to DV remux of WW84, the imax scenes play incorrectly in 276/277 on my C8 internal player.
the original dual-layer file (the p8 too) play correctly in 66/66

it plays perfectly in 66/66 and switches to 276/277 without issues on my bluray player x700. surely because l5 metadata are useless to bluray players. shield is fine too

hdr10plus to DV RPU:


Code: Select all

Parsing RPU file...
{
  "dovi_profile": 8,
  "header": {
    "rpu_nal_prefix": 25,
    "rpu_type": 2,
    "rpu_format": 18,
    "vdr_rpu_profile": 1,
    "vdr_rpu_level": 0,
    "vdr_seq_info_present_flag": true,
    "chroma_resampling_explicit_filter_flag": false,
    "coefficient_data_type": 0,
    "coefficient_log2_denom": 23,
    "vdr_rpu_normalized_idc": 1,
    "bl_video_full_range_flag": false,
    "bl_bit_depth_minus8": 2,
    "el_bit_depth_minus8": 2,
    "vdr_bit_depth_minus_8": 4,
    "spatial_resampling_filter_flag": false,
    "reserved_zero_3bits": 0,
    "el_spatial_resampling_filter_flag": false,
    "disable_residual_flag": true,
    "vdr_dm_metadata_present_flag": true,
    "use_prev_vdr_rpu_flag": false,
    "prev_vdr_rpu_id": 0,
    "vdr_rpu_id": 0,
    "mapping_color_space": 0,
    "mapping_chroma_format_idc": 0,
    "num_pivots_minus_2": [
      0,
      0,
      0
    ],
    "pred_pivot_value": [
      [
        0,
        1023
      ],
      [
        0,
        1023
      ],
      [
        0,
        1023
      ]
    ],
    "nlq_method_idc": null,
    "nlq_num_pivots_minus2": null,
    "num_x_partitions_minus1": 0,
    "num_y_partitions_minus1": 0
  },
  "vdr_rpu_data": {
    "mapping_idc": [
      [
        0
      ],
      [
        0
      ],
      [
        0
      ]
    ],
    "mapping_param_pred_flag": [
      [
        false
      ],
      [
        false
      ],
      [
        false
      ]
    ],
    "num_mapping_param_predictors": [
      [
        0
      ],
      [
        0
      ],
      [
        0
      ]
    ],
    "diff_pred_part_idx_mapping_minus1": [
      [
        0
      ],
      [
        0
      ],
      [
        0
      ]
    ],
    "poly_order_minus1": [
      [
        0
      ],
      [
        0
      ],
      [
        0
      ]
    ],
    "linear_interp_flag": [
      [
        false
      ],
      [
        false
      ],
      [
        false
      ]
    ],
    "pred_linear_interp_value_int": [
      [
        0
      ],
      [
        0
      ],
      [
        0
      ]
    ],
    "pred_linear_interp_value": [
      [
        0
      ],
      [
        0
      ],
      [
        0
      ]
    ],
    "poly_coef_int": [
      [
        [
          0,
          1
        ]
      ],
      [
        [
          0,
          1
        ]
      ],
      [
        [
          0,
          1
        ]
      ]
    ],
    "poly_coef": [
      [
        [
          0,
          1
        ]
      ],
      [
        [
          0,
          1
        ]
      ],
      [
        [
          0,
          1
        ]
      ]
    ],
    "mmr_order_minus1": [
      [
        0
      ],
      [
        0
      ],
      [
        0
      ]
    ],
    "mmr_constant_int": [
      [
        0
      ],
      [
        0
      ],
      [
        0
      ]
    ],
    "mmr_constant": [
      [
        0
      ],
      [
        0
      ],
      [
        0
      ]
    ],
    "mmr_coef_int": [
      [
        []
      ],
      [
        []
      ],
      [
        []
      ]
    ],
    "mmr_coef": [
      [
        []
      ],
      [
        []
      ],
      [
        []
      ]
    ]
  },
  "nlq_data": null,
  "vdr_dm_data": {
    "affected_dm_metadata_id": 0,
    "current_dm_metadata_id": 0,
    "scene_refresh_flag": 1,
    "ycc_to_rgb_coef0": 9574,
    "ycc_to_rgb_coef1": 0,
    "ycc_to_rgb_coef2": 13802,
    "ycc_to_rgb_coef3": 9574,
    "ycc_to_rgb_coef4": -1540,
    "ycc_to_rgb_coef5": -5348,
    "ycc_to_rgb_coef6": 9574,
    "ycc_to_rgb_coef7": 17610,
    "ycc_to_rgb_coef8": 0,
    "ycc_to_rgb_offset0": 16777216,
    "ycc_to_rgb_offset1": 134217728,
    "ycc_to_rgb_offset2": 134217728,
    "rgb_to_lms_coef0": 7222,
    "rgb_to_lms_coef1": 8771,
    "rgb_to_lms_coef2": 390,
    "rgb_to_lms_coef3": 2654,
    "rgb_to_lms_coef4": 12430,
    "rgb_to_lms_coef5": 1300,
    "rgb_to_lms_coef6": 0,
    "rgb_to_lms_coef7": 422,
    "rgb_to_lms_coef8": 15962,
    "signal_eotf": 65535,
    "signal_eotf_param0": 0,
    "signal_eotf_param1": 0,
    "signal_eotf_param2": 0,
    "signal_bit_depth": 12,
    "signal_color_space": 0,
    "signal_chroma_format": 0,
    "signal_full_range_flag": 1,
    "source_min_pq": 7,
    "source_max_pq": 3079,
    "source_diagonal": 42,
    "num_ext_blocks": 3,
    "ext_metadata_blocks": [
      {
        "Level1": {
          "block_info": {
            "ext_block_length": 5,
            "ext_block_level": 1,
            "remaining": [
              0,
              0,
              0,
              0
            ]
          },
          "min_pq": 0,
          "max_pq": 0,
          "avg_pq": 0
        }
      },
      {
        "Level5": {
          "block_info": {
            "ext_block_length": 7,
            "ext_block_level": 5,
            "remaining": [
              0,
              0,
              0,
              0
            ]
          },
          "active_area_left_offset": 0,
          "active_area_right_offset": 0,
          "active_area_top_offset": 276,
          "active_area_bottom_offset": 277
        }
      },
      {
        "Level6": {
          "block_info": {
            "ext_block_length": 8,
            "ext_block_level": 6,
            "remaining": []
          },
          "max_display_mastering_luminance": 1000,
          "min_display_mastering_luminance": 1,
          "max_content_light_level": 596,
          "max_frame_average_light_level": 200
        }
      }
    ]
  },
  "remaining": [
    0,
    0,
    0,
    0,
    0
  ],
  "rpu_data_crc32": 156245703
}
Last edited by RESET_9999 on Thu Aug 26, 2021 12:57 am, edited 1 time in total.

quietvoid
Posts: 373
Joined: Sun Apr 19, 2020 4:15 pm

Re: Dolby Vision now possible through MP4 Mux.

#5393 Post by quietvoid » Thu Aug 26, 2021 12:50 am

Right, normally you would have to find the scenes where the aspect ratio changes and edit them in the other RPU.
Alternatively I'm pretty sure leaving the L5 to 0 also works.

But you don't have to do any of this since the content is already Dolby VIsion :!:

quietvoid
Posts: 373
Joined: Sun Apr 19, 2020 4:15 pm

Re: Dolby Vision now possible through MP4 Mux.

#5394 Post by quietvoid » Thu Aug 26, 2021 5:00 am

Manixx2020beyound wrote:
Wed Aug 25, 2021 7:40 pm
Waiting patiently for 4.0
2.9 does not use the resolve dv analysis tool.
The test build should now at least parse v4.0 properly. https://github.com/quietvoid/dovi_tool/ ... -906094633
I don't have enough samples to confirm if L3 is correct nor to add anything more (other than possibly automatically calculated L4).

Manixx2020beyound
Posts: 127
Joined: Thu Oct 08, 2020 5:19 pm

Re: Dolby Vision now possible through MP4 Mux.

#5395 Post by Manixx2020beyound » Thu Aug 26, 2021 5:15 am

0F7544F5-51B8-4412-8E3D-F11E45A9D76B.jpeg
0F7544F5-51B8-4412-8E3D-F11E45A9D76B.jpeg (1.42 MiB) Viewed 13124 times
quietvoid wrote:
Thu Aug 26, 2021 5:00 am
Manixx2020beyound wrote:
Wed Aug 25, 2021 7:40 pm
Waiting patiently for 4.0
2.9 does not use the resolve dv analysis tool.
The test build should now at least parse v4.0 properly. https://github.com/quietvoid/dovi_tool/ ... -906094633
I don't have enough samples to confirm if L3 is correct nor to add anything more (other than possibly automatically calculated L4).
Thank you, again much appreciated!
Works like a charm,
Once 4.0xml is parsed
I have 2 choices encode from the Master with Rpu/ encode raw with Rpu both work .
Just brilliant!

"dovi_profile": 8,
"header": {
"rpu_nal_prefix": 25,
"rpu_type": 2,
"rpu_format": 18,
"vdr_rpu_profile": 1,
"vdr_rpu_level": 0,
"vdr_seq_info_present_flag": true,
"chroma_resampling_explicit_filter_flag": false,
"coefficient_data_type": 0,
"coefficient_log2_denom": 23,
"vdr_rpu_normalized_idc": 1,
"bl_video_full_range_flag": false,
"bl_bit_depth_minus8": 2,
"el_bit_depth_minus8": 2,
"vdr_bit_depth_minus_8": 4,
"spatial_resampling_filter_flag": false,
"reserved_zero_3bits": 0,
"el_spatial_resampling_filter_flag": false,
"disable_residual_flag": true,
"vdr_dm_metadata_present_flag": true,
"use_prev_vdr_rpu_flag": false,
"prev_vdr_rpu_id": 0,
"vdr_rpu_id": 0,
"mapping_color_space": 0,
"mapping_chroma_format_idc": 0,
"num_pivots_minus_2": [
0,
0,
0
],
"pred_pivot_value": [
[
0,
1023
],
[
0,
1023
],
[
0,
1023
]
],
"nlq_method_idc": null,
"nlq_num_pivots_minus2": null,
"num_x_partitions_minus1": 0,
"num_y_partitions_minus1": 0
},
"vdr_rpu_data": {
"mapping_idc": [

"nlq_data": null,
"vdr_dm_data": {
"affected_dm_metadata_id": 0,
"current_dm_metadata_id": 0,
"scene_refresh_flag": 1,
"ycc_to_rgb_coef0": 9574,
"ycc_to_rgb_coef1": 0,
"ycc_to_rgb_coef2": 13802,
"ycc_to_rgb_coef3": 9574,
"ycc_to_rgb_coef4": -1540,
"ycc_to_rgb_coef5": -5348,
"ycc_to_rgb_coef6": 9574,
"ycc_to_rgb_coef7": 17610,
"ycc_to_rgb_coef8": 0,
"ycc_to_rgb_offset0": 16777216,
"ycc_to_rgb_offset1": 134217728,
"ycc_to_rgb_offset2": 134217728,
"rgb_to_lms_coef0": 7222,
"rgb_to_lms_coef1": 8771,
"rgb_to_lms_coef2": 390,
"rgb_to_lms_coef3": 2654,
"rgb_to_lms_coef4": 12430,
"rgb_to_lms_coef5": 1300,
"rgb_to_lms_coef6": 0,
"rgb_to_lms_coef7": 422,
"rgb_to_lms_coef8": 15962,
"signal_eotf": 65535,
"signal_eotf_param0": 0,
"signal_eotf_param1": 0,
"signal_eotf_param2": 0,
"signal_bit_depth": 12,
"signal_color_space": 0,
"signal_chroma_format": 0,
"signal_full_range_flag": 1,
"source_min_pq": 7,
"source_max_pq": 3079,
"source_diagonal": 42,
"num_ext_blocks": 7,
"ext_metadata_blocks": [
{
"Level1": {
"block_info": {
"ext_block_length": 5,
"ext_block_level": 1,
"remaining": [
0,
0,
0,
0
]
},
"min_pq": 0,
"max_pq": 3209,
"avg_pq": 2048
}
},
{
"Level2": {
"block_info": {
"ext_block_length": 11,
"ext_block_level": 2,
"remaining": [
0,
0,
0
]
},
"target_max_pq": 2081,
"trim_slope": 1507,
"trim_offset": 2017,
"trim_power": 1147,
"trim_chroma_weight": 2048,
"trim_saturation_gain": 2048,
"ms_weight": 2048
}
},
{
"Level2": {
"block_info": {
"ext_block_length": 11,
"ext_block_level": 2,
"remaining": [
0,
0,
0
]
},
"target_max_pq": 2851,
"trim_slope": 2045,
"trim_offset": 2048,
"trim_power": 2040,
"trim_chroma_weight": 2048,
"trim_saturation_gain": 2048,
"ms_weight": 2048
}
},
{
"Level2": {
"block_info": {
"ext_block_length": 11,
"ext_block_level": 2,
"remaining": [
0,
0,
0
]
},
"target_max_pq": 3079,
"trim_slope": 2089,
"trim_offset": 2049,
"trim_power": 2191,
"trim_chroma_weight": 2048,
"trim_saturation_gain": 2048,
"ms_weight": 2048
}
},
{
"Level3": {
"block_info": {
"ext_block_length": 2,
"ext_block_level": 3,
"remaining": []
},
"min_pq_offset": 2048,
"max_pq_offset": 1447,
"avg_pq_offset": 2048
}
},
{
"Level5": {
"block_info": {
"ext_block_length": 7,
"ext_block_level": 5,
"remaining": [
0,
0,
0,
0
]
},
"active_area_left_offset": 0,
"active_area_right_offset": 0,
"active_area_top_offset": 0,
"active_area_bottom_offset": 0
}
},
{
"Level6": {
"block_info": {
"ext_block_length": 8,
"ext_block_level": 6,
"remaining": []
},
"max_display_mastering_luminance": 1000,
"min_display_mastering_luminance": 1,
"max_content_light_level": 0,
"max_frame_average_light_level": 0
}
}
]
},
"remaining": [
0
],
"rpu_data_crc32": 3677026044
Last edited by Manixx2020beyound on Thu Aug 26, 2021 3:58 pm, edited 1 time in total.

higher
Posts: 8
Joined: Thu Aug 26, 2021 2:02 pm

Re: Dolby Vision now possible through MP4 Mux.

#5396 Post by higher » Thu Aug 26, 2021 2:31 pm

Sorry for asking this but is there a way to mux or convert Dolby Vision mkv's to mp4? Unfortunately LG OLED TV's built-in players are not recognizing DV in the mkv container and I don't have an X700 or Shield 2019. Excuse me if it had been asked earlier.

Keep up the great work!

quietvoid
Posts: 373
Joined: Sun Apr 19, 2020 4:15 pm

Re: Dolby Vision now possible through MP4 Mux.

#5397 Post by quietvoid » Thu Aug 26, 2021 4:09 pm

Manixx2020beyound wrote:
Thu Aug 26, 2021 5:15 am
Thank you, again much appreciated!
Works like a charm,
Once 4.0xml is parsed
I have 2 choices encode from the Master with Rpu/ encode raw with Rpu both work .
Just brilliant!
Good to know.
It's a little weird to see L2 stronger adjustments for 1000 nits but less for 600. Only you would know if it's correct though.
The trim_slope (Gain) is still possibly wrong, since I couldn't match the values all the time with the samples I have.

Manixx2020beyound
Posts: 127
Joined: Thu Oct 08, 2020 5:19 pm

Re: Dolby Vision now possible through MP4 Mux.

#5398 Post by Manixx2020beyound » Thu Aug 26, 2021 5:02 pm

quietvoid wrote:
Thu Aug 26, 2021 4:09 pm
Manixx2020beyound wrote:
Thu Aug 26, 2021 5:15 am
Thank you, again much appreciated!
Works like a charm,
Once 4.0xml is parsed
I have 2 choices encode from the Master with Rpu/ encode raw with Rpu both work .
Just brilliant!
Good to know.
It's a little weird to see L2 stronger adjustments for 1000 nits but less for 600. Only you would know if it's correct though.
The trim_slope (Gain) is still possibly wrong, since I couldn't match the values all the time with the samples I have.
Quick test sample works
Possibilities are now endless
What’s great about this tool even if u have a Dolbyvision license u are now able to view your work before it goes mainstream in doblyvision with all the trims well, almost all the trims.
No one can view their workflow in dv well only using rgb tunneling but that’s it u have no acess to your doblyvision created content
Hdr10/sdr only for playback now we have it all.
6DDDFCA6-1215-4066-A0FF-B8D02EB2AF1B.jpeg
6DDDFCA6-1215-4066-A0FF-B8D02EB2AF1B.jpeg (633.74 KiB) Viewed 13107 times
Attachments
050B94CB-9E2C-4C63-A3B6-B34721CB7D85.jpeg
050B94CB-9E2C-4C63-A3B6-B34721CB7D85.jpeg (868.43 KiB) Viewed 13107 times

RESET_9999
Posts: 2094
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

#5399 Post by RESET_9999 » Thu Aug 26, 2021 6:41 pm

Interestingly, the CX internal app sends a bt2020 flag with DV like the shield used to do...

I bet that explains the difference @galarond is seeing with his C1 internal player and the x700.. I assume the C1 flag bt2020 as well. Doing so saturate the color more: https://screenshotcomparison.com/comparison/16962

damn , DV is a mess!!!

staknhalo
Posts: 161
Joined: Sun Oct 11, 2020 12:05 am

Re: Dolby Vision now possible through MP4 Mux.

#5400 Post by staknhalo » Thu Aug 26, 2021 10:28 pm

RESET_9999 wrote:
Thu Aug 26, 2021 6:41 pm
damn , DV is a mess!!!
It looks pretty, but damn I hate this video generation lol

Post Reply