Dolby Vision now possible through MP4 Mux.

Please post here for issues related to UHD discs
shawnc22
Posts: 222
Joined: Tue Jan 21, 2020 7:40 am

Re: Dolby Vision now possible through MP4 Mux.

Post by shawnc22 » Tue Mar 24, 2020 4:20 am

Angryunibrow wrote:
Tue Mar 24, 2020 3:59 am
shawnc22 wrote:
Tue Mar 24, 2020 2:10 am
Looking at that list of movies, some other titles that include similarly sized FELs (>10mb/s) are Cliffhanger, Dredd, Evil Dead 2, Leon the Professional, Skyscraper, and Universal Soldier. If anyone has any of those titles, maybe it's worth a try to see if it's an issue with the large FEL layer?

I just tried Dredd which has a larger FEL than The Fog and it worked just fine.

Only thing I see now is maybe the 24p is messing something up?
Could be, do you have an LG TV to test if the Fog might play through the internal player? It'll probably give you a message saying audio is not supported, but if the video plays without issue, then maybe the issue is with the Shield not liking the 24fps.

deadchip12
Posts: 73
Joined: Thu May 02, 2019 2:49 am

Re: Dolby Vision now possible through MP4 Mux.

Post by deadchip12 » Tue Mar 24, 2020 6:53 am

RESET_9999 wrote:
Mon Mar 23, 2020 6:56 pm
here it is: https://drive.google.com/file/d/1q5v4-J ... sp=sharing

open source tsmuxer have the github icon and no paypal icon.

Image
Thanks. It shows Dolby Vision during playback now, but the film stutters and freezes every 2 seconds. I'm playing it on an external hdd connected to LG C9 OLED via usb.

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

Re: Dolby Vision now possible through MP4 Mux.

Post by daddy » Tue Mar 24, 2020 9:42 am

deadchip12 wrote:
Tue Mar 24, 2020 6:53 am
Thanks. It shows Dolby Vision during playback now, but the film stutters and freezes every 2 seconds. I'm playing it on an external hdd connected to LG C9 OLED via usb.
I have the same thing on LG C7 with all .ts or .m2ts files i made in dvhe.04.06.
Dolby Vision logo, but freezes every 2 seconds.
The same movie in .mp4 and dvhe.07.06 play perfectly.

1000010
Posts: 19
Joined: Sun Nov 03, 2019 12:18 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by 1000010 » Tue Mar 24, 2020 10:32 am

shawnc22 wrote:
Tue Mar 24, 2020 4:20 am
Angryunibrow wrote:
Tue Mar 24, 2020 3:59 am
shawnc22 wrote:
Tue Mar 24, 2020 2:10 am
Looking at that list of movies, some other titles that include similarly sized FELs (>10mb/s) are Cliffhanger, Dredd, Evil Dead 2, Leon the Professional, Skyscraper, and Universal Soldier. If anyone has any of those titles, maybe it's worth a try to see if it's an issue with the large FEL layer?

I just tried Dredd which has a larger FEL than The Fog and it worked just fine.

Only thing I see now is maybe the 24p is messing something up?
Could be, do you have an LG TV to test if the Fog might play through the internal player? It'll probably give you a message saying audio is not supported, but if the video plays without issue, then maybe the issue is with the Shield not liking the 24fps.
It's not that, I think tsmuxer does something wrong. If you mux the whole movie with mp4muxer without sound it will work on the Shield without a problem in DV. But if you mux it with tsmuxer with any soundtrack it will not work. MA track throws exceptions that I posted earlier. Single LPCM track works, but only in standard HDR without DV. Tried to mux DV video also with both MA and LPCM audio tracks and it produces the same error as with single MA track. This is really confusing and the reason why I think tsmuxer is messing things up.

Angryunibrow wrote:
Tue Mar 24, 2020 1:03 am
Can confirm The Fog will not play on the shield using the latest tools.

Only thing that I know is different from the other movies I have done is this is a 24fps movie and not 23.976fps.

No idea if that is messing something up.
Could you please test what I tested and confirm? I double checked everything but the results just make no sense.

yusesope
Posts: 118
Joined: Sun Jul 28, 2019 3:34 am

Re: Dolby Vision now possible through MP4 Mux.

Post by yusesope » Tue Mar 24, 2020 12:17 pm

