Dolby Vision now possible through MP4 Mux.

Please post here for issues related to UHD discs
Post Reply
daddy
Posts: 77
Joined: Sat Jul 06, 2019 8:17 am

Re: Dolby Vision now possible through MP4 Mux.

Post by daddy »

On C7 internal player
- mod_mkv. ts => Dolby Vision logo, video stutter
- mod_ts.ts => Dolby Vision logo, video stutter
- mod_mp4.ts => Dolby Vision logo, no video stutter

How did you make that mp4.ts file (mp4box ?) :shock:
1000010
Posts: 19
Joined: Sun Nov 03, 2019 12:18 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by 1000010 »

yeah that's another thing I don't get, why the same ts videos stutter and mp4 videos don't
jcdr428
Posts: 34
Joined: Fri Mar 20, 2020 6:55 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by jcdr428 »

Stutter with Plex / DV might be due to HDMV descriptors.
I had removed them for DV but was asked to put them back for compatibility with PGS.
henkeli
Posts: 22
Joined: Mon Feb 24, 2020 11:11 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by henkeli »

1000010 wrote: Tue Mar 24, 2020 6:37 pm yeah that's another thing I don't get, why the same ts videos stutter and mp4 videos don't
Probably because LG produces consumer televisions associated with many proprietary items and could literally care less about what is trying to be accomplished in this thread. Seriously, check out their file-based media support matrix. It's totally crippled per their media partners (masters), on purpose, so that good cattle pay for every single play (and then pay again when they release the 4K version) by using their built-in app stores (cough, spyware).
blrtl
Posts: 4
Joined: Sun Jan 12, 2020 4:58 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by blrtl »

Can report back from a Toshiba 55X9863DB internal player:
- mod_mkv. ts => Dolby Vision logo, NO video stutter, but fluent playback with sound
- mod_ts.ts => Dolby Vision logo, NO video stutter, but fluent playback with sound
- mod_mp4.ts => Dolby Vision logo, NO video stutter, but fluent playback with sound

Great stuff and also great community :) ;)
badrobot
Posts: 21
Joined: Wed Mar 25, 2020 4:14 am

Re: Dolby Vision now possible through MP4 Mux.

Post by badrobot »

I registered this account to show my appreciation to @yusesope. Your tool is awesome!

I used ffmpeg/@yusesope’s tool(v0.03 rev1)/tsMuxer nightly build, followed the instruction in this thread, then I got the DV profile 4 ts file.

I have tested joker 2019/gemini man 2019/midway 2019/alita battle angel 2019, all of them played with out any issue on shield tv 2019 with plex.

One more thing, DV with FEL works, it’s a suprise!
Last edited by badrobot on Thu Mar 26, 2020 12:43 am, edited 1 time in total.
I am not a native English speaker.
Sorry for my bad English.
tr000
Posts: 71
Joined: Thu Jul 18, 2019 11:03 am

Re: Dolby Vision now possible through MP4 Mux.

Post by tr000 »

Wow, glad this thread is still going strong. I last posted here many months ago, glad to see the new developments. I think I'm the only person in this thread with a TCL Dolby Vision TV. To my knowledge, there are three main pathways of (attempting to get) Dolby Vision from files on my TV.

1. Using the dv-mp4-maker.exe that someone here (@Grencola I think?) made, a WinRar self-extracting archive that grabs the base layer, enhanced layer, and audio track converted to 640 kbps AC3 from a .mkv (never works) or .m2ts (what I always use) file. However, I modified the code to use dv profile 5.

With this method, I converted the Joker .m2ts and it played on my TV perfectly. However, I just tried this with 1917 and for whatever reason, it'd say everything finished correctly, but the file created is 13.6 GB and stops at around 20 minutes, the rest is messed up. No idea what the issue is.

2. Doing the above manually demuxing the .m2ts with TSMuxer and manually doing .\mp4muxer.exe --dv-profile 5 -i bl.hevc -i el.hevc -i a.ac3 --media-lang eng -o F:\1917.mp4, for example.

This is what I'm trying to do with 1917 right now, I'll report back and see if it works.

