Page 232 of 756
Re: Dolby Vision now possible through MP4 Mux.
Posted: Mon Oct 26, 2020 8:47 pm
by kws53
yusesope wrote: Mon Oct 26, 2020 6:26 pm
If the m2ts file with those characteristics comes from a UHD-BD then it is a profile 7.
My question is: if you say you didn't use the "-mode 2" switch (which is used to generate files with profile 8 ) but only the one to discard HDR10+ metadata then why did you patch the file by assigning a profile 8?
The file cannot be patched multiple times -
I recommend starting from scratch!
Use my GAMMA version and at the third and last step assign the correct profile as I explained in the previous post.
The characteristics of the final MKV file depend on the switches used in the first step.
1917 is a FEL movie so you can get:
- 1917 FEL profile 7
- 1917 MEL profile 7
- 1917 profile 8 (profile 8 has no enhancement layer)
All previous variants may or may not have HDR10+ (depends on whether you used or didn't use -skip_hdr10plus)
Check the MKV file with
Mediainfo at the end.
My response and yours crossed paths. (see my post immediately above).
To your questions:
- I did use -mode 2 when producing profile 8
- I never patched multiple times
- I assigned correct profile depending on the switch and Title length (everything worked...)
- I check all of the MKV files with MediaInfo - hence I was able to provide you with the results
My issue right now is that I can produce an HDR+ profile 7 or profile 8 version. I can't produce a DolbyVideo profile version at all. Am I confusing HDR+ and DolbyVision, because EAC3TO says DolbyVision on the original video, but MediaInfo says HDR+ on the original M2TS file.
Re: Dolby Vision now possible through MP4 Mux.
Posted: Tue Oct 27, 2020 5:10 am
by koolkunz
yusesope wrote: Fri Oct 16, 2020 1:37 pm
How does it work.
Given as input a Dual Track Dual Layer DoVi file (for now use the m2ts files present in the decrypted folders of your UHD-BDs), the tool should return a Single Track Dual Layer MKV file ready to be played on your devices.
python-3.7.6.amd64\python.exe src\app.py -mux -exp \path\to\your\original\file.m2ts
As written, this command line will generate a FEL or MEL file.
If you have a FEL file and want a MEL file, add the
-fel_to_mel switch before the -mux one.
If you have a FEL or MEL file and want an 8.1 profile file add the
-mode 2 switch before the -mux one.
I have a couple of questions that might sound dumb (please bear with me I got my first Dolby Vision TV-Sony X900H last week only)
1) When we are converting FEL file to MEL we are losing the advantages FEL has over MEL right?
2) When we are converting FEL file to 8.1, does the FEL data get retained?
Also I see your exoplayer being reffered a lot in your previous posts but I couldnt find it please link it.
And can anyone guide me to what is the difference between the various dolby vision profiles?
MY final goal is to be able to play FEL dolby vision mkvs/mp4s/ts through Plex or Kodi on my Sony X900H (Android TV). MEL/8.1 profile MKVs/MP4s play correctly already.
Re: Dolby Vision now possible through MP4 Mux.
Posted: Tue Oct 27, 2020 8:52 am
by yusesope
Manixx2020beyound wrote: Mon Oct 26, 2020 12:54 pm
My second test is to use uhbd dual to single layer mp4 in I move to encode in doblyvision
HongyuS wrote: Mon Oct 26, 2020 3:29 pm
Any iOS/iPadOS device later than iPhone 8 / iPad Pro 2017 should be able to encode and play DoVi (requires latest
iOS and
iMovie for iOS)
And yes, the file should be slightly different in size. Because iMovie re-encodes the base-layer and also re-calibrates the DoVi RPU.
And for further info, which @yusesope might also be interested in, iMovie re-encodes any HDR into Dolby Vision (HDR10, HLG, HLG+DoVi). I guess iMovie only generates new RPU. Old RPU data only used when decoding.
At the moment it seems to be the only correct way to encode a UHD-BD with DoVi (we should then evaluate the quality of the file obtained ... I expressed my personal opinion
HERE)
Keep experimenting and if you find anything unusual, post it here.
kws53 wrote: Mon Oct 26, 2020 8:32 pm
GAMMA ran flawlessly. ALL operations including the PATCH
kws53 wrote: Mon Oct 26, 2020 8:32 pm
- NO additional switches, profile 7, strictly default settings and then patch. Result was HDR+ file (SMPTE ST 2094 App 4, Version 1, HDR10+ Profile B compatible)
- Adding the <-skip_hdr10plus> switch and then patch. As expected, the result was HDR file (SMPTE ST 2086, HDR10 compatible)
- <-mode 2> switch, profile 8, and then patch. Result was HDR+ file (SMPTE ST 2094 App 4, Version 1, HDR10+ Profile B compatible)
kws53 wrote: Mon Oct 26, 2020 8:47 pm
I can't produce a DolbyVideo profile version at all
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...
If the problem is not Mediainfo, then I kindly ask you to upload a 10 second sample of one of your MKV files obtained using GAMMA.
Use this command:
src\FFmpeg\ffmpeg_win_x64.exe -ss 0 -t 10 -i \path\to\GAMMA\output\file.mkv -c copy \path\to\file_cut_10_sec.mkv
TO THE COMMUNITY:
Have any of you bought the new Chromecast with Google TV?
If so, have you tried any files with DV?
On the audio side, how does it behave?
Thank you.
I think I've found a way to create MP4 files as well. GAMMA could then generate MP4 files with DV, keeping in mind the limitations of the container (ATMOS/TrueHD -> PCM 7.1 and not PGS subtitles. All other codecs, up to DTS:X, would be supported instead).
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?
Re: Dolby Vision now possible through MP4 Mux.
Posted: Tue Oct 27, 2020 9:22 am
by Manixx2020beyound
I also have the google chromecast 4K dv
Its like the Xbox-1 only does LLDV no rgb8 capable dv. But as a consumer’s u would never know that without a vertex.
Plays well/ better frame rate matching than firestick,
Colors are a diff story, ( more testing needed).
Audio I can let u guys know later today.
Any clips I can test??
Audio wise??
Re: Dolby Vision now possible through MP4 Mux.
Posted: Tue Oct 27, 2020 9:48 am
by yusesope
Manixx2020beyound wrote: Tue Oct 27, 2020 9:22 am
I also have the google chromecast 4K dv
Is that the one with the remote?
The latest one?
EDIT:
Ok, the image clear up any doubts!
Manixx2020beyound wrote: Tue Oct 27, 2020 9:22 am
Its like the Xbox-1 only does LLDV no rgb8 capable dv. But as a consumer’s u would never know that without a vertex.
Plays well/ better frame rate matching than firestick,
Colors are a diff story, ( more testing needed).
Interesting, keep us updated!
Manixx2020beyound wrote: Tue Oct 27, 2020 9:22 am
Audio I can let u guys know later today.
Any clips I can test??
You can use these samples to test both
Dolby and
DTS.
Thank you.
Re: Dolby Vision now possible through MP4 Mux.
Posted: Tue Oct 27, 2020 10:58 am
by DaMacFunkin
Manixx2020beyound wrote: Tue Oct 27, 2020 9:22 am
I also have the google chromecast 4K dv
Its like the Xbox-1 only does LLDV no rgb8 capable dv. But as a consumer’s u would never know that without a vertex.
Plays well/ better frame rate matching than firestick,
Colors are a diff story, ( more testing needed).
Audio I can let u guys know later today.
Any clips I can test??
Audio wise??
Hi, I have Chromecast with Google TV and frame rate switching is not supported, also there is no HD audio support and Plex app is outputting AAC 5.1 / 7.1 as PCM 2.0.
All these limitations are currently being discussed on Kodi and Plex forums.
Re: Dolby Vision now possible through MP4 Mux.
Posted: Tue Oct 27, 2020 11:39 am
by PlatypusW
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.
Re: Dolby Vision now possible through MP4 Mux.
Posted: Tue Oct 27, 2020 11:50 am
by quietvoid
PlatypusW wrote: Tue Oct 27, 2020 11:39 amI 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.
The firestick doesn't play FEL so yes, a more convenient and faster way to create mp4s would be good for use in the LG internal player.
Re: Dolby Vision now possible through MP4 Mux.
Posted: Tue Oct 27, 2020 2:19 pm
by PlatypusW
quietvoid wrote: Tue Oct 27, 2020 11:50 am
PlatypusW wrote: Tue Oct 27, 2020 11:39 amI 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.
The firestick doesn't play FEL so yes, a more convenient and faster way to create mp4s would be good for use in the LG internal player.
This is true, if there is a faster way to create a playable file then I'm all for it. Definetely willing to do some tests to see what files will playback on the CX. My last attempt didn't work out so well though

