Dolby Vision now possible through MP4 Mux.

Please post here for issues related to UHD discs
Blue Stinger
Posts: 1
Joined: Sat Oct 31, 2020 10:17 am

Re: Dolby Vision now possible through MP4 Mux.

Post by Blue Stinger »

yusesope wrote:
Thu Sep 17, 2020 5:54 pm
quietvoid wrote:
Thu Sep 17, 2020 4:19 pm
Just tried this and it works on the FireTV Stick 4K...On archlinux...And it plays in Dolby Vision with ExoPlayer. :)
It always warms the heart to see "archlinux" written somewhere :D . Thanks for your feedback.
pitrako wrote:
Thu Sep 17, 2020 5:17 pm
I need some .dll or something? MUX.bat works but MUX_AND_CONVERT_TO_MEL.bat doesn't work, It shows the error I posted above.
PapitaHD wrote:
Thu Sep 17, 2020 5:31 pm
Same error for me. I'm trying to convert/remux Gemini Man from a full UHD BluRay backup. Officially it's a FEL title, although it has about the lowest bitrare a FEL can have.
Later I'll try Saving Private Ryan.
Yes you are right. Your Windows needs THESE libraries (unpack the archive and place the two dll files where there are the files MUX.bat, DEMUX.bat, etc ...). It's not an elegant solution but it should at least work for these days of testing.
Let me know!
jcdr428 wrote:
Thu Sep 17, 2020 5:12 pm
Hi @yusesope, so you need tsMuxer to register profile 6 as profile 4 to be read by ExoPlayer, is this correct?
The files that are created by this latest version have as VUI:
0,9,16,9,2 for the Base layer
0,9,16,9,2 for the Enhancement layer.
The correct profile should therefore be 7.
Now I don't remember well but it seems to me that TsMuxeR currently generates files with profile 6 (but, I repeat myself, I could be wrong). If my tool proves to work, in my opinion, we should try to mark the ts files with profile 7 (and not 6).
shawnc22 wrote:
Thu Sep 17, 2020 5:39 pm
I think yusecope is suggesting that what tsmuxer is currently registering as profile 6 should go back to being registered as profile 7
Yep, Exactly!
Is anybody out there who can re-upload the linked archive? I have the same problem with error 126.
qweargs
Posts: 1
Joined: Tue Dec 22, 2020 11:43 am

Re: Dolby Vision now possible through MP4 Mux.

Post by qweargs »

Hey guys,

250+ pages is a long read so I'm just asking here.
I finally got it working to trigger DV on my C9! :)

But now I have a movie, split into 4 parts. Which is no big deal, but just for conveniences sake, is it possible to merge them with mp4muxer/mp4box into one?

If so, is it as easy as "mp4muxer - I Part1.mp4 - I part2.mp4. ... .-o complete.mp4"?

Thanks in advance!

-qweargs
lexyz
Posts: 95
Joined: Fri May 08, 2020 5:32 am

Re: Dolby Vision now possible through MP4 Mux.

Post by lexyz »

pete19 wrote:
Mon Dec 21, 2020 11:24 pm
sorry, it's been years since this was released. don't have a source at hand, simply google... you'll find posts, blogs etc...
Do you suggest me to search for a proof for your statement? Really? :D
I would rather not spend time on this misconception.
Bravia XF90, Shield TV Pro'19, UBP-X700
daddy
Posts: 61
Joined: Sat Jul 06, 2019 8:17 am

Re: Dolby Vision now possible through MP4 Mux.

Post by daddy »

Pacer wrote:
Mon Dec 21, 2020 5:28 pm
Hello everyone,

first I wanted to say a big THANK YOU to everyone so dedicated to get the DV playback riddle solved, first of all to yusesope, whose tool I've tried to use.

I've just had one UDH Bluray Disc (MI: Fallout), which I tried to get to run in DV after ripping it. With the help of yusesope's tool I was able to create an mp4 file which my LG OLED65GX9LA liked to play. I used the software and procedure described on p199 in this forum:

