Dolby Vision now possible through MP4 Mux.

Please post here for issues related to UHD discs
MastaG
Posts: 59
Joined: Thu Aug 08, 2019 11:40 am

Re: Dolby Vision now possible through MP4 Mux.

Post by MastaG » Fri Sep 18, 2020 2:21 pm

yusesope wrote:
Fri Sep 18, 2020 1:56 pm
MastaG wrote:
Fri Sep 18, 2020 1:31 pm
So for playback on LG (C8 in my case), some FEL movies like 1917 and Gemini Man would always give heavily stutter (both from USB HDD and Network)
Would converting them from FEL -> MEL fix this issue?
yusesope wrote:
Thu Sep 17, 2020 2:59 pm
... and this version of mp4muxer. Before testing an entire film I advise you to work with 120 second cuts.
Also would you happen to have a diff file for mp4muxer so I can build on Linux ?
Try and let us know!
I don't have it but there is an x64 version in the archive that I used on Ubuntu.
Yeah you're right, the mp4muxer_64bits binary also seems to work on Fedora 33 (beta).
For the record, I've demuxed the bluray iso file of Gemini Man:

Code: Select all

ffmpeg -i bluray:///home/mastag/Video\'s/GeminiManISO -map 0:0 -c copy BL.hevc
ffmpeg -i bluray:///home/mastag/Video\'s/GeminiManISO -map 0:1 -c copy EL.hevc
Then I used tsMuxerGui to demux the truehd track and downconvert it to (core) ac3.

Now I'm muxing it with your tool with conversion to MEL:

Code: Select all

python src/app.py -mux -fel_to_mel -bl BL.hevc -el EL.hevc -of BL_EL_RPU.hevc
it takes a while.. 58% now..

When it's done I'll use your mp4muxer_64bits binary to mux the BL_EL_RPU.hevc and the ac3 audio which I got from txMuxer into a single mp4 file.

I'll let you know!
Thanks for everything bro!

EDIT: Done!

Code: Select all

mp4muxer -i BL_EL_RPU.hevc --dv-profile 7 -i 00222.track_4352.ac3 --media-lang eng -o Gemini_Man_2019.mp4
Info:

Code: Select all

General
Complete name                            : Gemini_Man_2019.mp4
Format                                   : MPEG-4
Format profile                           : Base Media / Version 2
Codec ID                                 : mp42 (mp42/dby1/isom)
File size                                : 68.9 GiB
Duration                                 : 1 h 57 min
Overall bit rate                         : 84.3 Mb/s
Encoded date                             : UTC 2020-09-18 14:35:45
Tagged date                              : UTC 2020-09-18 14:35:45

Video
ID                                       : 1
Format                                   : HEVC
Format/Info                              : High Efficiency Video Coding
Format profile                           : Main 10@L5.1@High
HDR format                               : Dolby Vision, Version 1.0, dvhe.07.09, BL+EL+RPU, Blu-ray compatible / SMPTE ST 2086, HDR10 compatible
Codec ID                                 : hev1
Codec ID/Info                            : High Efficiency Video Coding
Duration                                 : 1 h 57 min
Bit rate                                 : 83.7 Mb/s
Width                                    : 3 840 pixels
Height                                   : 2 160 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 59.940 (60000/1001) FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0 (Type 2)
Bit depth                                : 10 bits
Bits/(Pixel*Frame)                       : 0.168
Stream size                              : 68.4 GiB (99%)
Default                                  : No
Encoded date                             : UTC 2020-09-18 14:35:45
Tagged date                              : UTC 2020-09-18 14:35:45
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.0010 cd/m2, max: 1000 cd/m2
Maximum Content Light Level              : 5180 cd/m2
Maximum Frame-Average Light Level        : 1577 cd/m2
Codec configuration box                  : hvcC+dvcC+hvcE

