Dolby Vision now possible through MP4 Mux.

Please post here for issues related to UHD discs
eblackadder
Posts: 15
Joined: Mon Mar 16, 2020 8:32 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by eblackadder »

When i'm using ffmpeg to get the BL and El it finish the job and I have both layers but there are a lot of errors before the process is starting. I'm really new to this so hopefully someone can explain to me what it means. Thanks a lot!

ffmpeg version git-2020-03-12-675bb1f Copyright (c) 2000-2020 the FFmpeg developers
built with gcc 9.2.1 (GCC) 20200122
configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-ffnvcodec --enable-cuda-llvm --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt --enable-amf
libavutil 56. 42.100 / 56. 42.100
libavcodec 58. 75.100 / 58. 75.100
libavformat 58. 41.100 / 58. 41.100
libavdevice 58. 9.103 / 58. 9.103
libavfilter 7. 77.100 / 7. 77.100
libswscale 5. 6.101 / 5. 6.101
libswresample 3. 6.100 / 3. 6.100
libpostproc 55. 6.100 / 55. 6.100
../src/libbluray-20191112-137974c/src/libbluray/bdnav/index_parse.c:222: index.bdmv: unknown data in extension 3.1: 0x00 0x00 0x05 0x00 0x00000000
../src/libbluray-20191112-137974c/src/libbluray/bdj/bdj.c:133: Error opening registry key SOFTWARE\JavaSoft\Java Runtime Environment\
../src/libbluray-20191112-137974c/src/libbluray/bdj/bdj.c:750: BD-J check: Failed to load JVM library
../src/libbluray-20191112-137974c/src/libbluray/bluray.c:1089: WARNING: BluRay profile 6 BD-J menu support is experimental
../src/libbluray-20191112-137974c/src/libbluray/bdj/bdj.c:133: Error opening registry key SOFTWARE\JavaSoft\Java Runtime Environment\
../src/libbluray-20191112-137974c/src/libbluray/bdj/bdj.c:750: BD-J check: Failed to load JVM library
[bluray @ 000002db1ddaa2c0] 7 usable playlists:
[bluray @ 000002db1ddaa2c0] playlist 00040.mpls (1:58:59)
[bluray @ 000002db1ddaa2c0] playlist 00965.mpls (0:05:33)
[bluray @ 000002db1ddaa2c0] playlist 01237.mpls (0:04:29)
[bluray @ 000002db1ddaa2c0] playlist 01238.mpls (0:12:01)
[bluray @ 000002db1ddaa2c0] playlist 01239.mpls (0:03:52)
[bluray @ 000002db1ddaa2c0] playlist 01240.mpls (0:06:59)
[bluray @ 000002db1ddaa2c0] playlist 01241.mpls (0:10:25)
[bluray @ 000002db1ddaa2c0] selected 00040.mpls
[mpegts @ 000002db1dda9340] PES packet size mismatch
[mpegts @ 000002db1dda9340] Packet corrupt (stream = 13, dts = 1047030).
[mpegts @ 000002db1dda9340] PES packet size mismatch
[mpegts @ 000002db1dda9340] Packet corrupt (stream = 13, dts = 1047030).
[mpegts @ 000002db1dda9340] probed stream 13 failed
[hevc @ 000002db1ddc1b00] Skipping NAL unit 62
[mpegts @ 000002db1dda9340] start time for stream 8 is not set in estimate_timings_from_pts
[mpegts @ 000002db1dda9340] start time for stream 9 is not set in estimate_timings_from_pts
[mpegts @ 000002db1dda9340] start time for stream 10 is not set in estimate_timings_from_pts
[mpegts @ 000002db1dda9340] start time for stream 11 is not set in estimate_timings_from_pts
[mpegts @ 000002db1dda9340] start time for stream 12 is not set in estimate_timings_from_pts
../src/libbluray-20191112-137974c/src/libbluray/bluray.c:254: 00294.m2ts: no timestamp for SPN 0 (got 0). clip 524280-321800234.
[mpegts @ 000002db1dda9340] Could not find codec parameters for stream 8 (Subtitle: hdmv_pgs_subtitle (pgssub) ([144][0][0][0] / 0x0090)): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 000002db1dda9340] Could not find codec parameters for stream 9 (Subtitle: hdmv_pgs_subtitle (pgssub) ([144][0][0][0] / 0x0090)): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 000002db1dda9340] Could not find codec parameters for stream 10 (Subtitle: hdmv_pgs_subtitle (pgssub) ([144][0][0][0] / 0x0090)): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 000002db1dda9340] Could not find codec parameters for stream 11 (Subtitle: hdmv_pgs_subtitle (pgssub) ([144][0][0][0] / 0x0090)): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 000002db1dda9340] Could not find codec parameters for stream 12 (Subtitle: hdmv_pgs_subtitle (pgssub) ([144][0][0][0] / 0x0090)): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 000002db1dda9340] Could not find codec parameters for stream 13 (Unknown: none): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, mpegts, from 'bluray:k:\1917':
Duration: 01:58:59.48, start: 11.633667, bitrate: 88679 kb/s
Program 1
Stream #0:0[0x1011]: Video: hevc (Main 10) (HDMV / 0x564D4448), yuv420p10le(tv, bt2020nc/bt2020/smpte2084), 3840x2160 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 90k tbn, 23.98 tbc
Stream #0:1[0x1015]: Video: hevc (Main 10) (HDMV / 0x564D4448), yuv420p10le(tv, bt2020nc/bt2020/smpte2084), 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 90k tbn, 23.98 tbc
Stream #0:2[0x1100]: Audio: truehd (AC-3 / 0x332D4341), 48000 Hz, 7.1, s32 (24 bit)
Stream #0:3[0x1100]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, 5.1(side), fltp, 448 kb/s
Stream #0:4[0x1101]: Audio: eac3 (AC-3 / 0x332D4341), 48000 Hz, 7.1, fltp, 768 kb/s
Stream #0:5[0x1102]: Audio: eac3 (AC-3 / 0x332D4341), 48000 Hz, 7.1, fltp, 768 kb/s
Stream #0:6[0x1103]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo, fltp, 192 kb/s
Stream #0:7[0x1104]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo, fltp, 192 kb/s
Stream #0:8[0x12a0]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)
Stream #0:9[0x12a1]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)
Stream #0:10[0x12a2]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)
Stream #0:11[0x12a3]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)
Stream #0:12[0x12a4]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)
No Program
Stream #0:13[0x1fff]: Unknown: none
Output #0, hevc, to 'n:\BL.hevc':
Metadata:
encoder : Lavf58.41.100
Stream #0:0: Video: hevc (Main 10) (HDMV / 0x564D4448), yuv420p10le(tv, bt2020nc/bt2020/smpte2084), 3840x2160 [SAR 1:1 DAR 16:9], q=2-31, 23.98 fps, 23.98 tbr, 23.98 tbn, 23.98 tbc
Output #1, hevc, to 'n:\EL.hevc':
Metadata:
encoder : Lavf58.41.100
Stream #1:0: Video: hevc (Main 10) (HDMV / 0x564D4448), yuv420p10le(tv, bt2020nc/bt2020/smpte2084), 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 23.98 fps, 23.98 tbr, 23.98 tbn, 23.98 tbc
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #1:0 (copy)
Press [q] to stop, [?] for help
frame=171176 fps=190 q=-1.0 Lq=-1.0 size=61101088kB time=01:58:59.42 bitrate=70109.3kbits/s speed=7.93x
video:67439027kB audio:0kB subtitle:0kB other streams:0kB global headers:1kB muxing overhead: unknown
Mortenjorstad
Posts: 19
Joined: Wed Mar 18, 2020 9:43 am

