Page 1 of 2

Possible to keep dovi layer in video track

Posted: Sat Jan 29, 2022 6:20 am
by Sonic3R
Hi,

I want to thanks again for this awesome tool.

There is possibility to keep one video track when demux an UHD that contains DoVi?

Thanks

Possible to keep dovi layer in video track

Posted: Sat Jan 29, 2022 6:38 am
by Rocky
I don't understand your question. Is something not working?

Possible to keep dovi layer in video track

Posted: Sat Jan 29, 2022 6:40 am
by Sonic3R
Let’s assume an UHD disc that have 2 video tracks: one normal and another that is DoVi

It is possible when Demux to output one single video file instead of two?

I hope I was clear

Possible to keep dovi layer in video track

Posted: Sat Jan 29, 2022 7:53 am
by Rocky
Still not fully clear. If you just want to demux only the main video, then simply uncheck the dovi stream. If you are asking me to convert dovi profile 7 to profile 5, that is a complex process that goes well beyond simple demuxing. I won't get involved in that. You can try Doom9.

Possible to keep dovi layer in video track

Posted: Sun Jan 08, 2023 11:23 pm
by Sonic3R
Hi,

Ok I understand.

I wished to be like MakeMKV which extract one mkv file with DV inside, not as separate track.

Thanks and keep up the good work

Possible to keep dovi layer in video track

Posted: Mon Jan 09, 2023 2:45 pm
by Rocky
I could get code from dovi_tool:

https://github.com/quietvoid/dovi_tool

Scroll down to the "mux" section. The easiest way would be to just invoke the dovi_tool exe.

Not doing a lot of development these days but I'll try to find time for this.

As a work around before I integrate it, just run dovi_tool manually after demuxing. Let me know if that works.

Possible to keep dovi layer in video track

Posted: Tue Jan 10, 2023 3:52 pm
by Rocky
This appears to work just fine:

dovi_tool mux --eos-before-el --bl "16560 PID 1011.265" --el "16560 PID 1015.265"

Possible to keep dovi layer in video track

Posted: Mon Jan 23, 2023 8:38 pm
by Rocky
I corrected a syntax error in the post above.

Also, I have this integrated into DGDemux/DGDemuxGUI and hope to make a release tomorrow.

:salute: quietvoid for dovi_tool under MIT license.

After that, I have a debt to pay to Selur. ;)

Possible to keep dovi layer in video track

Posted: Mon Jan 23, 2023 8:59 pm
by Curly
Ooh, Rocky remembers how to code. Enquiring minds were wondering.

Possible to keep dovi layer in video track

Posted: Mon Jan 23, 2023 9:01 pm
by Sherman

Possible to keep dovi layer in video track

Posted: Mon Jan 23, 2023 9:06 pm
by Albert
Biology?! No idea what they are talking about, so here:

Image

Possible to keep dovi layer in video track

Posted: Tue Jan 24, 2023 9:40 am
by Rocky
DGDemux/DGDemuxGUI 64 released with DolbyVision merging (as done by MakeMKV).

Possible to keep dovi layer in video track

Posted: Thu Jan 26, 2023 1:08 am
by Sonic3R
You rock, Rocky !

Possible to keep dovi layer in video track

Posted: Thu Jan 26, 2023 12:32 pm
by Rocky
Thank you, Sir. Let me know if you run into any problems with it.

Possible to keep dovi layer in videfsdfsdo track

Posted: Thu Feb 02, 2023 3:26 am
by Guest 3
would be great to have option to convert to profile 8 during demux/dovi merge and also mux to mkv (use command line mkvmerge util?). :)

Possible to keep dovi layer in video track

Posted: Thu Feb 02, 2023 11:48 am
by Rocky
Do you know an appropriate dovi_tool command to do that?

Possible to keep dovi layer in video track

Posted: Fri Feb 03, 2023 4:00 am
by Guest 3
From DoVi HEVC file:

Code: Select all

dovi_tool.exe -m 2 extract-rpu -i "input.hevc" --rpu-out "output_dovi81_metadata_NOT_CROPPED.bin"
and then you just inject it to the hdr video stream

Code: Select all

dovi_tool.exe inject-rpu -i "hdr_video.hevc" --rpu-in "output_dovi81_metadata_NOT_CROPPED.bin" -o "injected_output.hevc"
then you can delete both demuxed original HEVC STREAMS and leave only injected_output.hevc

and optionally have the option to mux HEVC to MKV using mkvmerge command-line...

Code: Select all

mkvmerge.exe -o "injected_output.mkv" "injected_output.hevc"
and then delete HEVC file also. :)

you can also plot the DoVi RPU L1 metadata into a graph from RPU BIN file..

Code: Select all

dovi_tool.exe plot "output_dovi81_metadata_NOT_CROPPED.bin" -t "Dolby Vision L1 Graph" -o "DoVi_L1_plot.png"
sugested version for dovi_tool 2.0.1, mkvmerge 73.0

Possible to keep dovi layer in video track

Posted: Fri Feb 03, 2023 7:08 am
by Rocky
input.hevc is BL or EL or merged one or what?

hdr_video.hevc is BL or EL or merged one or what?

Possible to keep dovi layer in video track

Posted: Sat Feb 04, 2023 5:30 am
by Guest 3
Rocky wrote:
Fri Feb 03, 2023 7:08 am
input.hevc is BL or EL or merged one or what?

hdr_video.hevc is BL or EL or merged one or what?
Image

input.hevc = stream ID 1015
hdr_video.hevc = stream ID 1011

Possible to keep dovi layer in video track

Posted: Sat Feb 04, 2023 6:08 am
by Rocky
Thank you, Guest 3. Should be straightforward to do this.

Possible to keep dovi layer in video track

Posted: Tue Feb 07, 2023 12:42 pm
by Sherman

Possible to keep dovi layer in video track

Posted: Tue Feb 07, 2023 7:34 pm
by Natasha

Possible to keep dovi layer in video track

Posted: Wed Feb 08, 2023 7:01 pm
by Rocky
I will implement this tomorrow. Today I added tooltips to all the options in DGDemuxGUI.

I can't bundle mkvmerge as it is licensed under GPL2.

Possible to keep dovi layer in video track

Posted: Thu Feb 09, 2023 2:39 am
by Guest 3
Rocky wrote:
Wed Feb 08, 2023 7:01 pm
I can't bundle mkvmerge as it is licensed under GPL2.
maybe you can create the option and will request a path to mkvmerge in settings. :)

Possible to keep dovi layer in video track

Posted: Thu Feb 09, 2023 7:24 am
by Rocky
Surely it's possible but honestly I'm disinclined to it simply because the app is a demuxer, not a muxer. I don't have any interest in converting it into some kind of do-it-all app.