Dolby Vision now possible through MP4 Mux.

Please post here for issues related to UHD discs
Message
Author
SamuriHL
Posts: 2324
Joined: Mon Jun 14, 2010 5:32 pm

Re: Dolby Vision now possible through MP4 Mux.

#3766 Post by SamuriHL » Thu Dec 03, 2020 12:10 am

Merge them with mkvtoolnix.

4knewbie
Posts: 15
Joined: Mon Apr 06, 2020 2:43 pm

Re: Dolby Vision now possible through MP4 Mux.

#3767 Post by 4knewbie » Thu Dec 03, 2020 12:14 am

I use dual layer dv mp4, I don’t think I can merge the files

SamuriHL
Posts: 2324
Joined: Mon Jun 14, 2010 5:32 pm

Re: Dolby Vision now possible through MP4 Mux.

#3768 Post by SamuriHL » Thu Dec 03, 2020 12:39 am

Probably not. I don't know that plex is going to notice though. Your part 1 and 2 I mean.

RayDawGGG
Posts: 12
Joined: Tue Aug 18, 2020 10:32 pm

Re: Dolby Vision now possible through MP4 Mux.

#3769 Post by RayDawGGG » Thu Dec 03, 2020 2:25 am

This is odd.. Does the Dolby Vision logo matter? I am able to play my SL DV(7.06) mkvs through the plex app on the shield pro (2019). The DV logo shows.. it plays fine except I noticed color issues playing Lord of the rings - Two Towers, Joker and Gemini man. My plex server is on my WIN 10 PC. My LG CX also has a plex app. While these mkvs don't play through the USB on the CX, they do play via my server to the plex app on the CX. Although the HDR logo shows on the CX plex app while playing these mkvs, they seem to be actually playing in DV. The colors are correct and the detail is definitely different than the HDR versions. In a blind test without the logos, how could you tell the difference.. your eyes. It could be that whatever is supposed to trigger the DV flag in these mkvs confuses the CX plex app and it shows the HDR logo instead of the DV logo(a possibility). Just because the flag does not show as DV, does that mean it is not DV? We know Mike and Yuescope's tools work, and it could be a coding thing that's causing this mishap on the CX. Do we really need the logo to verify DV? I've re-watched the Joker and Gemini Man SL DV's and they look 100% better this way vs the shield plex app wit screwy colors. Can someone with a CX try this method versus the shield 2019 and see if they agree or disagree?

shawnc22
Posts: 637
Joined: Tue Jan 21, 2020 7:40 am

Re: Dolby Vision now possible through MP4 Mux.

#3770 Post by shawnc22 » Thu Dec 03, 2020 5:34 am

RayDawGGG wrote:
Thu Dec 03, 2020 2:25 am
This is odd.. Does the Dolby Vision logo matter? I am able to play my SL DV(7.06) mkvs through the plex app on the shield pro (2019). The DV logo shows.. it plays fine except I noticed color issues playing Lord of the rings - Two Towers, Joker and Gemini man. My plex server is on my WIN 10 PC. My LG CX also has a plex app. While these mkvs don't play through the USB on the CX, they do play via my server to the plex app on the CX. Although the HDR logo shows on the CX plex app while playing these mkvs, they seem to be actually playing in DV. The colors are correct and the detail is definitely different than the HDR versions. In a blind test without the logos, how could you tell the difference.. your eyes. It could be that whatever is supposed to trigger the DV flag in these mkvs confuses the CX plex app and it shows the HDR logo instead of the DV logo(a possibility). Just because the flag does not show as DV, does that mean it is not DV? We know Mike and Yuescope's tools work, and it could be a coding thing that's causing this mishap on the CX. Do we really need the logo to verify DV? I've re-watched the Joker and Gemini Man SL DV's and they look 100% better this way vs the shield plex app wit screwy colors. Can someone with a CX try this method versus the shield 2019 and see if they agree or disagree?
Well if there's no logo, then the TV is not in DV mode; there's really no way around it. The WebOS plex app has no support for DV in MKVs so its defaulting to the HDR10 layer on playback. I would go back and double check the picture mode you're in during HDR & DV playback from the Shield and the same for playback from TV apps. I have it set to Cinema for everything and HDR looks the same to me on both the Shield and TV apps.