Re: Dolby Vision now possible through MP4 Mux.

Post by Mortenjorstad »

RESET_9999 wrote:
Wed Mar 18, 2020 12:09 am
Anyone tried 1917 ?

I'm testing @yusesope newest version of the tool but playback stops at exactly 1min16 on the shield (tried 3 times). BL+EL+RPU+Atmos
Fast forward also stop playback with the same error.

Image



as usual , Dual layer TS + Atmos works like a charm on the x700. that movie looks amazing in DV btw.
Had same error on some movies, you must turn off pgs subtitles.
yusesope
Posts: 221
Joined: Sun Jul 28, 2019 3:34 am

Re: Dolby Vision now possible through MP4 Mux.

Post by yusesope »

shawnc22 wrote:
Tue Mar 17, 2020 7:22 pm
...but unfortunately still stuck after everything reaches 100%...
been like this for about 30 mins now. looks like there might be an extra AUD in the EL?
This time it's not my fault :lol: !
There seems to be a little bit missing in the BL Layer: my program is in eternal expectation of a data that will never arrive! What is the title of the movie?


RESET_9999 wrote:
Wed Mar 18, 2020 12:09 am
Anyone tried 1917 ?
Officially the new Shield supports MEL tracks using the profile dvhe.04.
1917 has a FEL track.
It would be interesting to look at the Plex Server log to understand what went wrong (take a look HERE).
RESET_9999 wrote:
Wed Mar 18, 2020 12:09 am
I'm testing @yusesope newest version of the tool but playback stops at exactly 1min16 on the shield (tried 3 times). BL+EL+RPU+Atmos....
The moment you use tsMuxeR you are no longer testing my tool but tsMuxeR.