Re: Dolby Vision now possible through MP4 Mux.
Posted: Tue Oct 27, 2020 3:17 pm
by koolkunz
koolkunz wrote: Tue Oct 27, 2020 5:10 am
I have a couple of questions that might sound dumb (please bear with me I got my first Dolby Vision TV-Sony X900H last week only)
1) When we are converting FEL file to MEL we are losing the advantages FEL has over MEL right?
2) When we are converting FEL file to 8.1, does the FEL data get retained?
Also I see your exoplayer being reffered a lot in your previous posts but I couldnt find it please link it.
And can anyone guide me to what is the difference between the various dolby vision profiles?
MY final goal is to be able to play FEL dolby vision mkvs/mp4s/ts through Plex or Kodi on my Sony X900H (Android TV). MEL/8.1 profile MKVs/MP4s play correctly already.
Anyone who can answer these questions please?
Re: Dolby Vision now possible through MP4 Mux.
Posted: Tue Oct 27, 2020 3:58 pm
by yusesope
koolkunz wrote: Tue Oct 27, 2020 5:10 am
1) When we are converting FEL file to MEL we are losing the advantages FEL has over MEL right?
2) When we are converting FEL file to 8.1, does the FEL data get retained?
Also I see your exoplayer being reffered a lot in your previous posts but I couldnt find it please link it.
And can anyone guide me to what is the difference between the various dolby vision profiles?
MY final goal is to be able to play FEL dolby vision mkvs/mp4s/ts through Plex or Kodi on my Sony X900H (Android TV). MEL/8.1 profile MKVs/MP4s play correctly already.
Correct. It is normal to have to give up something with this type of conversion (FEL->MEL) but the "losses" may not be as severe. Read
THIS post and check out
@RESET_9999 comparisons
Profile 8.1, by its nature, does not include any Enhancement Layer.
Read the
official documentation to get an idea of the various profiles (Chapter 2)
You can find my player
HERE (to be used in conjunction with a DLNA server). Anyway, you better try the latest beta of PLEX.
To get an idea of the capabilities of your TV then use
@PapitaHD samples
DaMacFunkin wrote: Tue Oct 27, 2020 10:58 am
Plex app is outputting AAC 5.1 / 7.1 as PCM 2.0.
All these limitations are currently being discussed on Kodi and Plex forums.
Perfect for 1995 ...
PlatypusW wrote: Tue Oct 27, 2020 11:39 amI 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.
quietvoid wrote: Tue Oct 27, 2020 11:50 am
The firestick doesn't play FEL so yes, a more convenient and faster way to create mp4s would be good for use in the LG internal player.
From what I remember, owners of LG TVs have always had problems with my Single Track Dual Layer profile 7 files.
LGs were famous for their ability to play Dual Track Dual Layer profile 7 mp4 files.
Now that this functionality seems to have been inhibited, maybe my files (profile 8.1) can partially make up for the loss.
I don't have much hope in profile 7 (FEL/MEL) but the new LGs may be able to reproduce them (I am referring to the STDL files) ... only by trying will we find out.
PlatypusW wrote: Tue Oct 27, 2020 11:39 am
I’d love to try getting 7.1 pcm out of it as well, I didn’t know mp4 could contain that.
Technically I have the possibility to store also an ATMOS/TrueHD audio track inside an MP4 container.
The problem is the device that has to play it. For example, I don't think your LG is capable of playing a multichannel PCM track or an ATMOS/TrueHD track in an mp4 file.
I remember I was unpleasantly surprised by the eARC implementation on the 2019 LG OLEDs (especially when using the internal player). I hope things have improved.
Re: Dolby Vision now possible through MP4 Mux.
Posted: Tue Oct 27, 2020 7:00 pm
by quietvoid
yusesope wrote: Tue Oct 27, 2020 3:58 pmFrom what I remember, owners of LG TVs have always had problems with my Single Track Dual Layer profile 7 files.
LGs were famous for their ability to play Dual Track Dual Layer profile 7 mp4 files.
Now that this functionality seems to have been inhibited, maybe my files (profile 8.1) can partially make up for the loss.
I don't have much hope in profile 7 (FEL/MEL) but the new LGs may be able to reproduce them (I am referring to the STDL files) ... only by trying will we find out.
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.
8.1 being the only option kinda kills the idea for me, I'd just remux to MKV and play on the Firestick.
I think I've read that the 2020 models had an update that made them unable to play the dual track files.
Re: Dolby Vision now possible through MP4 Mux.
Posted: Tue Oct 27, 2020 10:54 pm
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
No doubt Dolby forced them too...
Re: Dolby Vision now possible through MP4 Mux.
Posted: Wed Oct 28, 2020 3:03 am
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.
Re: Dolby Vision now possible through MP4 Mux.
Posted: Wed Oct 28, 2020 4:02 am
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