Dolby Vision now possible through MP4 Mux.

Please post here for issues related to UHD discs
PlatypusW
Posts: 50
Joined: Mon Aug 03, 2020 2:14 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by PlatypusW »

quietvoid wrote:
Tue Oct 27, 2020 7:00 pm
I think I've read that the 2020 models had an update that made them unable to play the dual track files.
That’s a bit worrying. I wonder how long fire stick / shield lasts if that was the case :shock:
No doubt Dolby forced them too...
kws53
Posts: 49
Joined: Sun May 04, 2014 9:09 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by kws53 »

yusesope wrote:
Tue Oct 27, 2020 8:52 am

Only the latest version of Mediainfo (Version 20.09, 2020-10-09) is capable of detecting DV in a MKV container.
I sincerely hope your version of Mediainfo is up to date...
otherwise...
I will look for you, I will find you, and I will patch you...
Indeed I wasn't aware of the failings of MediaInfo 20.08. Upgraded to 20.09 and good to go.
Next challenge - will Plex or Shield recognize the MKV as DV?

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

Re: Dolby Vision now possible through MP4 Mux.

Post by dmartinvera00 »

Hello. I don't know how to mux the .dtshd to the .mp4 (muxed with mp4muxer), I've tried with mp4box but it says this message

E:\gpac-0.9.0-DEV-latest-filters-x64>MP4Box -add 2.dtshd dsd.mp4
[FFDmx] Fail to open 2.dtshd - error Error number -360024468 occurred
[Importer] Error probing 2.dtshd
Error importing 2.dtshd: Filter not found for the desired type
dapope
Posts: 39
Joined: Fri Oct 09, 2020 4:54 am

Re: Dolby Vision now possible through MP4 Mux.

Post by dapope »

PlatypusW wrote:
Tue Oct 27, 2020 11:39 am
yusesope wrote:
Tue Oct 27, 2020 8:52 am
LG CX 2020 owners, for example, may be interested - they could take advantage of GAMMA's speed to generate MP4 files with DV (profile 8.1) and with custom audio and subtitles.
Is anyone interested or am I wasting my time?
I have an LG CX so happy to test. I’m not sure if it would gain anything over the fire stick though? But would be great for comparisons and it might even end up being better if some of the hdmi vs internal apps DV ‘settings’ queries turn out to be true. I’d love to try getting 7.1 pcm out of it as well, I didn’t know mp4 could contain that.
I tested flac and wav surround speaker set up files. LG CX internal player only seems to know what to do with the stereo channels. I think you are unlikely to get 7.1 pcm playback.
longseason
Posts: 13
Joined: Mon Oct 26, 2020 3:00 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by longseason »

Apologies if I've missed this somewhere along the line (I've read a lot of this thread but not all of it!) but has it been determined if there's some combination of MakeMKV/tsMuxeR/mp4muxer that will combine the separate 4K HEVC and 1080p DV HEVC tracks in an M2TS rip into a single HEVC stream?

I've determined that Plex (from a server, not Shield) will happily a play a single DV encoded HEVC on my LG C7 if it's muxed as a TS - but the last piece of the puzzle seems to be taking the two-stream M2TS and converting it to a single video stream, or is this part just not possible?
kws53
Posts: 49
Joined: Sun May 04, 2014 9:09 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by kws53 »

Can I convert a GAMMA generated MKV DV profile 7 to a profile 5?
I'm trying to play it on a Plex Server/Shield/CX77 combo.

And is there a solution for Sony x700 through the CX77?

Using Yusesope's GAMMA, I can test a lot of options...
shawnc22
Posts: 637
Joined: Tue Jan 21, 2020 7:40 am

Re: Dolby Vision now possible through MP4 Mux.

Post by shawnc22 »

longseason wrote:
Wed Oct 28, 2020 5:08 pm
Apologies if I've missed this somewhere along the line (I've read a lot of this thread but not all of it!) but has it been determined if there's some combination of MakeMKV/tsMuxeR/mp4muxer that will combine the separate 4K HEVC and 1080p DV HEVC tracks in an M2TS rip into a single HEVC stream?

