Dolby Vision now possible through MP4 Mux.

Please post here for issues related to UHD discs
deadchip12
Posts: 379
Joined: Thu May 02, 2019 2:49 am

Re: Dolby Vision now possible through MP4 Mux.

Post by deadchip12 »

Domo0826 wrote:
Wed May 20, 2020 1:18 pm
Trujax wrote:
Mon May 11, 2020 9:31 am
I have compiled a TsMuxer that forces dvhe.05.06 profile. It works nice where 08.06 played choppy in my Lg. You can find it here http://katfile.com/1uvd80v1b0zd/tsMuxer ... ).zip.html
First of all, hello everyone. Recently I bought a LG C9 and I've been reading this thread for hours. I managed to get a MEL Dolby Vision film working well in my LG internal player with eac3to, yusesope 0.0.4 and then newest nightly tsmuxer. But when I do the same thing with a FEL film (Top Gun 4K Remastered) it stutters terribly (while triggering DV). So I tried your tsMuxeR that forces profile 05.06. and it plays without stutter, but the enhancement layer is completely off. It's treated as an 8K one I think, and I only see the top left cropped part of it, on top of the base layer stream. Any idea how to fix this?
Right. I just tried this version of tsmuxer and the picture is broken. It does play in dolby vision without stutter though.
tr000
Posts: 71
Joined: Thu Jul 18, 2019 11:03 am

Re: Dolby Vision now possible through MP4 Mux.

Post by tr000 »

Anyone try out "The Invisible Man" in DV? It's got a nice juicy FEL by the looks of it.
Arbigator
Posts: 32
Joined: Fri Feb 28, 2020 9:16 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by Arbigator »

What's the proper way to get TrueHD Atmos in to a DV movie? Every movie I've tried has been unplayable when playing back the Atmos track, but if I switch the DTS-HD it plays back perfectly. I've been using tsMuxer to demux the audio and the two video layers, then using yusesope's tool to create a profile 5 file, then muxing the audio and video tracks together. Do I need to do something special if I want Atmos?

All of these movies playback without issue in their original m2ts, with Atmos audio. I feel like tsMuxer is doing something to the Atmos track when muxing.

Using a 2019 Shield TV.

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

Re: Dolby Vision now possible through MP4 Mux.

Post by shawnc22 »

Arbigator wrote:
Wed May 20, 2020 9:26 pm
What's the proper way to get TrueHD Atmos in to a DV movie? Every movie I've tried has been unplayable when playing back the Atmos track, but if I switch the DTS-HD it plays back perfectly. I've been using tsMuxer to demux the audio and the two video layers, then using yusesope's tool to create a profile 5 file, then muxing the audio and video tracks together. Do I need to do something special if I want Atmos?

All of these movies playback without issue in their original m2ts, with Atmos audio. I feel like tsMuxer is doing something to the Atmos track when muxing.

Using a 2019 Shield TV.

Thanks
Why are you creating profile 5 videos if you have the shield? But regardless, that sounds like you're doing all the right steps, especially if it's working with DTS. If the mediainfo also looks good, then it's likely an issue with your setup. What is your shield plugged into? It has to be a device that's capable of decoding a truehd atmos signal.
Arbigator
Posts: 32
Joined: Fri Feb 28, 2020 9:16 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by Arbigator »

shawnc22 wrote:
Wed May 20, 2020 10:13 pm
Arbigator wrote:
Wed May 20, 2020 9:26 pm
What's the proper way to get TrueHD Atmos in to a DV movie? Every movie I've tried has been unplayable when playing back the Atmos track, but if I switch the DTS-HD it plays back perfectly. I've been using tsMuxer to demux the audio and the two video layers, then using yusesope's tool to create a profile 5 file, then muxing the audio and video tracks together. Do I need to do something special if I want Atmos?

All of these movies playback without issue in their original m2ts, with Atmos audio. I feel like tsMuxer is doing something to the Atmos track when muxing.

Using a 2019 Shield TV.