- ffmpeg to demux from BD m2ts file
- MUX_AND_CONVERT_TO_PROFILE_81.bat
- mp4muxer to get an .mp4 file

The file triggered DV on my LG TV, but I am not sure if it displayed the content correctly. That's why I would like to ask you more experienced people to take a look at my photo comparison (DSLR in manual mode). From left to right you see:

- MKV ripped with 1.15.3 from BD disc, played on my HiMedia Q10 Pro (which plays the file only in HDR10)
- same file, but played from my LG OLED65GX9LA with internal player via DLNA (which also plays it in HDR10)
- mp4-File created with the above procedure, played from my LG's internal player with active DV

Bildschirmfoto 2020-12-12 um 19.55.51.jpg

To me, the colors look quite different compared to the HDR10 variants of the movie. I do not have a hardware BD-UHD player to see how the movie would look like when played from there :-/

What are your thoughts on this?
In my expectation the colors should not differ between HDR10 and DV, right?
The EL is a 10-bit video bitstream that carries the residual between the source and the BL and the “dynamic” metadata for DV. An enhancement layer that carries a residual signal is = 0 (zero), that is, the decoder does not need to process the residual signal, is called minimum enhancement layer (MEL). If the residual signal is > 0, it is called full enhancement layer (FEL)

MI Fallout is a FEL Dolby Vision movie. (BL + EL (>0) + RPU)
Making DV files in single layer profile works only with MEL (EL=0).
The only correct method to have dual layers files (or dual tracks of single layer) is with mp4muxer with Dolby Vision in profile 7.
galarond
Posts: 14
Joined: Mon Dec 21, 2020 7:22 am

Re: Dolby Vision now possible through MP4 Mux.

Post by galarond »

Ok, i tried the method in the 1st page, got a iso copy of the hobbit 1, used ts to extract the file with the movie, the dolby vision layer and 7.1 audio track, converted the 7.1 to ac3, then got 3 archives, used mp4 muxer with the same line in cmd as the 1st page, the mp4 file works on my pc but not on my lg b6 tv....what i did wrong? is this about the mel/fel problem? what i have to put in mp4muxer to specify that, im getting crazy here, pls help.
agneva
Posts: 56
Joined: Mon Jan 06, 2020 11:42 am

Re: Dolby Vision now possible through MP4 Mux.

Post by agneva »

Did you try the ape?
pete19
Posts: 31
Joined: Thu Dec 03, 2020 12:37 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by pete19 »

lexyz wrote:
Tue Dec 22, 2020 1:57 pm
Do you suggest me to search for a proof for your statement? Really? :D
I would rather not spend time on this misconception.
you don't seriously think anybody here will spend more time educating about something that you've not done your research for.

but you can always "believe" what you want :)

like I said, this is years old. You spread misinformation, I'm sure not on purpose. :roll:

two main things about DV that are the reasons it is the premiere HDR format:
(1) ability to fully re-create the 12bit 422 master at home in FEL dual layer releases
(2) dynamic metadata
quietvoid
Posts: 80
Joined: Sun Apr 19, 2020 4:15 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by quietvoid »

pete19 wrote:
Tue Dec 22, 2020 10:19 pm
you don't seriously think anybody here will spend more time educating about something that you've not done your research for.

but you can always "believe" what you want :)

like I said, this is years old. You spread misinformation, I'm sure not on purpose. :roll:

two main things about DV that are the reasons it is the premiere HDR format:
(1) ability to fully re-create the 12bit 422 master at home in FEL dual layer releases
(2) dynamic metadata
You're the only one posting conflicting statements without providing proof. :?:

As I've mentioned already:
quietvoid wrote:
Mon Dec 21, 2020 5:15 am
420 is not wrong, the patent specs also only mention 12 bit YCbCr 420 reconstructed output.
As for the HDMI transmission, it is detailed as 12 bit YCbCr 422 because the metadata is also transported into the least significant bits.
No where is there a mention that the output video is actually 12 bit 422.