DaMacFunkin wrote:
Sun Mar 22, 2020 9:17 pm
Hi, Following the guide can't get FEL to work on the oppp, the file does work in HDR10 on the 2017 shield, can't check on the 2019 shield as it is at my weekend address (won't be there again till Friday)…
Thanks for trying.
If you have time, could you please try what follows with a MEL movie?
yusesope wrote:
Sun Mar 22, 2020 10:45 am
Since you own an OPPO 203, could you do me this favour: while playing a movie (my tool + tsMuxer, please try both a FEL and an MEL movie), can you press the "info" button and take a screenshot (both for the Multimedia information section and for the HDMI output information section)?
It is important, however, that in the player settings, Color Space and Color depth (Video Output Setup) are set to AUTO.
Help yourself with this video (19:24):
https://youtu.be/Pqg8Ky6T7vc?t=1164

Thank you


shawnc22 wrote:
Tue Mar 24, 2020 4:20 am
...maybe the issue is with the Shield not liking the 24fps.
daddy wrote:
Tue Mar 24, 2020 9:42 am
I have the same thing on LG C7 with all .ts or .m2ts files i made in dvhe.04.06.
Dolby Vision logo, but freezes every 2 seconds.
The same movie in .mp4 and dvhe.07.06 play perfectly.
1000010 wrote:
Tue Mar 24, 2020 10:32 am
...I think tsmuxer does something wrong...
It would be interesting to see how another software would handle the matter.
I am therefore trying to modify at bit level the .ts files produced by FFmpeg.
I did some experiments using THIS file and HERE you can find the results.
If your device plays the original file, test the files I edited.
If there is a positive response (I have my doubts but there is no harm in trying!), I will explain what and how I did it.

Thank you.

Angryunibrow
Posts: 101
Joined: Wed Nov 06, 2019 11:26 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by Angryunibrow » Tue Mar 24, 2020 3:33 pm

shawnc22 wrote:
Tue Mar 24, 2020 4:20 am
Angryunibrow wrote:
Tue Mar 24, 2020 3:59 am
shawnc22 wrote:
Tue Mar 24, 2020 2:10 am
Looking at that list of movies, some other titles that include similarly sized FELs (>10mb/s) are Cliffhanger, Dredd, Evil Dead 2, Leon the Professional, Skyscraper, and Universal Soldier. If anyone has any of those titles, maybe it's worth a try to see if it's an issue with the large FEL layer?

I just tried Dredd which has a larger FEL than The Fog and it worked just fine.

Only thing I see now is maybe the 24p is messing something up?
Could be, do you have an LG TV to test if the Fog might play through the internal player? It'll probably give you a message saying audio is not supported, but if the video plays without issue, then maybe the issue is with the Shield not liking the 24fps.
Sorry, no way of testing this, my TV is mounted and I have no way to access the USB ports, or have a flash drive big enough to use.
I do use a LG C8

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

Re: Dolby Vision now possible through MP4 Mux.

Post by shawnc22 » Tue Mar 24, 2020 4:07 pm

Angryunibrow wrote:
Tue Mar 24, 2020 3:33 pm
shawnc22 wrote:
Tue Mar 24, 2020 4:20 am
Angryunibrow wrote:
Tue Mar 24, 2020 3:59 am



I just tried Dredd which has a larger FEL than The Fog and it worked just fine.

Only thing I see now is maybe the 24p is messing something up?
Could be, do you have an LG TV to test if the Fog might play through the internal player? It'll probably give you a message saying audio is not supported, but if the video plays without issue, then maybe the issue is with the Shield not liking the 24fps.
Sorry, no way of testing this, my TV is mounted and I have no way to access the USB ports, or have a flash drive big enough to use.
I do use a LG C8
You can set up a DLNA share from your computer/NAS to access files on your TV. That's what I've been using to test my files on my B9.
yusesope wrote:
Tue Mar 24, 2020 12:17 pm
It would be interesting to see how another software would handle the matter.
I am therefore trying to modify at bit level the .ts files produced by FFmpeg.
I did some experiments using THIS file and HERE you can find the results.
If your device plays the original file, test the files I edited.
If there is a positive response (I have my doubts but there is no harm in trying!), I will explain what and how I did it.

Thank you.


Just tested the files on my 2019 Shield and B9 internal player and here're the results:

Shield: All files play without stutter and triggers DV.

B9 Internal Player:
  • Original TS plays and triggers DV
  • _MP4 plays and triggers DV.
  • _TS plays and triggers DV, but stutters
  • _MKV starts up the first time and triggers DV, but is just stuck on the first frame. Subsequent tries report a file not supported message
Sidenote: I've tested some of the full TS DV remuxes I've made (all working on the shield w/o issue) on the internal B9 player and have had some mixed results. Some movies play without stutter (The Meg, First Man) while most others have the stutter issue others have reported (Black Panther, Doctor Sleep, Midway). These are all dvhe.08.06 files from the older version of tsmuxer and v2 of yusecope's tool. Also profile 7 dual track/dual layer DV files made with mp4muxer does not seem to work at all on my B9 internal player. I know others have had success on their C# models, but I'm wondering if the B# models might lack the hardware for dual track files due to its inferior processor.

1000010
Posts: 19
Joined: Sun Nov 03, 2019 12:18 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by 1000010 » Tue Mar 24, 2020 4:25 pm

yusesope wrote:
Tue Mar 24, 2020 12:17 pm
If there is a positive response (I have my doubts but there is no harm in trying!), I will explain what and how I did it.
Tried all your videos and they trigger DV on my Shield as well.

Another interesting thing about The Fog (I just can't let it go): I tried making shorter 1 minute clips with sound (MA and LPCM) with tsMuxer and all of them worked. With some stutter due to high FEL bitrate I guess but it worked. So either there are parts of the full movie that tsMuxer doesn't like or the whole thing is simply too big for Plex on Shield to process.

Would also like to note that VLC does not want to play tsMuxed files at all. It just opens, sometimes displays no length and displays a blank screen. Some files I am able to play with sound but no picture. Your files yusesope are working fine in VLC though.

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

Re: Dolby Vision now possible through MP4 Mux.

Post by daddy » Tue Mar 24, 2020 5:50 pm

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 » 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

jcdr428
Posts: 31
Joined: Fri Mar 20, 2020 6:55 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by jcdr428 » Tue Mar 24, 2020 7:13 pm

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: 17
Joined: Mon Feb 24, 2020 11:11 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by henkeli » Tue Mar 24, 2020 7:45 pm

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 » Tue Mar 24, 2020 9:06 pm

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: 12
Joined: Wed Mar 25, 2020 4:14 am

Re: Dolby Vision now possible through MP4 Mux.

Post by badrobot » Wed Mar 25, 2020 4:28 am

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: 61
Joined: Thu Jul 18, 2019 11:03 am

Re: Dolby Vision now possible through MP4 Mux.

Post by tr000 » Wed Mar 25, 2020 7:53 am

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

Post Reply