Thanks
Why are you creating profile 5 videos if you have the shield? But regardless, that sounds like you're doing all the right steps, especially if it's working with DTS. If the mediainfo also looks good, then it's likely an issue with your setup. What is your shield plugged into? It has to be a device that's capable of decoding a truehd atmos signal.
I haven't had any luck with profile 4 videos playing for whatever reason, though I haven't tried it in a while. Maybe it's related to this Atmos issue I'm having... I have the shield plugged in to a Denon x3600, normal mkv and m2ts files playback Atmos correctly, I really don't get why it's not working with these remuxed files.

Here's the audio section of mediainfo for Ready Player One which does not playback properly

Code: Select all

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
Codec ID                                 : 131
Duration                                 : 2 h 19 min
Bit rate mode                            : Variable
Bit rate                                 : 448 kb/s
Maximum bit rate                         : 5 004 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                              : 448 MiB (1%)
Service kind                             : Complete Main
Number of dynamic objects                : 11
Bed channel count                        : 1 channel
Bed channel configuration                : LFE
shawnc22
Posts: 637
Joined: Tue Jan 21, 2020 7:40 am

Re: Dolby Vision now possible through MP4 Mux.

Post by shawnc22 »

Arbigator wrote:
Thu May 21, 2020 12:31 am
shawnc22 wrote:
Wed May 20, 2020 10:13 pm
Arbigator wrote:
Wed May 20, 2020 9:26 pm
What's the proper way to get TrueHD Atmos in to a DV movie? Every movie I've tried has been unplayable when playing back the Atmos track, but if I switch the DTS-HD it plays back perfectly. I've been using tsMuxer to demux the audio and the two video layers, then using yusesope's tool to create a profile 5 file, then muxing the audio and video tracks together. Do I need to do something special if I want Atmos?

All of these movies playback without issue in their original m2ts, with Atmos audio. I feel like tsMuxer is doing something to the Atmos track when muxing.

Using a 2019 Shield TV.

Thanks
Why are you creating profile 5 videos if you have the shield? But regardless, that sounds like you're doing all the right steps, especially if it's working with DTS. If the mediainfo also looks good, then it's likely an issue with your setup. What is your shield plugged into? It has to be a device that's capable of decoding a truehd atmos signal.
I haven't had any luck with profile 4 videos playing for whatever reason, though I haven't tried it in a while. Maybe it's related to this Atmos issue I'm having... I have the shield plugged in to a Denon x3600, normal mkv and m2ts files playback Atmos correctly, I really don't get why it's not working with these remuxed files.

Here's the audio section of mediainfo for Ready Player One which does not playback properly

Code: Select all

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
Codec ID                                 : 131
Duration                                 : 2 h 19 min
Bit rate mode                            : Variable
Bit rate                                 : 448 kb/s
Maximum bit rate                         : 5 004 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                              : 448 MiB (1%)
Service kind                             : Complete Main
Number of dynamic objects                : 11
Bed channel count                        : 1 channel
Bed channel configuration                : LFE
That does look good, and my shield is also fed into an x3600. Please give this demo file a try:

https://mega.nz/file/YSxhkSLK#fkfy54tYV ... xIOBZLyGR4

If it works, then something is off in your remux process. If not, then it's something with the setup.
Arbigator
Posts: 32
Joined: Fri Feb 28, 2020 9:16 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by Arbigator »

shawnc22 wrote:
Thu May 21, 2020 12:36 am
Arbigator wrote:
Thu May 21, 2020 12:31 am
shawnc22 wrote:
Wed May 20, 2020 10:13 pm

Why are you creating profile 5 videos if you have the shield? But regardless, that sounds like you're doing all the right steps, especially if it's working with DTS. If the mediainfo also looks good, then it's likely an issue with your setup. What is your shield plugged into? It has to be a device that's capable of decoding a truehd atmos signal.
I haven't had any luck with profile 4 videos playing for whatever reason, though I haven't tried it in a while. Maybe it's related to this Atmos issue I'm having... I have the shield plugged in to a Denon x3600, normal mkv and m2ts files playback Atmos correctly, I really don't get why it's not working with these remuxed files.

Here's the audio section of mediainfo for Ready Player One which does not playback properly