DaMacFunkin
Posts: 311
Joined: Tue Oct 30, 2018 4:17 pm

Re: Dolby Vision now possible through MP4 Mux.

#3771 Post by DaMacFunkin » Thu Dec 03, 2020 7:25 am

Hi, you might be right, I think Cinema Home (User) is subjectively brighter on the LG for internal apps, if you choose Cinema (User) for apps and HDMI you will get the same curve.

baker99
Posts: 84
Joined: Wed Oct 30, 2019 7:05 pm

Re: Dolby Vision now possible through MP4 Mux.

#3772 Post by baker99 » Thu Dec 03, 2020 10:24 am

RESET_9999 wrote:
Wed Dec 02, 2020 8:12 pm
The x700 supports most of the single-track / double-layer files. All the MEL movies work but some FEL movies don't work. Also the ST-DL files don't have the reboot bug.
I didn't find a dual-track / dual-layer file that doesn't work yet.
That's good to know, thank you, I'll give it a try.

daddy
Posts: 77
Joined: Sat Jul 06, 2019 8:17 am

Re: Dolby Vision now possible through MP4 Mux.

#3773 Post by daddy » Thu Dec 03, 2020 10:42 am

4knewbie wrote:
Thu Dec 03, 2020 12:14 am
I use dual layer dv mp4, I don’t think I can merge the files
You need to merge the m2ts files when you are demuxing the BL, EL and audio files.
To do this with ffmpeg
1- create a txt file contening a list of the files to merge
exemple : m2ts_list.txt

Code: Select all

file 'F:\000731.M2TS'
file 'F:\000732.M2TS'
2- extract the BL, EL and audio (dts-hd) of the merged m2ts files

Code: Select all

ffmpeg -f concat -safe 0 -i m2ts_list.txt -map 0:0 -c copy BL.hevc -map 0:1 -c copy EL.hevc -map 0:4 -c copy audio.mp4
Then make the vidéo DV mp4

Code: Select all

mp4muxer_64bits.exe --dv-profile 7 --input-file BL.hevc --input-file EL.hevc --output-file video_dv.mp4
And then add audio to the vidéo

Code: Select all

mp4box.exe -tmp F:\ -add video_dv.mp4:rate=0 -add audio.mp4#audio:lang=fr-FR -no-iod F:\movie.mp4

4knewbie
Posts: 15
Joined: Mon Apr 06, 2020 2:43 pm

Re: Dolby Vision now possible through MP4 Mux.

#3774 Post by 4knewbie » Thu Dec 03, 2020 12:42 pm

daddy wrote:
Thu Dec 03, 2020 10:42 am
4knewbie wrote:
Thu Dec 03, 2020 12:14 am
I use dual layer dv mp4, I don’t think I can merge the files
You need to merge the m2ts files when you are demuxing the BL, EL and audio files.
To do this with ffmpeg
1- create a txt file contening a list of the files to merge
exemple : m2ts_list.txt

Code: Select all

file 'F:\000731.M2TS'
file 'F:\000732.M2TS'
2- extract the BL, EL and audio (dts-hd) of the merged m2ts files

Code: Select all

ffmpeg -f concat -safe 0 -i m2ts_list.txt -map 0:0 -c copy BL.hevc -map 0:1 -c copy EL.hevc -map 0:4 -c copy audio.mp4
Then make the vidéo DV mp4

Code: Select all

mp4muxer_64bits.exe --dv-profile 7 --input-file BL.hevc --input-file EL.hevc --output-file video_dv.mp4
And then add audio to the vidéo

Code: Select all

mp4box.exe -tmp F:\ -add video_dv.mp4:rate=0 -add audio.mp4#audio:lang=fr-FR -no-iod F:\movie.mp4
Thank you so much, can I do that with my already made dual layer dv mp4s or is it too late ?

pete19
Posts: 31
Joined: Thu Dec 03, 2020 12:37 pm