Audio
ID                                       : 2
Format                                   : AC-3
Format/Info                              : Audio Coding 3
Commercial name                          : Dolby Digital
Codec ID                                 : ac-3
Duration                                 : 1 h 57 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                              : 536 MiB (1%)
Language                                 : eng
Service kind                             : Complete Main
Default                                  : No
Encoded date                             : UTC 2020-09-18 14:35:45
Tagged date                              : UTC 2020-09-18 14:35:45
Last edited by MastaG on Fri Sep 18, 2020 4:05 pm, edited 2 times in total.

ragico
Posts: 165
Joined: Fri Feb 15, 2019 1:09 am

Re: Dolby Vision now possible through MP4 Mux.

Post by ragico » Fri Sep 18, 2020 2:59 pm

I did my second complete movie: Us
This is really a challenge for a dolby vision chain. Until today only the original disc, played in the sony x700, was really correct to my eyes. I did not like the mkv version played trough the shield because of something wrong here and there with the colours.
Then I have watched the most critical scenes of this mp4 via firestick comparing it to that of the sony ( both devices almost syncronized) and could not detect any difference between the 2. Then I compared Despicable me 3 in the same way with same results. I have not a camera to take screenshot foto just my phone. I wait for comments from others as @RESET_999.
Maestro Yusesope. BRAVO.

RESET_9999
Posts: 265
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 » Fri Sep 18, 2020 4:49 pm

yusesope wrote:
Fri Sep 18, 2020 12:57 pm
I'm curious! You could also call @RESET_9999 and take some pictures together :lol: :lol: :lol: :lol: :lol: !
ragico wrote:
Fri Sep 18, 2020 2:59 pm
I have not a camera to take screenshot foto just my phone. I wait for comments from others as @RESET_999.
Unfortunately, those converted MEL files dont play on my x700 so I can't properly compare them with the original. And the shield cannot output proper colors for ANY file that contains an EL and i dont have any other device to test.. :(

the native single layer MEL (el+RPU) movies play fines but not the converted one.
Please forgive my weak English.
Sony x700 ----> Denon AVR ----> LG OLED C8

hepe9
Posts: 64
Joined: Mon Jun 03, 2019 11:04 am

Re: Dolby Vision now possible through MP4 Mux.

Post by hepe9 » Fri Sep 18, 2020 5:00 pm

RESET_9999 wrote:
Fri Sep 18, 2020 4:49 pm
yusesope wrote:
Fri Sep 18, 2020 12:57 pm
I'm curious! You could also call @RESET_9999 and take some pictures together :lol: :lol: :lol: :lol: :lol: !
ragico wrote:
Fri Sep 18, 2020 2:59 pm
I have not a camera to take screenshot foto just my phone. I wait for comments from others as @RESET_999.
Unfortunately, those converted MEL files dont play on my x700 so I can't properly compare them with the original. And the shield cannot output proper colors for ANY file that contains an EL and i dont have any other device to test.. :(