3. Using DVDFab 11 single layer Dolby Vision conversion. This is very variable. Knives Out (to be fair I couldn't get this working myself either), Joker, and 1917 .mp4 files from DVDFab were a garbled mess on my TV. However, Godzilla: King of the Monsters played ok but my TV threw up "Loading..." screens throughout, and one part in the middle had to be skipped.

My TV only does AC3/E-AC3, so I don't share the issues that many people have striving to get lossless audio on their TVs, because mine can't decode it anyway. 640kbps sounds great on my home theatre system, but I'd of course love to have better audio. I'm investigating to see how I can exploit the E-AC3 support in my TV to possibly get it to play higher bitrates than 640kbps. We'll see.

Would appreciate any and all thoughts, suggestions, and improvements to my workflow. Here is the MediaInfo of Joker, that works perfectly on my TV.

Code: Select all

General
Complete name                            : F:\Joker.mp4
Format                                   : MPEG-4
Format profile                           : Base Media / Version 2
Codec ID                                 : mp42 (mp42/dby1/isom)
File size                                : 43.3 GiB
Duration                                 : 2 h 1 min
Overall bit rate                         : 50.9 Mb/s
Encoded date                             : UTC 2020-03-16 11:25:46
Tagged date                              : UTC 2020-03-16 11:25:46

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                                 : dvhe
Codec ID/Info                            : High Efficiency Video Coding with Dolby Vision
Duration                                 : 2 h 1 min
Bit rate                                 : 50.2 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.252
Stream size                              : 42.7 GiB (99%)
Default                                  : No
Encoded date                             : UTC 2020-03-16 11:25:46
Tagged date                              : UTC 2020-03-16 11:25:46
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              : 992 cd/m2
Maximum Frame-Average Light Level        : 120 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.05.03, BL+RPU / SMPTE ST 2086, HDR10 compatible
Codec ID                                 : dvhe
Codec ID/Info                            : High Efficiency Video Coding with Dolby Vision
Duration                                 : 2 h 1 min
Bit rate                                 : 64.3 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                              : 56.0 MiB (0%)
Default                                  : No
Encoded date                             : UTC 2020-03-16 11:25:46
Tagged date                              : UTC 2020-03-16 11:25:46
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 1 min
Bit rate mode                            : Constant
Bit rate                                 : 640 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                              : 558 MiB (1%)
Language                                 : English
Service kind                             : Complete Main
Default                                  : No
Encoded date                             : UTC 2020-03-16 11:25:46
Tagged date                              : UTC 2020-03-16 11:25:46
Mortenjorstad
Posts: 19
Joined: Wed Mar 18, 2020 9:43 am

Re: Dolby Vision now possible through MP4 Mux.

Post by Mortenjorstad »

The profile after making DV Ts movies is dvhe.04.06
Is it posible to make profile 5 since this is the only profile supported by Apple TV 4k.
tr000
Posts: 71
Joined: Thu Jul 18, 2019 11:03 am

Re: Dolby Vision now possible through MP4 Mux.

Post by tr000 »

Mortenjorstad wrote: Wed Mar 25, 2020 1:32 pm The profile after making DV Ts movies is dvhe.04.06
Is it posible to make profile 5 since this is the only profile supported by Apple TV 4k.
Look at my post right before yours. Coincidentally, I also can only play profile 5 content.
shawnc22
Posts: 637
Joined: Tue Jan 21, 2020 7:40 am

Re: Dolby Vision now possible through MP4 Mux.

Post by shawnc22 »

Mortenjorstad wrote: Wed Mar 25, 2020 1:32 pm The profile after making DV Ts movies is dvhe.04.06
Is it posible to make profile 5 since this is the only profile supported by Apple TV 4k.
If you're trying to play files on the Apple TV 4k, I would skip TSmuxer entirely and just stick with mp4muxer since AppleTV can't do lossless atmos anyway. You can try creating a single layered DV file using yusecope's tool with the -mode 2 option and then muxing it (with a converted ac3/eac3 audio file) into an mp4 using mp4muxer and the --dv-profile 5 option.
Mortenjorstad
Posts: 19
Joined: Wed Mar 18, 2020 9:43 am

Re: Dolby Vision now possible through MP4 Mux.

Post by Mortenjorstad »

shawnc22 wrote: Wed Mar 25, 2020 2:50 pm
Mortenjorstad wrote: Wed Mar 25, 2020 1:32 pm The profile after making DV Ts movies is dvhe.04.06
Is it posible to make profile 5 since this is the only profile supported by Apple TV 4k.
If you're trying to play files on the Apple TV 4k, I would skip TSmuxer entirely and just stick with mp4muxer since AppleTV can't do lossless atmos anyway. You can try creating a single layered DV file using yusecope's tool with the -mode 2 option and then muxing it (with a converted ac3/eac3 audio file) into an mp4 using mp4muxer and the --dv-profile 5 option.
I want to make DV with truehd. Appletv can play truehd 7.1 without Atmos, Infuse will decode 7.1 Truehd to PCM.
shawnc22
Posts: 637
Joined: Tue Jan 21, 2020 7:40 am

Re: Dolby Vision now possible through MP4 Mux.

Post by shawnc22 »

Mortenjorstad wrote: Wed Mar 25, 2020 3:44 pm
shawnc22 wrote: Wed Mar 25, 2020 2:50 pm
Mortenjorstad wrote: Wed Mar 25, 2020 1:32 pm The profile after making DV Ts movies is dvhe.04.06
Is it posible to make profile 5 since this is the only profile supported by Apple TV 4k.
If you're trying to play files on the Apple TV 4k, I would skip TSmuxer entirely and just stick with mp4muxer since AppleTV can't do lossless atmos anyway. You can try creating a single layered DV file using yusecope's tool with the -mode 2 option and then muxing it (with a converted ac3/eac3 audio file) into an mp4 using mp4muxer and the --dv-profile 5 option.
I want to make DV with truehd. Appletv can play truehd 7.1 without Atmos, Infuse will decode 7.1 Truehd to PCM.
You can try using -mode 2 of yusecope's tool to get BL+RPU single layer file and then mux it in TSMuxer with the TrueHD track to get a dvhe.08 file. Not sure if this will work on the Apple TV but it is a single layer file that should be similar to profile 5.
mulucy
Posts: 145
Joined: Tue Jan 07, 2020 7:08 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by mulucy »

shawnc22 wrote: Wed Mar 25, 2020 7:09 pm
Mortenjorstad wrote: Wed Mar 25, 2020 3:44 pm
shawnc22 wrote: Wed Mar 25, 2020 2:50 pm

If you're trying to play files on the Apple TV 4k, I would skip TSmuxer entirely and just stick with mp4muxer since AppleTV can't do lossless atmos anyway. You can try creating a single layered DV file using yusecope's tool with the -mode 2 option and then muxing it (with a converted ac3/eac3 audio file) into an mp4 using mp4muxer and the --dv-profile 5 option.
I want to make DV with truehd. Appletv can play truehd 7.1 without Atmos, Infuse will decode 7.1 Truehd to PCM.
You can try using -mode 2 of yusecope's tool to get BL+RPU single layer file and then mux it in TSMuxer with the TrueHD track to get a dvhe.08 file. Not sure if this will work on the Apple TV but it is a single layer file that should be similar to profile 5.
How to use mode 2? When I drop the files, HEVC 1 and HEVC 2, I don't see how I can issue the command by skipping that part. Sorry I am very bad with CMD on Windows and Python.
shawnc22
Posts: 637
Joined: Tue Jan 21, 2020 7:40 am

Re: Dolby Vision now possible through MP4 Mux.

Post by shawnc22 »

When you're in the folder where you extracted yusecope's tool to, run this in command prompt:

Code: Select all

python-3.7.6.amd64\python src\bl_el_rpu_builder_v0.0.3.py -mode 2 -bl \path\to\BL.hevc -el \path\to\EL.hevc -of \path\to\output.hevc 
or open up the .bat file in notepad and add -mode 2 to the end of the single line of text in there and save it.
mulucy
Posts: 145
Joined: Tue Jan 07, 2020 7:08 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by mulucy »

shawnc22 wrote: Wed Mar 25, 2020 11:11 pm When you're in the folder where you extracted yusecope's tool to, run this in command prompt:

Code: Select all

python-3.7.6.amd64\python src\bl_el_rpu_builder_v0.0.3.py -mode 2 -bl \path\to\BL.hevc -el \path\to\EL.hevc -of \path\to\output.hevc 
or open up the .bat file in notepad and add -mode 2 to the end of the single line of text in there and save it.
thank you!
Post Reply