Re: Dolby Vision now possible through MP4 Mux.

#3775 Post by pete19 » Thu Dec 03, 2020 1:29 pm

@jcdr428:

I used latest tsmuxer w64-nightly-2020-11-17--01-21-46 and muxed the first 3 mins of a UHD DV disc folder rip to a BMV folder and a m2ts file. Selected the BL + EL, Dolby Atmos audio and then muxed.

When playing back on LG CX via Oppo, DV and Dolby Atmos are triggered correctly on both muxed versions, but the muxed versions are always a little bit darker than the original disc.

Is this a known limitation or is there a setting that I'm missing ?

I took screenshot comparisons and also switched the order of the versions when played back to ensure it's not the LG dimming. Every time the muxed versions are a little bit darker.

Looking at mediainfo, the only difference I can see is in the HDR FORMAT tag of the EL of the m2ts mux:

original disc:
HDR format : SMPTE ST 2086, HDR10 compatible

muxed BDM folder
HDR format : SMPTE ST 2086, HDR10 compatible

muxed m2ts
HDR format : Dolby Vision, Version 1.0, dvhe.07.06, EL+RPU, Blu-ray compatible / SMPTE ST 2086, HDR10 compatible

see screenshot comparison here: https://screenshotcomparison.com/comparison/8739

(ignore blown out highlights, this is a camera setting issue)


Thx
Last edited by pete19 on Sun Dec 06, 2020 5:11 am, edited 2 times in total.

dmartinvera00
Posts: 4
Joined: Fri Oct 23, 2020 5:00 pm

Re: Dolby Vision now possible through MP4 Mux.

#3776 Post by dmartinvera00 » Thu Dec 03, 2020 1:50 pm

daddy wrote:
Thu Dec 03, 2020 10:42 am
4knewbie wrote:
Thu Dec 03, 2020 12:14 am
I use dual layer dv mp4, I don’t think I can merge the files
You need to merge the m2ts files when you are demuxing the BL, EL and audio files.
To do this with ffmpeg
1- create a txt file contening a list of the files to merge
exemple : m2ts_list.txt

Code: Select all

file 'F:\000731.M2TS'
file 'F:\000732.M2TS'
2- extract the BL, EL and audio (dts-hd) of the merged m2ts files

Code: Select all

ffmpeg -f concat -safe 0 -i m2ts_list.txt -map 0:0 -c copy BL.hevc -map 0:1 -c copy EL.hevc -map 0:4 -c copy audio.mp4
Then make the vidéo DV mp4

Code: Select all

mp4muxer_64bits.exe --dv-profile 7 --input-file BL.hevc --input-file EL.hevc --output-file video_dv.mp4
And then add audio to the vidéo

Code: Select all

mp4box.exe -tmp F:\ -add video_dv.mp4:rate=0 -add audio.mp4#audio:lang=fr-FR -no-iod F:\movie.mp4
where can i find more commands like that? or learn how to use it

4knewbie
Posts: 15
Joined: Mon Apr 06, 2020 2:43 pm

Re: Dolby Vision now possible through MP4 Mux.

#3777 Post by 4knewbie » Thu Dec 03, 2020 2:13 pm

4knewbie wrote:
Thu Dec 03, 2020 12:42 pm
daddy wrote:
Thu Dec 03, 2020 10:42 am
4knewbie wrote:
Thu Dec 03, 2020 12:14 am
I use dual layer dv mp4, I don’t think I can merge the files
You need to merge the m2ts files when you are demuxing the BL, EL and audio files.
To do this with ffmpeg
1- create a txt file contening a list of the files to merge
exemple : m2ts_list.txt

Code: Select all

file 'F:\000731.M2TS'
file 'F:\000732.M2TS'
2- extract the BL, EL and audio (dts-hd) of the merged m2ts files

Code: Select all

ffmpeg -f concat -safe 0 -i m2ts_list.txt -map 0:0 -c copy BL.hevc -map 0:1 -c copy EL.hevc -map 0:4 -c copy audio.mp4
Then make the vidéo DV mp4

Code: Select all