There's no place for full 4:2:2 video:
Image
Manixx2020beyound
Posts: 67
Joined: Thu Oct 08, 2020 5:19 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by Manixx2020beyound »

C006C359-D5D4-4621-B8B6-27FC3EDF7B99.png
C006C359-D5D4-4621-B8B6-27FC3EDF7B99.png (687.86 KiB) Viewed 2497 times
05A0F454-1A78-430E-BD42-5F969372BDDC.png
05A0F454-1A78-430E-BD42-5F969372BDDC.png (444.74 KiB) Viewed 2497 times
Might be some confusion where the mezzanine is concern.
pete19
Posts: 31
Joined: Thu Dec 03, 2020 12:37 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by pete19 »

quietvoid wrote:
Tue Dec 22, 2020 10:49 pm
420 is not wrong, the patent specs also only mention 12 bit YCbCr 420 reconstructed output.
As for the HDMI transmission, it is detailed as 12 bit YCbCr 422 because the metadata is also transported into the least significant bits.
first off, nobody said 420 is "wrong" - that is your wording. 420 simply has less color resolution, hence 422 is more desirable.

Second, both STD and LLDV output a 12bit 422 signal yet only STD contains in addition the dynamic metadata because it's tv-led. so the player-led stream (already DV decoded) which also contains 12bit 422 signal requires less bandwidth, hence it provides low latency...

again, BOTH DV stream types contain 12bit 422 signal (because that's the Dolby spec), yet LLDV has less data than the other... only STD carries metadata in the stream, not LLDV.... hence your 2nd statement is also wrong.

to recap:
all DV streams are 12 bit 422.
only tv-led contains the full dynamic metadata, so full stream requirements, hence RGB tunneling in 8bit float container is used.
player-led requires less bandwidth because it contains less data (still 12 bit 422 signal).
MEL is also 12 bit 422 but only contains a 10bit 420 signal, padded.

and to stress this part:
quietvoid wrote:
Tue Dec 22, 2020 10:49 pm
because the metadata is also transported into the least significant bits.
you make it sound like that "explains" a 12bit 420 final output. no, the metadata allows to reconstruct the full 12bit 422 master, which is why it is a 12bit 422 signal.

if final output was 12bit 420 (so EL only contains luminance, Y difference) for FEL STD, they wouldn't need a 12 bit 422 stream, they'd use a 12bit 420 stream. Metadata is the mere difference, it doesn't need "extra" space on top of the difference, especially since it's encoded as well.
DaMacFunkin
Posts: 286
Joined: Tue Oct 30, 2018 4:17 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by DaMacFunkin »

🥊
I’m off to get some popcorn for round 2, this is freakin’ awesome 🤩
pete19
Posts: 31
Joined: Thu Dec 03, 2020 12:37 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by pete19 »

DaMacFunkin wrote:
Wed Dec 23, 2020 6:58 am
I’m off to get some popcorn for round 2, this is freakin’ awesome
you want more ? here is an encore... :D

most folks here are forgetting that 12bit 422 ONLY ever comes into play for profile 7 FEL - not even profile 7 MEL (10bit 420).

All the gazillion other DV profiles are all 420 drained sauce for streaming. THIS is easily 90+% of DV content.

Then, for disc releases (--> profile 7), (unfortunately) the majority of releases are MEL... so 12bit 422 (--> p7 FEL) only rarely ever comes into play.

This may be another reason why in the many Dolby docs this is not explicitly stated, to not confuse content creators who in 9/10 cases will use single DV layer BL (for garbage compressed streaming), and even if authoring disc deliverables, then often use MEL.

Even some of the largest disc releases do not get DV or DV FEL (--> SW, only EVIII from Ryan Johnson is DV, but MEL). There are authoring issues with FEL when one gets into the 2nd and 3rd layers on the UHD disc, so that seems to be another huge obstacle.

again: p7 FEL tv-led is as good as it gets right now.
pete19
Posts: 31
Joined: Thu Dec 03, 2020 12:37 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by pete19 »

and here's more...

there are only two (2) DV streams:

1) 8bit RGB via tunneling (for STD tv-led, as it contains both BL+EL data)
2) 12bit 422 for everything else (LLDV player-led, MEL, or single layer profiles)

