DolbyLaboratories / dlb_mp4base

The Dolby MP4 streaming muxer (dlb_mp4base) is a software implementation of a muxer of fragmented or unfragmented ISO base media file format (mp4). It supports muxing of Dolby Digital (AC-3), Dolby Digital Plus (E-AC-3), and Dolby AC-4 audio formats as well as Dolby Vision.
BSD 3-Clause "New" or "Revised" License
254 stars 60 forks source link

Changing HDR metadata #3

Closed micsic85 closed 5 years ago

micsic85 commented 5 years ago

Is it possible to have a script to change the HDR metadata? Something like this: -colorprim bt2020 -transfer smpte-st-2084 -colormatrix bt2020nc -masterdisplay G(13250,34500)B(7500,3000)R(34000,16000)WP(15635,16450)L(40000000,50) -maxcll 0,0 NVHSP can do this for HDR10, but it doesnt work for this.

Thanks!

ShaoWeiguo commented 5 years ago

No, and there is no plan to add this feature. This tool is used to multiplex the elementary stream (like AVC, HEVC and DD+ et al.) into MP4 container, and modify/patch the elementary stream is not in the scope.

micsic85 commented 5 years ago

What future projects you have in work? Converting those dual layers to a single layer DV would be perfect! Thanks for your answer

ShaoWeiguo commented 5 years ago

Support more Dolby Vision profiles and av1 codecs are in the list. "Converting those dual layers to a single layer DV would be perfect!", what's the meaning? Could you give more information?

micsic85 commented 5 years ago

I mean a way to re-encode to a single layer (video) . Because now it is 2 videos in the MP4 container (the HDR video + the DV layer) But it could be great if we could encode this into one single layer, like the LG demos.

micsic85 commented 5 years ago

For example Amazon fire stick TV only support profiles 5, 8 and 9 and they are all single layer

ShaoWeiguo commented 5 years ago

I see.
But the tool doesn't support. The recommend method is to encode from the source file.

micsic85 commented 5 years ago

but then Dolby Vision is lost I need a way to encode but keeping dolby vision

ShaoWeiguo commented 5 years ago

I mean you need the Dolby Vision Encoder and original source file.

micsic85 commented 5 years ago

and where is the Dolby Vision Encoder?

ShaoWeiguo commented 5 years ago

You need the license firstly. BTW, how did you get the Dolby Vision profile 4 stream?

micsic85 commented 5 years ago

from a dual layer DV file It is easy to encode HDR10 content, but I still cannot manage to encode DV content Because some TVs and players dont play dual layer DV files Even using "mp4muxer --dv-profile 5 ..........." it is still dv profile 7

ShaoWeiguo commented 5 years ago

Sorry, there is no transocder for Dolby Vision.