the native single layer MEL (el+RPU) movies play fines but not the converted one.
:(
I hope other can do the comparative, because if work, it's the great deal

ragico
Posts: 165
Joined: Fri Feb 15, 2019 1:09 am

Re: Dolby Vision now possible through MP4 Mux.

Post by ragico » Fri Sep 18, 2020 5:06 pm

RESET_9999 wrote:
Fri Sep 18, 2020 4:49 pm
yusesope wrote:
Fri Sep 18, 2020 12:57 pm
I'm curious! You could also call @RESET_9999 and take some pictures together :lol: :lol: :lol: :lol: :lol: !
ragico wrote:
Fri Sep 18, 2020 2:59 pm
I have not a camera to take screenshot foto just my phone. I wait for comments from others as @RESET_999.
Unfortunately, those converted MEL files dont play on my x700 so I can't properly compare them with the original. And the shield cannot output proper colors for ANY file that contains an EL and i dont have any other device to test.. :(

the native single layer MEL (el+RPU) movies play fines but not the converted one.
Yes, these converted Mel files dont play on my x700 too. So I plugged my firestick into the Pana to compare them with the discs played on the x700.

hepe9
Posts: 64
Joined: Mon Jun 03, 2019 11:04 am

Re: Dolby Vision now possible through MP4 Mux.

Post by hepe9 » Fri Sep 18, 2020 9:03 pm

@ragico one question, the Firestick works good with .pgs subtitles in the Exoplayer?

Meister_Proper
Posts: 77
Joined: Mon Mar 07, 2016 8:27 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by Meister_Proper » Sat Sep 19, 2020 7:57 am

yusesope wrote:
Thu Sep 17, 2020 2:59 pm
This latest innovation together with the previous idea of ​​combining the two layers (BL and EL_RPU) in a single track, should guarantee the possibility of playing any FEL UHD-BD backup on Android devices equipped with a Dolby Vision decoder and capable of playing THIS file (+ my ExoPlayer) or THIS file.
The GIJoe P7 MEL triggers DV on the Zidoo Z9X, but your FEL to MEL plays in HDR10 only.

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

Re: Dolby Vision now possible through MP4 Mux.

Post by yusesope » Sat Sep 19, 2020 8:39 am

RESET_9999 wrote:
Fri Sep 18, 2020 4:49 pm
Unfortunately, those converted MEL files dont play on my x700 ...
ragico wrote:
Fri Sep 18, 2020 5:06 pm
Yes, these converted Mel files dont play on my x700 too. So I plugged my firestick into the Pana to compare them with the discs played on the x700.
Meister_Proper wrote:
Sat Sep 19, 2020 7:57 am
The GIJoe P7 MEL triggers DV on the Zidoo Z9X, but your FEL to MEL plays in HDR10 only.
Thanks for your valuable tests!
The fact that devices like the FireStick 4K have no problems playing this type of file encourages me but the issue of the Sony x700/Zidoo Z9X leaves me a bit of a bad taste.

This is a second attempt based on a slightly different idea from the previous one.
Does THIS FILE play on both FireStick 4K and Sony/Zidoo Z9X?
Thank you!

Clearly, the test is also extended to owners of different devices (obviously interested in the FEL -> MEL).
In your posts please also specify the device.
MastaG wrote:
Fri Sep 18, 2020 2:21 pm
EDIT: Done!
But you didn't let us know if it works on LG or not :lol: .
A little tip: if you don't need to make cuts, you can extract video and audio with a single command

Code: Select all

ffmpeg.exe -i \path\to\file -map 0:0 -c copy \path\to\BL.hevc -map 0:1 -c copy \path\to\EL.hevc -map 0:XXX -bsf:a truehd_core -c:a copy \path\to\AUDIO.ac3
Clearly replace "XXX" with the correct TrueHD (with ac3 core) audio stream id

Meister_Proper
Posts: 77
Joined: Mon Mar 07, 2016 8:27 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by Meister_Proper » Sat Sep 19, 2020 8:48 am

yusesope wrote:
Sat Sep 19, 2020 8:39 am
Thanks for your valuable tests!
The fact that devices like the FireStick 4K have no problems playing this type of file encourages me but the issue of the Sony x700/Zidoo Z9X leaves me a bit of a bad taste.

This is a second attempt based on a slightly different idea from the previous one.
Does THIS FILE play on both FireStick 4K and Sony/Zidoo Z9X?
Thank you!
Thank you for all your work make!
This one triggers DV :)

hepe9
Posts: 64
Joined: Mon Jun 03, 2019 11:04 am

Re: Dolby Vision now possible through MP4 Mux.

Post by hepe9 » Sat Sep 19, 2020 8:57 am

@RESET_9999 we need you, I hope now works in the x700

@yusesope you're amazing

PapitaHD
Posts: 26
Joined: Sun Mar 01, 2020 10:31 am

Re: Dolby Vision now possible through MP4 Mux.

Post by PapitaHD » Sat Sep 19, 2020 9:16 am

This is a second attempt based on a slightly different idea from the previous one.
Does THIS FILE play on both FireStick 4K and Sony/Zidoo Z9X?
Thank you!
Unfortunately it still doesn't play on M9702 (Oppo 203 clone). I've also tried several titles, using the new beta version of your tool and my LG C8 plays all of them but for some reason, the ChinOppo doesn't.

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

Re: Dolby Vision now possible through MP4 Mux.

Post by yusesope » Sat Sep 19, 2020 9:17 am