I've determined that Plex (from a server, not Shield) will happily a play a single DV encoded HEVC on my LG C7 if it's muxed as a TS - but the last piece of the puzzle seems to be taking the two-stream M2TS and converting it to a single video stream, or is this part just not possible?
If you read a lot of this thread and missed the answer to that question, then yeah you missed quite a bit. The whole purpose of yusecope's tool -> tsMuxer and the new version of makemkv is to convert dual track DV into single track DV.
kws53
Posts: 49
Joined: Sun May 04, 2014 9:09 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by kws53 »

longseason wrote:
Wed Oct 28, 2020 5:08 pm
Apologies if I've missed this somewhere along the line (I've read a lot of this thread but not all of it!) but has it been determined if there's some combination of MakeMKV/tsMuxeR/mp4muxer that will combine the separate 4K HEVC and 1080p DV HEVC tracks in an M2TS rip into a single HEVC stream?

I've determined that Plex (from a server, not Shield) will happily a play a single DV encoded HEVC on my LG C7 if it's muxed as a TS - but the last piece of the puzzle seems to be taking the two-stream M2TS and converting it to a single video stream, or is this part just not possible?
Possible - but how do you know it will play a single layer DV encoding? And, if so, what profile?
For TS, try Yusesope's ALPHA method
For MKV, try GAMMA method

Neither version actually needs MakeMKV if you have an alternative ripping solution...
longseason
Posts: 13
Joined: Mon Oct 26, 2020 3:00 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by longseason »

kws53 wrote:
Wed Oct 28, 2020 5:32 pm
Possible - but how do you know it will play a single layer DV encoding? And, if so, what profile?
I dumped the test DV file from https://4kmedia.org/lg-dolby-vision-uhd-4k-demo/ on my server and it played without any further modification. Mediainfo reports the video stream in that as:

Code: Select all

Dolby Vision, Version 1.0, dvhe.04.06, BL+EL+RPU
so looks like Profile 4?
kws53 wrote:
Wed Oct 28, 2020 5:32 pm
For TS, try Yusesope's ALPHA method
Thanks, think I'll start here.
salimkhan
Posts: 1
Joined: Wed Oct 28, 2020 6:25 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by salimkhan »

thelittleworm wrote:
Wed Dec 26, 2018 10:37 pm
So apparently there's a method to backup UHD ISO's into MP4's that triggers Dolby Vision on an LG or Vizio television app via USB. I made this thread in the hopes we can figure out a way to reconvert this into MKV. The procecure is the following -



1. Make ISO of movie. I have only tested this with Black Panther since that's the only one I own. I will be buying Gladiator this weekend to test out though.

2. Use TS Muxer to open the ISO. Find the correct M2TS file and demux the following files:
A. HEVC1 in 4K (Base layer)
B. HEVC 2 in 1080p (this is the dolby vision enhancement layer)
C. Audio track which you will have to convert to AC3. This is a hard line limitation- you need to use AC3!!!