IF (!) the actual max chroma subsampling was 420, then the 2nd stream variant above would only need to be 12bit 420 - there would be no need to use 12bit 422 (+ HDCP, hence you'd never use more bandwidth than needed).

MEL is just 10bit 420 anyways, all single layer profiles as well.
IF (!) profile 7 LLDV was 12bit 420 for FEL releases you could just use a 12bit 420 stream as LLDV carries no metadata (DV was already encoded by player).

But they specc'ed a 12bit 422 stream as LLDV for p7 FEL is a 12bit 422 signal.
Pacer
Posts: 2
Joined: Mon Dec 21, 2020 5:09 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by Pacer »

daddy wrote:
Tue Dec 22, 2020 6:29 pm
Pacer wrote:
Mon Dec 21, 2020 5:28 pm
Hello everyone,

first I wanted to say a big THANK YOU to everyone so dedicated to get the DV playback riddle solved, first of all to yusesope, whose tool I've tried to use.

I've just had one UDH Bluray Disc (MI: Fallout), which I tried to get to run in DV after ripping it. With the help of yusesope's tool I was able to create an mp4 file which my LG OLED65GX9LA liked to play. I used the software and procedure described on p199 in this forum:

- ffmpeg to demux from BD m2ts file
- MUX_AND_CONVERT_TO_PROFILE_81.bat
- mp4muxer to get an .mp4 file

The file triggered DV on my LG TV, but I am not sure if it displayed the content correctly. That's why I would like to ask you more experienced people to take a look at my photo comparison (DSLR in manual mode). From left to right you see:

- MKV ripped with 1.15.3 from BD disc, played on my HiMedia Q10 Pro (which plays the file only in HDR10)
- same file, but played from my LG OLED65GX9LA with internal player via DLNA (which also plays it in HDR10)
- mp4-File created with the above procedure, played from my LG's internal player with active DV

Bildschirmfoto 2020-12-12 um 19.55.51.jpg

To me, the colors look quite different compared to the HDR10 variants of the movie. I do not have a hardware BD-UHD player to see how the movie would look like when played from there :-/

What are your thoughts on this?
In my expectation the colors should not differ between HDR10 and DV, right?
The EL is a 10-bit video bitstream that carries the residual between the source and the BL and the “dynamic” metadata for DV. An enhancement layer that carries a residual signal is = 0 (zero), that is, the decoder does not need to process the residual signal, is called minimum enhancement layer (MEL). If the residual signal is > 0, it is called full enhancement layer (FEL)

MI Fallout is a FEL Dolby Vision movie. (BL + EL (>0) + RPU)
Making DV files in single layer profile works only with MEL (EL=0).
The only correct method to have dual layers files (or dual tracks of single layer) is with mp4muxer with Dolby Vision in profile 7.
Interesting. Your statement stands in contrast to what Yusesope has written in his post:

UPDATE 02/10/20
I added the possibility to "convert" a UHD-BD (MEL or FEL, it doesn't matter) into a profile 8.1 file (Single Track Single Layer)


2. UHD-BD TO PROFILE 8.1
You can use both UHD-BD MEL and FEL


Can you explain, why this should not be possible with this tool?

Thanks a lot!
Pacer
MastaG
Posts: 66
Joined: Thu Aug 08, 2019 11:40 am

Re: Dolby Vision now possible through MP4 Mux.

Post by MastaG »

So which players are capable of playing FEL remuxes from network sources (Plex/Emby/SMB), e.g. the full deal retaining the 12bit 4000nits final picture like when playing the original disc?
e.g. remuxed into a TS or MKV container so I can add a high def audio track?
Post Reply