Do you guys want to check the correct functioning of my tool?
Well, create an mp4 file with Dolby's mp4muxer (bearing in mind the limitations of the individual device, like MEL vs FEL or hardware capability):
"-mode 1" (default mode) in my tool and "--dv-profile 4" in mp4muxer for owners of the new Shield (2019)
"-mode 1" (default mode) in my tool and "--dv-profile 7" (maybe also --dv-profile 4) in mp4muxer for owners of LG OLED TV (ninth, eighth
..series...maybe seventh series)
"-mode 2" in my tool and "--dv-profile 5" in mp4muxer for owners of Fire Stick 4K



MastaG wrote:
Wed Mar 18, 2020 8:20 am
Still no luck trying to play the TrueHD track using Emby on my LG C8 yet, even when I switch to the builtin speakers (instead of ARC) Emby will still instruct the server to transcode the truehd audio to AC3 :(
It is impossible to play a TrueHD or TrueHD/ATMOS track with an LG C8 (the same applies to both the internal speakers and the ARC connection). You need an external player (with HDMI audio Passthrough) and an AVR capable of decoding this type of audio track.



Arbigator wrote:
Wed Mar 18, 2020 6:53 am
What is it about a demuxed mkv rip that this tool doesn't like? Do you think it might be possible in the future?
UHD-BDs follow very precise rules: for example, the presence of NALu AUD between one frame and another is mandatory.
In remuxed files these rules are not always respected. It takes a lot of work to predict more or less anomalous behavior and I don't have time!
Mortenjorstad
Posts: 19
Joined: Wed Mar 18, 2020 9:43 am

Re: Dolby Vision now possible through MP4 Mux.

Post by Mortenjorstad »

I have know made M2ts files with hd audio on all my 56 DV movies. Every movie play perfect on shield 2019 with DV and Atmos/dts x sound.

1 demux with eac3to Eac3to path to moviefolder 2:bl.hevc 3:el.hevc

2 tak the 2 files and import them into yuseope tool v02

3 use tsmuxer modified Version, mux file made by yuseope tool with audio from Blu-ray.

https://drive.google.com/uc?id=10zOr0IU ... t=download
planet_hoarder
Posts: 33
Joined: Tue Mar 17, 2020 10:32 am

Re: Dolby Vision now possible through MP4 Mux.

Post by planet_hoarder »

yusesope wrote:
Wed Mar 18, 2020 10:58 am
Arbigator wrote:
Wed Mar 18, 2020 6:53 am
What is it about a demuxed mkv rip that this tool doesn't like? Do you think it might be possible in the future?
UHD-BDs follow very precise rules: for example, the presence of NALu AUD between one frame and another is mandatory.
In remuxed files these rules are not always respected. It takes a lot of work to predict more or less anomalous behavior and I don't have time!
Ok, now it makes sense why my Rocketman_remux.mkv works with mp4muxer but not with your tool.
Mortenjorstad wrote:
Wed Mar 18, 2020 1:39 pm
3 use tsmuxer modified Version, mux file made by yuseope tool with audio from Blu-ray.

https://drive.google.com/uc?id=10zOr0IU ... t=download
Thank you!
Finally I can try with this modified version!

did you try yuseope's v0.0.3 tool
Mortenjorstad
Posts: 19
Joined: Wed Mar 18, 2020 9:43 am

Re: Dolby Vision now possible through MP4 Mux.

Post by Mortenjorstad »

planet_hoarder wrote:
Wed Mar 18, 2020 1:57 pm
yusesope wrote:
Wed Mar 18, 2020 10:58 am
Arbigator wrote:
Wed Mar 18, 2020 6:53 am
What is it about a demuxed mkv rip that this tool doesn't like? Do you think it might be possible in the future?
UHD-BDs follow very precise rules: for example, the presence of NALu AUD between one frame and another is mandatory.
In remuxed files these rules are not always respected. It takes a lot of work to predict more or less anomalous behavior and I don't have time!
Ok, now it makes sense why my Rocketman_remux.mkv works with mp4muxer but not with your tool.
Mortenjorstad wrote:
Wed Mar 18, 2020 1:39 pm
3 use tsmuxer modified Version, mux file made by yuseope tool with audio from Blu-ray.

https://drive.google.com/uc?id=10zOr0IU ... t=download
Thank you!
Finally I can try with this modified version!

did you try yuseope's v0.0.3 tool
No, not tried v.003 since 002 works 100%
mulucy
Posts: 145
Joined: Tue Jan 07, 2020 7:08 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by mulucy »

Mortenjorstad wrote:
Wed Mar 18, 2020 1:39 pm
I have know made M2ts files with hd audio on all my 56 DV movies. Every movie play perfect on shield 2019 with DV and Atmos/dts x sound.

1 demux with eac3to Eac3to path to moviefolder 2:bl.hevc 3:el.hevc

2 tak the 2 files and import them into yuseope tool v02

3 use tsmuxer modified Version, mux file made by yuseope tool with audio from Blu-ray.

https://drive.google.com/uc?id=10zOr0IU ... t=download
Does it mean Shield support full 12-bit Single Track Double Layer with lossless Audio?
shawnc22
Posts: 637
Joined: Tue Jan 21, 2020 7:40 am

Re: Dolby Vision now possible through MP4 Mux.

Post by shawnc22 »

yusesope wrote:
Wed Mar 18, 2020 10:58 am
This time it's not my fault :lol: !
There seems to be a little bit missing in the BL Layer: my program is in eternal expectation of a data that will never arrive! What is the title of the movie?
Ah odd that the temp version of the v2 tool worked and v3 did not. Was it just less stingy on the matching bits between layers? Maybe that missing bit was the reason why the audio desynced halfway through the movie :lol:. The movie is A Quiet Place, but I'm going to try and extract the layers with eac3to or ffmpeg and see if that makes a difference.

edit: so it looks like it might be issue with my decrypted backup. Both ffmpeg and eac3to had issues extracting the layers at around the 0:43:35 point :
eac3to:

Code: Select all

[v03] [0:43:35] The source file seems to be damaged (transport error indicated).  <WARNING>
[v02] [0:43:35] The source file seems to be damaged (transport error indicated).  <WARNING>
[v03] [0:43:35] The source file seems to be damaged (sync byte missing).  <WARNING>
[v02] [0:43:35] The source file seems to be damaged (sync byte missing).  <WARNING>
[v03] [0:43:35] The source file seems to be damaged (sync byte missing).  <WARNING>
[v02] [0:43:35] The source file seems to be damaged (discontinuity).  <WARNING>
[v03] [0:43:35] The source file seems to be damaged (sync byte missing).  <WARNING>
[v02] [0:43:35] The source file seems to be damaged (sync byte missing).  <WARNING>
[v02] [0:43:35] The source file seems to be damaged (discontinuity).  <WARNING>
[v02] [0:43:35] The source file seems to be damaged (sync byte missing).  <WARNING>
[v02] [0:43:35] The source file seems to be damaged (discontinuity).  <WARNING>
[v03] [0:43:35] The source file seems to be damaged (discontinuity).  <WARNING>
Video track 2 contains 129801 frames.
Video track 3 contains 129802 frames.
ffmpeg:

Code: Select all

time=00:43:34.11 bitrate=68500[mpegts @ 000001aa05fc91c0] PES packet size mismatch
Although I had no errors in makemkv when making the initial backup, I'm guessing it's some kind of defect on the original disk?
Last edited by shawnc22 on Wed Mar 18, 2020 5:23 pm, edited 1 time in total.
planet_hoarder
Posts: 33
Joined: Tue Mar 17, 2020 10:32 am

Re: Dolby Vision now possible through MP4 Mux.

Post by planet_hoarder »

Mortenjorstad wrote:
Wed Mar 18, 2020 2:52 pm
planet_hoarder wrote:
Wed Mar 18, 2020 1:57 pm
yusesope wrote:
Wed Mar 18, 2020 10:58 am

UHD-BDs follow very precise rules: for example, the presence of NALu AUD between one frame and another is mandatory.
In remuxed files these rules are not always respected. It takes a lot of work to predict more or less anomalous behavior and I don't have time!
Ok, now it makes sense why my Rocketman_remux.mkv works with mp4muxer but not with your tool.
Mortenjorstad wrote:
Wed Mar 18, 2020 1:39 pm
3 use tsmuxer modified Version, mux file made by yuseope tool with audio from Blu-ray.

https://drive.google.com/uc?id=10zOr0IU ... t=download
Thank you!
Finally I can try with this modified version!

did you try yuseope's v0.0.3 tool
No, not tried v.003 since 002 works 100%
Can you please upload v0.0.2 as well?
I'd like to try and copy your setup.
mulucy wrote:
Wed Mar 18, 2020 3:08 pm
Does it mean Shield support full 12-bit Single Track Double Layer with lossless Audio?
No it does not. AFAIK, Single Track Double Layer is not 12-bit, it's 10-bit. Since no 12-bit TV's exist, we wouldn't see the difference.
I might be wrong.
Mortenjorstad
Posts: 19
Joined: Wed Mar 18, 2020 9:43 am

Re: Dolby Vision now possible through MP4 Mux.

Post by Mortenjorstad »

planet_hoarder wrote:
Wed Mar 18, 2020 4:57 pm
Mortenjorstad wrote:
Wed Mar 18, 2020 2:52 pm
planet_hoarder wrote:
Wed Mar 18, 2020 1:57 pm


Ok, now it makes sense why my Rocketman_remux.mkv works with mp4muxer but not with your tool.



Thank you!
Finally I can try with this modified version!

did you try yuseope's v0.0.3 tool
No, not tried v.003 since 002 works 100%
Can you please upload v0.0.2 as well?
I'd like to try and copy your setup.
mulucy wrote:
Wed Mar 18, 2020 3:08 pm
Does it mean Shield support full 12-bit Single Track Double Layer with lossless Audio?
No it does not. AFAIK, Single Track Double Layer is not 12-bit, it's 10-bit. Since no 12-bit TV's exist, we wouldn't see the difference.
I might be wrong.
V.0.0.2

https://drive.google.com/open?id=1HWf-l ... 4n70PDFeb-
eblackadder
Posts: 15
Joined: Mon Mar 16, 2020 8:32 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by eblackadder »

Mortenjorstad wrote:
Wed Mar 18, 2020 9:46 am
RESET_9999 wrote:
Wed Mar 18, 2020 12:09 am
Anyone tried 1917 ?

I'm testing @yusesope newest version of the tool but playback stops at exactly 1min16 on the shield (tried 3 times). BL+EL+RPU+Atmos
Fast forward also stop playback with the same error.

Image



as usual , Dual layer TS + Atmos works like a charm on the x700. that movie looks amazing in DV btw.
Had same error on some movies, you must turn off pgs subtitles.
Where do you have to turn it off?
eblackadder
Posts: 15
Joined: Mon Mar 16, 2020 8:32 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by eblackadder »

Mortenjorstad wrote:
Wed Mar 18, 2020 1:39 pm
I have know made M2ts files with hd audio on all my 56 DV movies. Every movie play perfect on shield 2019 with DV and Atmos/dts x sound.

1 demux with eac3to Eac3to path to moviefolder 2:bl.hevc 3:el.hevc

2 tak the 2 files and import them into yuseope tool v02

3 use tsmuxer modified Version, mux file made by yuseope tool with audio from Blu-ray.

https://drive.google.com/uc?id=10zOr0IU ... t=download
How do you play them if i may ask? With Plex? Or maybe MX Player?
Rufus
Posts: 2
Joined: Sun Mar 15, 2020 8:38 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by Rufus »

I've been following this thread for a few days. Great work. I've looked through all 114 pages and I thing I understand the current workflow.

Extract the BL and EL

Code: Select all

ffmpeg -i bluray:C:\Video\backup\SHAZAM -map 0:0 -c copy C:\Video\BL.hevc -map 0:1 -c copy C:\Video\EL.hevc
Use yuseope's v0.0.3 tool to combine BL and EL

Code: Select all

python src\bl_el_rpu_builder.py -bl C:\Video\BL.hevc -el C:\Video\EL.hevc -of C:\Video\bl_el_rpu_builder_v0.0.3\Shazam.hevc
Open the modified tsMuxerGUI.exe. (11f852a)
Open the backup disk main mpls playlist file.
Insert the newly created Shazam.hevc and select it with the check box.
Select TRUE-HD AC3 core+TRUE-HD 7.1 with the check box.
Uncheck everything else and then start demuxing as a ts file.

When I complete these steps I have an issue with playback.

My setup:
105 MB/s avg. throughput on gigabit Ethernet
Plex server (Plex Pass)
Shield 2019 with plex app (not pro)
Vizio PX75G1
Denon receiver with Atmos 5.1.2 speaker setup

When I play the ts file my TV shows Dolby Vision, my receiver shows Dolby Atmos/DSur and Plex lists it a AC3 5.1. However, about 9 seconds into the movie shudders and freezes. I can fast forward. It will jump ahead but it freezes up again. I also tried playback from an SD card on my streaming device. Same thing so I don't think it's network related.

I also ran the remuxing and created an m2ts file. This file plays smooth with great audio sync. However it appears that I loose the Dolby Vision indicator. My receiver shows Dolby Atmos and Plex lists it a TRUE HD 7.1

To run some further tests I gave Dolby's mp4muxer a try with the same BL EL hevc files and an AC3 5.1 audio track I extracted with the modified tsMuxerGUI.

Code: Select all

mp4muxer --dv-profile 7 --input-file C:\Video\BL.hevc --input-file C:\Video\EL.hevc --input-file C:\Video\00800.track_4353.ac3 --media-lang eng --output-file B:\Media\Calibration\Shazam_ver2.mp4
This worked as others have reported. Dolby Vision indicator, smooth audio video but it has AC3 5.1

Any ideas on what might be going on? Below is the MediaInfo on the files.

Shazam.ts

Code: Select all

General
ID                                       : 1 (0x1)
Complete name                            : B:\Media\Calibration\Shazam_Dolby_Vision_Atmos_Ver2_ts.ts
Format                                   : MPEG-TS
File size                                : 77.0 GiB
Duration                                 : 2 h 11 min
Overall bit rate mode                    : Variable
Overall bit rate                         : 83.7 Mb/s
Maximum Overall bit rate                 : 35.5 Mb/s

Video
ID                                       : 4117 (0x1015)
Menu ID                                  : 1 (0x1)
Format                                   : HEVC
Format/Info                              : High Efficiency Video Coding
Format profile                           : Main 10@L5.1@High
HDR format                               : Dolby Vision, Version 1.0, dvhe.08.06, BL+RPU / SMPTE ST 2086, HDR10 compatible
Codec ID                                 : 36
Duration                                 : 2 h 11 min
Bit rate                                 : 79.1 Mb/s
Width                                    : 3 840 pixels
Height                                   : 2 160 pixels
Display aspect ratio                     : 16:9
Frame rate                               : 23.976 (24000/1001) FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0 (Type 2)
Bit depth                                : 10 bits
Bits/(Pixel*Frame)                       : 0.398
Stream size                              : 72.8 GiB (95%)
Color range                              : Limited
Color primaries                          : BT.2020
Transfer characteristics                 : PQ
Matrix coefficients                      : BT.2020 non-constant
Mastering display color primaries        : Display P3
Mastering display luminance              : min: 0.0050 cd/m2, max: 4000 cd/m2
Maximum Content Light Level              : 1351 cd/m2
Maximum Frame-Average Light Level        : 384 cd/m2

Audio
ID                                       : 4352 (0x1100)
Menu ID                                  : 1 (0x1)
Format                                   : AC-3 MLP FBA 16-ch
Format/Info                              : Audio Coding 3 + Meridian Lossless Packing FBA with 16-channel presentation
Commercial name                          : Dolby TrueHD with Dolby Atmos
Muxing mode                              : Stream extension
Codec ID                                 : 131
Duration                                 : 2 h 11 min
Bit rate mode                            : Variable
Bit rate                                 : 448 kb/s
Maximum bit rate                         : 5 931 kb/s
Channel(s)                               : 8 channels
Channel layout                           : L R C LFE Ls Rs Lb Rb
Sampling rate                            : 48.0 kHz
Frame rate                               : 31.250 FPS (1536 SPF)
Compression mode                         : Lossy
Stream size                              : 422 MiB (1%)
Language                                 : English
Service kind                             : Complete Main
Number of dynamic objects                : 15
Bed channel count                        : 1 channel
Bed channel configuration                : LFE
Shazam.m2ts

Code: Select all

General
ID                                       : 1 (0x1)
Complete name                            : B:\Media\Calibration\Shazam_Dolby_Vision_Atmos_Ver2_m2ts.m2ts
Format                                   : BDAV
Format/Info                              : Blu-ray Video
File size                                : 78.7 GiB
Duration                                 : 2 h 11 min
Overall bit rate mode                    : Variable
Overall bit rate                         : 85.5 Mb/s
Maximum Overall bit rate                 : 35.5 Mb/s

Video
ID                                       : 4117 (0x1015)
Menu ID                                  : 1 (0x1)
Format                                   : HEVC
Format/Info                              : High Efficiency Video Coding
Format profile                           : Main 10@L5.1@High
HDR format                               : SMPTE ST 2086, HDR10 compatible
Codec ID                                 : 36
Duration                                 : 2 h 11 min
Bit rate                                 : 81.7 Mb/s
Width                                    : 3 840 pixels
Height                                   : 2 160 pixels
Display aspect ratio                     : 16:9
Frame rate                               : 23.976 (24000/1001) FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0 (Type 2)
Bit depth                                : 10 bits
Bits/(Pixel*Frame)                       : 0.411
Stream size                              : 75.2 GiB (96%)
Color range                              : Limited
Color primaries                          : BT.2020
Transfer characteristics                 : PQ
Matrix coefficients                      : BT.2020 non-constant
Mastering display color primaries        : Display P3
Mastering display luminance              : min: 0.0050 cd/m2, max: 4000 cd/m2
Maximum Content Light Level              : 1351 cd/m2
Maximum Frame-Average Light Level        : 384 cd/m2

Audio
ID                                       : 4352 (0x1100)
Menu ID                                  : 1 (0x1)
Format                                   : AC-3 MLP FBA 16-ch
Format/Info                              : Audio Coding 3 + Meridian Lossless Packing FBA with 16-channel presentation
Commercial name                          : Dolby TrueHD with Dolby Atmos
Muxing mode                              : Stream extension
Codec ID                                 : 131
Duration                                 : 2 h 11 min
Bit rate mode                            : Variable
Bit rate                                 : 448 kb/s
Maximum bit rate                         : 5 931 kb/s
Channel(s)                               : 8 channels
Channel layout                           : L R C LFE Ls Rs Lb Rb
Sampling rate                            : 48.0 kHz
Frame rate                               : 31.250 FPS (1536 SPF)
Compression mode                         : Lossy
Stream size                              : 422 MiB (1%)
Language                                 : English
Service kind                             : Complete Main
Number of dynamic objects                : 15
Bed channel count                        : 1 channel
Bed channel configuration                : LFE
Shazam.mp4

Code: Select all

General
Complete name                            : B:\Media\Calibration\Shazam_ver2.mp4
Format                                   : MPEG-4
Format profile                           : Base Media / Version 2
Codec ID                                 : mp42 (mp42/dby1/isom)
File size                                : 71.1 GiB
Duration                                 : 2 h 11 min
Overall bit rate                         : 77.3 Mb/s
Encoded date                             : UTC 2020-03-18 21:47:58
Tagged date                              : UTC 2020-03-18 21:47:58

Video #1
ID                                       : 1
Format                                   : HEVC
Format/Info                              : High Efficiency Video Coding
Format profile                           : Main 10@L5.1@High
HDR format                               : SMPTE ST 2086, HDR10 compatible
Codec ID                                 : hev1
Codec ID/Info                            : High Efficiency Video Coding
Duration                                 : 2 h 11 min
Bit rate                                 : 76.7 Mb/s
Width                                    : 3 840 pixels
Height                                   : 2 160 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 23.976 (24000/1001) FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0 (Type 2)
Bit depth                                : 10 bits
Bits/(Pixel*Frame)                       : 0.386
Stream size                              : 70.6 GiB (99%)
Default                                  : Yes
Alternate group                          : 1
Encoded date                             : UTC 2020-03-18 21:47:58
Tagged date                              : UTC 2020-03-18 21:47:58
Color range                              : Limited
Color primaries                          : BT.2020
Transfer characteristics                 : PQ
Matrix coefficients                      : BT.2020 non-constant
Mastering display color primaries        : Display P3
Mastering display luminance              : min: 0.0050 cd/m2, max: 4000 cd/m2
Maximum Content Light Level              : 1351 cd/m2
Maximum Frame-Average Light Level        : 384 cd/m2
Codec configuration box                  : hvcC

Video #2
ID                                       : 2
Format                                   : HEVC
Format/Info                              : High Efficiency Video Coding
Format profile                           : Main 10@L5.1@High
HDR format                               : Dolby Vision, Version 1.0, dvhe.07.06, EL+RPU / SMPTE ST 2086, HDR10 compatible
Codec ID                                 : hev1
Codec ID/Info                            : High Efficiency Video Coding
Duration                                 : 2 h 11 min
Bit rate                                 : 62.0 kb/s
Width                                    : 1 920 pixels
Height                                   : 1 080 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 23.976 (24000/1001) FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0 (Type 2)
Bit depth                                : 10 bits
Bits/(Pixel*Frame)                       : 0.001
Stream size                              : 58.4 MiB (0%)
Default                                  : No
Alternate group                          : 1
Encoded date                             : UTC 2020-03-18 21:47:58
Tagged date                              : UTC 2020-03-18 21:47:58
Color range                              : Limited
Color primaries                          : BT.2020
Transfer characteristics                 : PQ
Matrix coefficients                      : BT.2020 non-constant
Mastering display color primaries        : Display P3
Mastering display luminance              : min: 0.0050 cd/m2, max: 4000 cd/m2
Codec configuration box                  : hvcC+dvcC

Audio
ID                                       : 3
Format                                   : AC-3
Format/Info                              : Audio Coding 3
Commercial name                          : Dolby Digital
Codec ID                                 : ac-3
Duration                                 : 2 h 11 min
Bit rate mode                            : Constant
Bit rate                                 : 448 kb/s
Channel(s)                               : 6 channels
Channel layout                           : L R C LFE Ls Rs
Sampling rate                            : 48.0 kHz
Frame rate                               : 31.250 FPS (1536 SPF)
Compression mode                         : Lossy
Stream size                              : 422 MiB (1%)
Language                                 : English
Service kind                             : Complete Main
Default                                  : Yes
Alternate group                          : 2
Encoded date                             : UTC 2020-03-18 21:47:58
Tagged date                              : UTC 2020-03-18 21:47:58
shawnc22
Posts: 637
Joined: Tue Jan 21, 2020 7:40 am

Re: Dolby Vision now possible through MP4 Mux.

Post by shawnc22 »

Rufus wrote:
Thu Mar 19, 2020 1:26 am
When I play the ts file my TV shows Dolby Vision, my receiver shows Dolby Atmos/DSur and Plex lists it a AC3 5.1. However, about 9 seconds into the movie shudders and freezes. I can fast forward. It will jump ahead but it freezes up again. I also tried playback from an SD card on my streaming device. Same thing so I don't think it's network related.
Not sure if this will fix your issue, but on first time playback of the TS file, you have to manually select the TRUEHD 7.1 audio track and not the AC3 5.1. Because of the AC3 core in the atmos track, plex will default to the ac3 5.1 track. Your video track is also not showing BL+EL+RPU, only BL+RPU. It might be the version of TSMuxer you're using. m2ts will also not work with DV+atmos, only TS will.
Rufus
Posts: 2
Joined: Sun Mar 15, 2020 8:38 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by Rufus »

shawnc22 wrote:
Thu Mar 19, 2020 4:04 am
Rufus wrote:
Thu Mar 19, 2020 1:26 am
When I play the ts file my TV shows Dolby Vision, my receiver shows Dolby Atmos/DSur and Plex lists it a AC3 5.1. However, about 9 seconds into the movie shudders and freezes. I can fast forward. It will jump ahead but it freezes up again. I also tried playback from an SD card on my streaming device. Same thing so I don't think it's network related.
Not sure if this will fix your issue, but on first time playback of the TS file, you have to manually select the TRUEHD 7.1 audio track and not the AC3 5.1. Because of the AC3 core in the atmos track, plex will default to the ac3 5.1 track. Your video track is also not showing BL+EL+RPU, only BL+RPU. It might be the version of TSMuxer you're using. m2ts will also not work with DV+atmos, only TS will.
Thanks, I'll take a look at selecting the audio track in plex. A few pages back there's a link for a tsmuxer v0.0.2 at https://drive.google.com/open?id=1HWf-l ... 4n70PDFeb-

Ran everything through tsmuxer v0.0.2 and this time the ts file shows BL+EL+RPU. Below is the MediaData. I haven't had a chance yet to test it on my TV.

Code: Select all

General
ID                                       : 1 (0x1)
Complete name                            : B:\Media\Calibration\Shazam_11f852a.ts
Format                                   : MPEG-TS
File size                                : 77.0 GiB
Duration                                 : 2 h 11 min
Overall bit rate mode                    : Variable
Overall bit rate                         : 83.7 Mb/s
Maximum Overall bit rate                 : 35.5 Mb/s

Video
ID                                       : 4117 (0x1015)
Menu ID                                  : 1 (0x1)
Format                                   : HEVC
Format/Info                              : High Efficiency Video Coding
Format profile                           : Main 10@L5.1@High
HDR format                               : Dolby Vision, Version 1.0, dvhe.08.06, BL+EL+RPU / SMPTE ST 2086, HDR10 compatible
Codec ID                                 : 36
Duration                                 : 2 h 11 min
Bit rate                                 : 79.1 Mb/s
Width                                    : 3 840 pixels
Height                                   : 2 160 pixels
Display aspect ratio                     : 16:9
Frame rate                               : 23.976 (24000/1001) FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0 (Type 2)
Bit depth                                : 10 bits
Bits/(Pixel*Frame)                       : 0.398
Stream size                              : 72.8 GiB (95%)
Color range                              : Limited
Color primaries                          : BT.2020
Transfer characteristics                 : PQ
Matrix coefficients                      : BT.2020 non-constant
Mastering display color primaries        : Display P3
Mastering display luminance              : min: 0.0050 cd/m2, max: 4000 cd/m2
Maximum Content Light Level              : 1351 cd/m2
Maximum Frame-Average Light Level        : 384 cd/m2

Audio
ID                                       : 4352 (0x1100)
Menu ID                                  : 1 (0x1)
Format                                   : AC-3 MLP FBA 16-ch
Format/Info                              : Audio Coding 3 + Meridian Lossless Packing FBA with 16-channel presentation
Commercial name                          : Dolby TrueHD with Dolby Atmos
Muxing mode                              : Stream extension
Codec ID                                 : 131
Duration                                 : 2 h 11 min
Bit rate mode                            : Variable
Bit rate                                 : 448 kb/s
Maximum bit rate                         : 5 931 kb/s
Channel(s)                               : 8 channels
Channel layout                           : L R C LFE Ls Rs Lb Rb
Sampling rate                            : 48.0 kHz
Frame rate                               : 31.250 FPS (1536 SPF)
Compression mode                         : Lossy
Stream size                              : 422 MiB (1%)
Language                                 : English
Service kind                             : Complete Main
Number of dynamic objects                : 15
Bed channel count                        : 1 channel
Bed channel configuration                : LFE
Post Reply