mp4muxer_64bits.exe --dv-profile 7 --input-file BL.hevc --input-file EL.hevc --output-file video_dv.mp4
And then add audio to the vidéo

Code: Select all

mp4box.exe -tmp F:\ -add video_dv.mp4:rate=0 -add audio.mp4#audio:lang=fr-FR -no-iod F:\movie.mp4
Thank you so much, can I do that with my already made dual layer dv mp4s or is it too late ?
So I tried merging 2 already made mp4 with ffmpeg but the dv layer got lost in the process

4knewbie
Posts: 15
Joined: Mon Apr 06, 2020 2:43 pm

Re: Dolby Vision now possible through MP4 Mux.

#3778 Post by 4knewbie » Thu Dec 03, 2020 2:16 pm

daddy wrote:
Thu Dec 03, 2020 10:42 am
4knewbie wrote:
Thu Dec 03, 2020 12:14 am
I use dual layer dv mp4, I don’t think I can merge the files
You need to merge the m2ts files when you are demuxing the BL, EL and audio files.
To do this with ffmpeg
1- create a txt file contening a list of the files to merge
exemple : m2ts_list.txt

Code: Select all

file 'F:\000731.M2TS'
file 'F:\000732.M2TS'
2- extract the BL, EL and audio (dts-hd) of the merged m2ts files

Code: Select all

ffmpeg -f concat -safe 0 -i m2ts_list.txt -map 0:0 -c copy BL.hevc -map 0:1 -c copy EL.hevc -map 0:4 -c copy audio.mp4
Then make the vidéo DV mp4

Code: Select all

mp4muxer_64bits.exe --dv-profile 7 --input-file BL.hevc --input-file EL.hevc --output-file video_dv.mp4
And then add audio to the vidéo

Code: Select all

mp4box.exe -tmp F:\ -add video_dv.mp4:rate=0 -add audio.mp4#audio:lang=fr-FR -no-iod F:\movie.mp4

Code: Select all

ffmpeg -f concat -safe 0 -i m2ts_list.txt -map 0:0 -c copy BL.hevc -map 0:1 -c copy EL.hevc -map 0:4 -c copy audio.mp4
0:4 refers to the desired audio right ?

MastaG
Posts: 91
Joined: Thu Aug 08, 2019 11:40 am

Re: Dolby Vision now possible through MP4 Mux.

#3779 Post by MastaG » Thu Dec 03, 2020 3:20 pm

Any idea whether the Emby application also capable of triggering DV on the Shield or LG WebOS when using mkv's?

MastaG
Posts: 91
Joined: Thu Aug 08, 2019 11:40 am

Re: Dolby Vision now possible through MP4 Mux.

#3780 Post by MastaG » Thu Dec 03, 2020 3:24 pm

pete19 wrote:
Thu Dec 03, 2020 1:29 pm
@jcdr428:

I used latest tsmuxer w64-nightly-2020-11-17--01-21-46 and muxed the first 3 mins of a UHD DV disc folder rip to a BMV folder and a m2ts file. Selected the BL + EL, Dolby Atmos audio and then muxed.

When playing back on LG CX via Oppo, DV and Dolby Atmos are triggered correctly on both muxed versions, but the muxed versions are always a little bit darker than the original disc.

Is this a known limitation or is there a setting that I'm missing ?

I took screenshot comparisons and also switched the order of the versions when played back to ensure it's not the LG dimming. Every time the muxed versions are a little bit darker.

Looking at mediainfo, the only difference I can see is in the HDR FORMAT tag of the EL of the m2ts mux:

original disc:
HDR format : SMPTE ST 2086, HDR10 compatible

muxed BDM folder
HDR format : SMPTE ST 2086, HDR10 compatible

muxed m2ts
HDR format : Dolby Vision, Version 1.0, dvhe.07.06, EL+RPU, Blu-ray compatible / SMPTE ST 2086, HDR10 compatible

Thx
Perhaps try to mux the BL + EL to a single .mp4 file with Dolby's mp4muxer.
Then in TSMuxer use the mp4 instead of the BL + EL.

Post Reply