Meister_Proper wrote:
Sat Sep 19, 2020 8:48 am
This one triggers DV :)
Ok :)
hepe9 wrote:
Sat Sep 19, 2020 8:57 am
@RESET_9999 we need you, I hope now works in the x700
We hope it works for @RESET_9999 too, but the most important response is that of @ragico.
If the file doesn't play on the FireStick, we're at the same point as before!

PapitaHD wrote:
Sat Sep 19, 2020 9:16 am
Unfortunately it still doesn't play on M9702 (Oppo 203 clone). I've also tried several titles, using the new beta version of your tool and my LG C8 plays all of them but for some reason, the ChinOppo doesn't.
One device at a time :D !
Don't worry: your M9702 doesn't need a "conversion" FEL -> MEL.

hepe9
Posts: 64
Joined: Mon Jun 03, 2019 11:04 am

Re: Dolby Vision now possible through MP4 Mux.

Post by hepe9 » Sat Sep 19, 2020 9:38 am

yusesope wrote:
Sat Sep 19, 2020 9:17 am
We hope it works for @RESET_9999 too, but the most important response is that of @ragico.
If the file doesn't play on the FireStick, we're at the same point as before!
Fingers crossed

pitrako
Posts: 12
Joined: Sun Sep 13, 2020 7:55 am

Re: Dolby Vision now possible through MP4 Mux.

Post by pitrako » Sat Sep 19, 2020 10:00 am

yusesope wrote:
Sat Sep 19, 2020 8:39 am
RESET_9999 wrote:
Fri Sep 18, 2020 4:49 pm
Unfortunately, those converted MEL files dont play on my x700 ...
ragico wrote:
Fri Sep 18, 2020 5:06 pm
Yes, these converted Mel files dont play on my x700 too. So I plugged my firestick into the Pana to compare them with the discs played on the x700.
Meister_Proper wrote:
Sat Sep 19, 2020 7:57 am
The GIJoe P7 MEL triggers DV on the Zidoo Z9X, but your FEL to MEL plays in HDR10 only.
Thanks for your valuable tests!
The fact that devices like the FireStick 4K have no problems playing this type of file encourages me but the issue of the Sony x700/Zidoo Z9X leaves me a bit of a bad taste.

This is a second attempt based on a slightly different idea from the previous one.
Does THIS FILE play on both FireStick 4K and Sony/Zidoo Z9X?
Thank you!

Clearly, the test is also extended to owners of different devices (obviously interested in the FEL -> MEL).
In your posts please also specify the device.
MastaG wrote:
Fri Sep 18, 2020 2:21 pm
EDIT: Done!
But you didn't let us know if it works on LG or not :lol: .
A little tip: if you don't need to make cuts, you can extract video and audio with a single command

Code: Select all

ffmpeg.exe -i \path\to\file -map 0:0 -c copy \path\to\BL.hevc -map 0:1 -c copy \path\to\EL.hevc -map 0:XXX -bsf:a truehd_core -c:a copy \path\to\AUDIO.ac3
Clearly replace "XXX" with the correct TrueHD (with ac3 core) audio stream id
I tested again on my PUS7304 with your FEL to MEL (1917 movie), but this time all profiles 4, 5, 7, 8 with id 1 and 8 with id 2 in exoplayer and yout latest test file, these are the results:

Profile 4 = It starts but lags until the image freezes.
Profile 5 = It plays correctly.
Profile 7 = Black screen, time does not advance.
Profile 8 id 1 = It plays correctly.
Profile 8 id 2 = It plays correctly.
fel_to_mel_test_2.mp4 (your test file)= Black screen, time does not advance.

No luck for me with profile 7 :( .

iamTa
Posts: 13
Joined: Sat Sep 19, 2020 10:13 am

Re: Dolby Vision now possible through MP4 Mux.

Post by iamTa » Sat Sep 19, 2020 10:17 am

Is there any way to combine a TrueHD track with a converted FEL to MEL or do we need to wait for the tsMuxeR update?

Looks like tsMuxeR 2.6.16 Nightly has a few DV updates.

Post Reply