Dolby Vision now possible through MP4 Mux.

Please post here for issues related to UHD discs
KyleLeMarbe
Posts: 3
Joined: Sun Feb 06, 2022 8:22 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by KyleLeMarbe »

Created some powershell scripts to handle MKV to MP4 with dolby vision. Hoping others can get some value out of them.

https://github.com/KyleLeMarbe/DolbyVisionMuxer
Ichisuke
Posts: 2
Joined: Mon Feb 07, 2022 4:03 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by Ichisuke »

I'm new here, sorry if I ask a question that maybe has already been answered, but I can't find a way to do what I want, so I'm probably not looking at the right styff...
I have a DV MP4 file working fine via USB on my LG oled. Point is I want to add another audio track/different language to it.
How do I do that? Which program can I use to remux the MP4 correctly with the added track...? :(

Thanks to anyone who can help me.
jayper
Posts: 331
Joined: Sat Sep 29, 2012 5:57 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by jayper »

Ichisuke wrote:
Mon Feb 07, 2022 4:15 pm
I'm new here, sorry if I ask a question that maybe has already been answered, but I can't find a way to do what I want, so I'm probably not looking at the right styff...
I have a DV MP4 file working fine via USB on my LG oled. Point is I want to add another audio track/different language to it.
How do I do that? Which program can I use to remux the MP4 correctly with the added track...? :(

Thanks to anyone who can help me.
It depends on what you want the resulting filetype to be. If you're looking for a ts, m2ts, ISO, Blu-ray folder you can use TS-Muxer.

If you're looking for an MKV, you should use ffmpeg to convert the mp4 to an mkv and then you can use MKVToolNix to multiplex the new audio track with the MKV you created with ffmpeg.

I move away from MP4s, so I can't recommend anything if you're looking to keep the file as an MP4. Others will need to weigh in.
Last edited by jayper on Mon Feb 07, 2022 6:59 pm, edited 1 time in total.
RESET_9999
Posts: 2406
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

I agree with @jayper ... The easiest solution is txMuxer.
DV MP4 only gives me issues on my C8 internal player and Shield( stutter and audio hiccup).
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
Ichisuke
Posts: 2
Joined: Mon Feb 07, 2022 4:03 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by Ichisuke »

RESET_9999 wrote:
Mon Feb 07, 2022 6:15 pm
I agree with @jayper ... The easiest solution is txMuxer.
DV MP4 only gives me issues on my C8 internal player and Shield( stutter and audio hiccup).
jayper wrote:
Mon Feb 07, 2022 5:33 pm
Ichisuke wrote:
Mon Feb 07, 2022 4:15 pm
I'm new here, sorry if I ask a question that maybe has already been answered, but I can't find a way to do what I want, so I'm probably not looking at the right styff...
I have a DV MP4 file working fine via USB on my LG oled. Point is I want to add another audio track/different language to it.
How do I do that? Which program can I use to remux the MP4 correctly with the added track...? :(

Thanks to anyone who can help me.
It depends on what you want the resulting filetype to be. If you're looking for a ts, m2ts, ISO, Blu-ray folder you can use TS-Muxer.

If you're looking for an MKV, you should use ffmpeg to convert the mp4 to an mkv and then you can use MKVToolNix to multiplex the new audio track with the MKV you created with ffmpeg.

I move away from MP4s, so I can recommend anything if you're looking to keep the file as an MP4. Others will need to weigh in.
Tsmuxer (latest nightly version) won't open the MP4 file. Don't know why. As said the file is played perfectly fine on the LG. I thought that if I convert the file I'd lose the Dolby Vision? Will it retain the Dolby Vision track if I convert it to mkv with ffmpeg?
RESET_9999
Posts: 2406
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

Ichisuke wrote:
Mon Feb 07, 2022 7:01 pm

Tsmuxer (latest nightly version) won't open the MP4 file. Don't know why. As said the file is played perfectly fine on the LG. I thought that if I convert the file I'd lose the Dolby Vision? Will it retain the Dolby Vision track if I convert it to mkv with ffmpeg?
yep, some mp4 wont work in tsmuxer but the solution is easy. Remux the mp4 to mkv with mkvtoolnix and then to TS with tsmuxer.
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
KyleLeMarbe
Posts: 3
Joined: Sun Feb 06, 2022 8:22 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by KyleLeMarbe »

Ichisuke wrote:
Mon Feb 07, 2022 7:01 pm
RESET_9999 wrote:
Mon Feb 07, 2022 6:15 pm
I agree with @jayper ... The easiest solution is txMuxer.
DV MP4 only gives me issues on my C8 internal player and Shield( stutter and audio hiccup).
jayper wrote:
Mon Feb 07, 2022 5:33 pm
Ichisuke wrote:
Mon Feb 07, 2022 4:15 pm
I'm new here, sorry if I ask a question that maybe has already been answered, but I can't find a way to do what I want, so I'm probably not looking at the right styff...
I have a DV MP4 file working fine via USB on my LG oled. Point is I want to add another audio track/different language to it.
How do I do that? Which program can I use to remux the MP4 correctly with the added track...? :(

Thanks to anyone who can help me.
It depends on what you want the resulting filetype to be. If you're looking for a ts, m2ts, ISO, Blu-ray folder you can use TS-Muxer.

If you're looking for an MKV, you should use ffmpeg to convert the mp4 to an mkv and then you can use MKVToolNix to multiplex the new audio track with the MKV you created with ffmpeg.

I move away from MP4s, so I can recommend anything if you're looking to keep the file as an MP4. Others will need to weigh in.
Tsmuxer (latest nightly version) won't open the MP4 file. Don't know why. As said the file is played perfectly fine on the LG. I thought that if I convert the file I'd lose the Dolby Vision? Will it retain the Dolby Vision track if I convert it to mkv with ffmpeg?
Extracting the video stream with FFMpeg will preserve the dolby vision profile. MP4Muxer should be able to take multiple audio streams, but I have not tested that. I would extract the video file you want as well as any audio tracks and use MP4Muxer to put them back together. I have scripts in my signature that would be able to help. Would only need slight modification.
staknhalo
Posts: 178
Joined: Sun Oct 11, 2020 12:05 am

Re: Dolby Vision now possible through MP4 Mux.

Post by staknhalo »

RESET_9999 wrote:
Mon Feb 07, 2022 6:15 pm
DV MP4 only gives me issues on my C8 internal player and Shield( stutter and audio hiccup).
this has been happening to me only as of the latest update as well, hopefully it's resolved with the next rollup update. I switched back to the SHIELD because the CCwGTV has stuttering too on DV (maybe mp4 only who knows) content with it's latest update

can't win
Albano
Posts: 29
Joined: Sat Jan 15, 2022 8:30 am

Re: Dolby Vision now possible through MP4 Mux.

Post by Albano »

@RESET_9999
I just practiced remux WEB-DL P5 to Blu-ray on Arrival movies in my computer.
However, my remove frame result is a negative number, not a positive number like yours.
So what should I do next?

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

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

Albano wrote:
Mon Feb 07, 2022 11:19 pm
@RESET_9999
I just practiced remux WEB-DL P5 to Blu-ray on Arrival movies in my computer.
However, my remove frame result is a negative number, not a positive number like yours.
So what should I do next?
duplicate 131 frames with ''edit.duplicate.frames.json'' and ''RPU.EDIT.duplicate.frames.bat''
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
Albano
Posts: 29
Joined: Sat Jan 15, 2022 8:30 am

Re: Dolby Vision now possible through MP4 Mux.

Post by Albano »

@nekno
@RESET_9999
Thanks for your helping.
After many tries, I found out that, only convert PRU P5 to P8.2, can't convert P5 to P8.1 or P8.6 by dovi_tool.
The reason is because P5 use YCbCr color space while P8.1 and P8.6 use BT2020 color space.
Only Colorfront Transkoder tool is able to convert PRU P5 to P8.1 or P8.6.
It's definitely a high end feature requiring licensing Dolby Vision technology.
Netflix mention that particular software here: Dolby Vision HDR Mastering
RESET_9999
Posts: 2406
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

Albano wrote:
Tue Feb 08, 2022 4:08 pm
@nekno
@RESET_9999
Thanks for your helping.
After many tries, I found out that, only convert PRU P5 to P8.2, can't convert P5 to P8.1 or P8.6 by dovi_tool.
The reason is because P5 use YCbCr color space while P8.1 and P8.6 use BT2020 color space.
what? basicaly none of what you just said is true.
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
Albano
Posts: 29
Joined: Sat Jan 15, 2022 8:30 am

Re: Dolby Vision now possible through MP4 Mux.

Post by Albano »

RESET_9999 wrote:
Tue Feb 08, 2022 5:33 pm
Albano wrote:
Tue Feb 08, 2022 4:08 pm
@nekno
@RESET_9999
Thanks for your helping.
After many tries, I found out that, only convert PRU P5 to P8.2, can't convert P5 to P8.1 or P8.6 by dovi_tool.
The reason is because P5 use YCbCr color space while P8.1 and P8.6 use BT2020 color space.
what? basicaly none of what you just said is true.
I mean if you only have one DV P5 file, you can't creat one DV P8.1 or DV P8.6 file.
RESET_9999
Posts: 2406
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

Albano wrote:
Tue Feb 08, 2022 8:36 pm
I mean if you only have one DV P5 file, you can't creat one DV P8.1 or DV P8.6 file.
ha you're talking about the conversion of profile 5 videos (IcTcP colorspace) to PQ YCBCR and not the RPU itself.
The dovi_tool is not a video encoder, it only converts the RPU to 8.1. not the video
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
Albano
Posts: 29
Joined: Sat Jan 15, 2022 8:30 am

Re: Dolby Vision now possible through MP4 Mux.

Post by Albano »

@RESET_9999
Due to some hardware compatibility issues, I had to go back to Windows 7.
Of course, when I go back to Windows 7, I won't be able to use D3D11 anymore, so I should choose DXVA2 (native) or DXVA2 (copy-back) for best measureHDR quality result?
Post Reply