it may work if you mux them to TS, I always leave .srt as external subs with Plex, that is what the .eng.forced switch is for. External is also the method for using .srt with Oppo.
Dolby Vision now possible through MP4 Mux.
-
DaMacFunkin
- Posts: 312
- Joined: Tue Oct 30, 2018 4:17 pm
Re: Dolby Vision now possible through MP4 Mux.
Re: Dolby Vision now possible through MP4 Mux.
Got it! I always assumed that dual PID were profile 7, and single PID were profile 4/6.yusesope wrote: ↑Thu Sep 17, 2020 5:54 pmThe 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).
Yep, Exactly!
I will get it corrected in tsMuxer.
Re: Dolby Vision now possible through MP4 Mux.
Knowing this, I tried a Mel with Makemkv and Exoplayer with the Sony Xf90 and it all have red tones, the hardware of this TV is a crap if a simple Firestick can do itshawnc22 wrote: ↑Thu Sep 17, 2020 6:26 pmA device's inability to previously play profile 7 files probably has more to do with the fact that the BL and EL+RPU layers were in separate tracks and not the actual profile label itself.hepe9 wrote: ↑Thu Sep 17, 2020 6:08 pmA Firestick playing DV profile 7?quietvoid wrote: ↑Thu Sep 17, 2020 4:19 pm
Just tried this and it works on the FireTV Stick 4K.
On archlinux, my steps (starting from a mode1 muxed BL_EL_RPU.hevc file):
Mux to mkv, split to make smaller.
Demux to hevc.
python app.py -lbf 50 -demux -fel_to_mel -if video.hevc
python app.py -lbf 50 -mux -bl BL.hevc -el EL_RPU.hevc
mp4muxer_64bits -i BL_EL_RPU.hevc --dv-profile 7 -o test.mp4
And it plays in Dolby Vision with ExoPlayer.
PS: there should probably be an indication or something to stop instead of just "Wait...", the default -lbf value just hanged because the file sample is small.
In this thread I read to many people saying the Firestick can't play DV profile 7
I'm confused right now
Re: Dolby Vision now possible through MP4 Mux.
At the end I muxed with tsmuxer profile 8 fix into .ts instead of mp4muxer and dolby vision worked on the native tv player (does not triggers dolby vision in exoplayer) but I get strong red colors on people's skin, too much.
EDIT: I tried again all the steps from yusesope but instead I used -mode 2 instead of default mode on his tool and this time It triggered dolby vision on exoplayer. All this on 1917 (FEL title).
EDIT: I tried again all the steps from yusesope but instead I used -mode 2 instead of default mode on his tool and this time It triggered dolby vision on exoplayer. All this on 1917 (FEL title).
Re: Dolby Vision now possible through MP4 Mux.
I hope so
Let us know! If you are using Windows, please read the central part of THIS post!
I wrote everything in C++, you could run my code on a toaster! The problem is the implementation: a good programmer would take a few hours ... I need my time. The idea of integrating everything into ExoP has been in my head for a while but I still don't know if I have the skills to do it! I'll try it in my free time when I feel like it!
However don't worry: mp4muxer should only be used in these test days. As soon as @jcdr428 updates TsMuxeR (in order to get profile 7 files), you can start using it as it is much faster than the first one and allows you to create files with TrueHD/ATMOS audio included!
Did you also follow the first important step?
Is your device capable of playing these files (the first only through ExoP)?
If the answer is no, unfortunately there is nothing I can do! However (and this also applies to @hepe9), take the positive aspect: if all goes well with a 40-60€ FireStick 4K you can play UHD-BD backups as MEL without giving up ultra-high resolution audio (PCM in most cases). I think this is good news! No?
This is interesting ... But unfortunately I don't think it is the correct way to proceed!
I'm curious! You could also call @RESET_9999 and take some pictures together
Thank you for your time!
Re: Dolby Vision now possible through MP4 Mux.
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?
Would converting them from FEL -> MEL fix this issue?
Also would you happen to have a diff file for mp4muxer so I can build on Linux ?
Re: Dolby Vision now possible through MP4 Mux.
Try and let us know!MastaG wrote: ↑Fri Sep 18, 2020 1:31 pmSo 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?
Also would you happen to have a diff file for mp4muxer so I can build on Linux ?
I don't have it but there is an x64 version in the archive that I used on Ubuntu.
Re: Dolby Vision now possible through MP4 Mux.
Yeah you're right, the mp4muxer_64bits binary also seems to work on Fedora 33 (beta).yusesope wrote: ↑Fri Sep 18, 2020 1:56 pmTry and let us know!MastaG wrote: ↑Fri Sep 18, 2020 1:31 pmSo 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?
Also would you happen to have a diff file for mp4muxer so I can build on Linux ?
I don't have it but there is an x64 version in the archive that I used on Ubuntu.
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.hevcNow 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.hevcWhen 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.mp4Code: 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.
Re: Dolby Vision now possible through MP4 Mux.
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.
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: 2410
- Joined: Mon Aug 05, 2019 7:12 pm
Re: Dolby Vision now possible through MP4 Mux.
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.
Re: Dolby Vision now possible through MP4 Mux.
RESET_9999 wrote: ↑Fri Sep 18, 2020 4:49 pmUnfortunately, 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
Re: Dolby Vision now possible through MP4 Mux.
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.RESET_9999 wrote: ↑Fri Sep 18, 2020 4:49 pmUnfortunately, 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.
Re: Dolby Vision now possible through MP4 Mux.
@ragico one question, the Firestick works good with .pgs subtitles in the Exoplayer?
-
Meister_Proper
- Posts: 79
- Joined: Mon Mar 07, 2016 8:27 pm
Re: Dolby Vision now possible through MP4 Mux.
The GIJoe P7 MEL triggers DV on the Zidoo Z9X, but your FEL to MEL plays in HDR10 only.yusesope wrote: ↑Thu Sep 17, 2020 2:59 pmThis 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.