Code: Select all

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
Codec ID                                 : 131
Duration                                 : 2 h 19 min
Bit rate mode                            : Variable
Bit rate                                 : 448 kb/s
Maximum bit rate                         : 5 004 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                              : 448 MiB (1%)
Service kind                             : Complete Main
Number of dynamic objects                : 11
Bed channel count                        : 1 channel
Bed channel configuration                : LFE
That does look good, and my shield is also fed into an x3600. Please give this demo file a try:

https://mega.nz/file/YSxhkSLK#fkfy54tYV ... xIOBZLyGR4

If it works, then something is off in your remux process. If not, then it's something with the setup.
Well that file plays perfectly, and it's even profile 4. Thanks for sharing that. Can you verify my process is correct?

1. Load original m2ts in to tsMuxer, demux video and audio streams. (I've also tried demuxing only the video, then loading the new file back in.)
2. Run the video files through yusesope's tool
3. Load newly created file in tsMuxer and mux with original audio stream to .ts format.

It seems like such a simple process that I'm not sure how I could screw it up...

Can you share the version of tsMuxer you're using? I've tried a few different ones, all with the same result.

Thanks for your help!
shawnc22
Posts: 637
Joined: Tue Jan 21, 2020 7:40 am

Re: Dolby Vision now possible through MP4 Mux.

Post by shawnc22 »

That process looks fine except I never demux the audio file to begin with, just the video tracks.

https://drive.google.com/file/d/1q5v4-J ... gPqCD/view

That's the version of tsmuxer that most have been using. For the last step, just load in yusecope's resulting HEVC file and then the original mpls file, uncheck the two original hevc tracks, and mux. If this doesnt work, you might want to also try the newer mkv method.
daddy
Posts: 77
Joined: Sat Jul 06, 2019 8:17 am

Re: Dolby Vision now possible through MP4 Mux.

Post by daddy »

VictorLemon wrote:
Tue May 19, 2020 1:08 pm
Hello, a question to see who can help me, when the movie is in several m2ts, how can I extract the BL and EL files to mount with the tool?
a greeting
to demux multi m2ts

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:7 -c copy audio.mp4
with m2ts_list.txt containing the list of m2ts files
file '00075.M2TS'
file '00056.M2TS'
file '00057.M2TS'
file '00076.M2TS'
file '00060.M2TS'
file '00077.M2TS'
file '00062.M2TS'
file '00078.M2TS'
file '00064.M2TS'
file '00079.M2TS'
file '00066.M2TS'
file '00080.M2TS'
file '00068.M2TS'
file '00081.M2TS'
file '00070.M2TS'
file '00082.M2TS'
file '00072.M2TS'
file '00083.M2TS'
file '00074.M2TS'
file '00120.M2TS'
file '00119.M2TS'
box4m
Posts: 68
Joined: Tue Sep 10, 2019 7:23 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by box4m »

yusesope wrote:
Sun May 17, 2020 9:59 am
shawnc22 wrote:
Sun May 17, 2020 3:16 am
Thanks for the hard work as always, yusecope! A quick question about mode 2 when used with FEL titles. Is the data in the enhancement layer merged somehow into the base layer, or is it simply discarded? And regardless, if the resulting BL+RPU track is meant to be profile 5, is there also an IPT color space conversion being done? If not, then wouldn't it produce some color oddities during playback when forced to a profile 5 file in tsmuxer?

When "mode 2" is used to process FEL titles, the Enhancement Layer is completely removed.
The tool also does not perform any color space conversion.
As I said in the past (referring to the files obtained in "mode 2"):
yusesope wrote:
Sat Feb 29, 2020 6:26 pm
...the Base Layer is non-standard (it has a different color space than the IPTPQc2/IPT one) as extracted from a Bluray disk.
It should appear better than an HDR stream (since metadata is dynamic and non-static) but will not reach its maximum splendor due to the lack of data contained in the EL layer.
The lack of this information, however, could lead, in some cases, to evident chromatic aberrations.
Not surprisingly, in my tool, "mode 1" is the default.
Owners of devices capable of playing only movies with dvhe.05 profile, however, would have had DVDFab as their only choice.
It seemed right to me to offer them a free alternative.
"The Enhancement Layer is completely removed" - does this mean DV is removed?

edit: well stupid question :D but what does it mean?
yusesope
Posts: 221
Joined: Sun Jul 28, 2019 3:34 am

Re: Dolby Vision now possible through MP4 Mux.

Post by yusesope »

box4m wrote:
Thu May 21, 2020 4:33 pm
"The Enhancement Layer is completely removed" - does this mean DV is removed?

edit: well stupid question :D but what does it mean?
profiles 5 and 8 are BL + RPU (there is no EL).
So my tool (in mode 2) removes EL in case the input source is of type BL + EL + RPU.
Arbigator
Posts: 32
Joined: Fri Feb 28, 2020 9:16 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by Arbigator »

shawnc22 wrote:
Thu May 21, 2020 4:30 am
That process looks fine except I never demux the audio file to begin with, just the video tracks.

https://drive.google.com/file/d/1q5v4-J ... gPqCD/view

That's the version of tsmuxer that most have been using. For the last step, just load in yusecope's resulting HEVC file and then the original mpls file, uncheck the two original hevc tracks, and mux. If this doesnt work, you might want to also try the newer mkv method.
So I tried again with that version of tsMuxer, and it didn't work... Then I thought to try it again but on a different computer, and it works without any issues! I don't know what it is that it doesn't like about the first computer, both are Intel, one is a 7th gen i5, the other a 10th gen i5. I hate computers... Thanks for all your help!
stephon1024
Posts: 14
Joined: Thu May 21, 2020 8:30 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by stephon1024 »

First off, yusesope, thanks so much for this tool!!!

Is there anyway to use handbrake to compress the base file before using your special tool?

I've been doing it in handbrake then using Tsmuxer to extract the hevc file - but when I pop it in the tool it only starts analyzing and building the base layer and ignores the enhancement layer...

Wondering if I'm missing something. For all intents and purposes the handbraked version of my base layer should be identical to the larger one (except for size obviously) it's HEVC Main 10 level 5.1... etc. Even used handbrake to put in the appropriate HDR metadata tags, etc. This is what the tool looks like when it's done:
Capture.JPG
Capture.JPG (63.14 KiB) Viewed 26859 times
Like I said before yusesope, you're the best! Such a cool tool you created...
Woodstock
Posts: 10808
Joined: Sun Jul 24, 2011 11:21 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by Woodstock »

stephon1024 wrote:
Sat May 23, 2020 3:57 pm
I've been doing it in handbrake then using Tsmuxer to extract the hevc file - but when I pop it in the tool it only starts analyzing and building the base layer and ignores the enhancement layer...
Handbrake does not handle HDR, let alone DV, so you lose the color mapping.

Also, if you compress the main video track, the hints in the DV track would no longer be valid.
stephon1024
Posts: 14
Joined: Thu May 21, 2020 8:30 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by stephon1024 »

Woodstock wrote:
Sat May 23, 2020 4:08 pm
stephon1024 wrote:
Sat May 23, 2020 3:57 pm
I've been doing it in handbrake then using Tsmuxer to extract the hevc file - but when I pop it in the tool it only starts analyzing and building the base layer and ignores the enhancement layer...
Handbrake does not handle HDR, let alone DV, so you lose the color mapping.

Also, if you compress the main video track, the hints in the DV track would no longer be valid.
Hey Woodstock, the EL i've already separated from the MakeMKV backup. So I had both streams, base and enhancement - are you saying that even though I have a base layer and a EL, there is still DV info on that base layer? That would make sense if true, but I was under the impression that there isn't anything special about the base layer, it's the EL where all the DV info lives. So shouldn't I be able to compress the base layer without removing the DV info? Then just use yusesope's tool to add the DV EL back?

It was an attempt... The massive BL_EL_RPU file that I created plays on my LG C9 but it stutters like mad making me think it's too much for the SOC on the C9 to handle. I get the DV tag showing up in the upper right and it looks amazing... just doesn't play right. This is my attempt to lower the overall bitrate of the stream
Post Reply