3. Once you have HEVC1, HEVC2, and the Audio track. Run Dolby Vision MP4Muxer (https://github.com/DolbyLaboratories/dlb_mp4base)
DolbyVision MP4 Muxer only works in Command Prompt so you have to navigate to the corresponding folders where the files are and type


mp4muxer --dv-profile 7 --input-file (baselayername.hevc1) --input-file (dvlayername.hevc2) --input-file (audio.ac3) --media-lang eng --output-file (nameofmovie).mp4


*Right now we are limited to only MP4 and AC3 audio. Hoping we figure out an MKV solution.

It sounds like its complicated, but it isn't. The entire process took me an hour to figure out, but once I did it, I sold my Xbox One X, because I'm now using my LG USB to play Dolby Vision MP4's! Hopefully this starts a discussion.
This just creates a dual-layer DV file, not a single layer one. How to do it? Can any1 help me please?
shawnc22
Posts: 637
Joined: Tue Jan 21, 2020 7:40 am

Re: Dolby Vision now possible through MP4 Mux.

Post by shawnc22 »

longseason wrote:
Wed Oct 28, 2020 6:18 pm
kws53 wrote:
Wed Oct 28, 2020 5:32 pm
Possible - but how do you know it will play a single layer DV encoding? And, if so, what profile?
I dumped the test DV file from https://4kmedia.org/lg-dolby-vision-uhd-4k-demo/ on my server and it played without any further modification. Mediainfo reports the video stream in that as:

Code: Select all

Dolby Vision, Version 1.0, dvhe.04.06, BL+EL+RPU
so looks like Profile 4?
kws53 wrote:
Wed Oct 28, 2020 5:32 pm
For TS, try Yusesope's ALPHA method
Thanks, think I'll start here.
If you're playing files off of your TV, I still think it's best to skip any of the complicated tools and just use mp4muxer to create a dual track profile 7 DV mp4. Then skip Plex and just host a DLNA server to play these files. It's the least complicated method and playback of ST DV TS files off the TV has been somewhat of a hit or miss depending on the title.
longseason
Posts: 13
Joined: Mon Oct 26, 2020 3:00 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by longseason »

shawnc22 wrote:
Wed Oct 28, 2020 6:30 pm
If you're playing files off of your TV, I still think it's best to skip any of the complicated tools and just use mp4muxer to create a dual track profile 7 DV mp4. Then skip Plex and just host a DLNA server to play these files. It's the least complicated method and playback of ST DV TS files off the TV has been somewhat of a hit or miss depending on the title.
Yeah I think that might be the best bet, otherwise it's going to be a huge process for every film that will be hit or miss every time.

Is profile 7 the most compatible format in this situation then?
shawnc22
Posts: 637
Joined: Tue Jan 21, 2020 7:40 am

Re: Dolby Vision now possible through MP4 Mux.

Post by shawnc22 »

longseason wrote:
Wed Oct 28, 2020 6:45 pm
shawnc22 wrote:
Wed Oct 28, 2020 6:30 pm
If you're playing files off of your TV, I still think it's best to skip any of the complicated tools and just use mp4muxer to create a dual track profile 7 DV mp4. Then skip Plex and just host a DLNA server to play these files. It's the least complicated method and playback of ST DV TS files off the TV has been somewhat of a hit or miss depending on the title.
Yeah I think that might be the best bet, otherwise it's going to be a huge process for every film that will be hit or miss every time.

Is profile 7 the most compatible format in this situation then?
Yeah, pretty much, so the method on the first couple pages of this thread still works
longseason
Posts: 13
Joined: Mon Oct 26, 2020 3:00 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by longseason »

shawnc22 wrote:
Wed Oct 28, 2020 7:03 pm
Yeah, pretty much, so the method on the first couple pages of this thread still works
Brilliant, I'll give that a go, thanks so much for your help.
yusesope
Posts: 221
Joined: Sun Jul 28, 2019 3:34 am

Re: Dolby Vision now possible through MP4 Mux.

Post by yusesope »

PlatypusW wrote:
Tue Oct 27, 2020 11:39 am
I have an LG CX so happy to test...
quietvoid wrote:
Tue Oct 27, 2020 7:00 pm
Oh, I thought you were referring to dual track mp4 as well. Those are pretty much the only reason I'd convert to mp4, because the C8 still supports them as profile 7 FEL.
As promised, here are some test files for you to try on LG devices.
GAMMA should now be able to return MP4 files as well (in addition to MKV ones).
I say "should" because today was a looooooooooooooooong day and I'm really tired (so forgive any mistakes).

Find the test files HERE.

They were all obtained from an initial m2ts FEL profile 7 file (only video, no audio).

The main reason why GAMMA has to return MP4 files is related to the "whispers" circulating these days that see the LG OLED 2020 TVs unable to play DTDL MP4 files.
Owners of these TVs should make sure the "FEL_to_Profile81.mp4" file is played.

@quietvoid pointed out to me that LG OLED TVs <= 2019 can still play DTDL files: having a faster method to generate this type of file would therefore be advantageous.
I modified GAMMA to get this type of file.

So, from a FEL m2ts file (profile 7) you can get the following MP4:
  • DTDL_FEL.mp4
  • DTDL_FEL_to_MEL.mp4
  • STDL_FEL.mp4
  • STDL_FEL_to_MEL.mp4
  • FEL_to_Profile81.mp4

Try the files and let me know!


**
DTDL = Dual Track Dual Layer
STDL = Single Track Dual Layer
Post Reply