A 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 pmJust 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
Dolby Vision now possible through MP4 Mux.
Re: Dolby Vision now possible through MP4 Mux.
Re: Dolby Vision now possible through MP4 Mux.
I tried "A quiet place", It's a FEL title, in exoplayer through kodi and doesn't play, It stays at 00:00. And I think I followed all the steps (extract with FFmpeg, mux and convert to MEL and create a mp4 file with mp4muxer.yusesope wrote: ↑Thu Sep 17, 2020 5:54 pmIt always warms the heart to see "archlinux" written somewhere . Thanks for your feedback.
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!
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).
Yep, Exactly!
Last edited by pitrako on Thu Sep 17, 2020 6:37 pm, edited 1 time in total.
Re: Dolby Vision now possible through MP4 Mux.
Thanks for the answershawnc22 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.
For what it's worth, I've mentioned already that I can play everything except FEL files on mine.
viewtopic.php?f=12&t=21937&p=93904#p93904
Re: Dolby Vision now possible through MP4 Mux.
I’ll try and test over the weekendyusesope wrote: ↑Thu Sep 17, 2020 2:59 pm
As anticipated some posts ago, maybe I found the way to "convert" a FEL file to MEL.
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.
Fingers crossed!
I presume that this isn’t something that could be done ‘on the fly’ at some point? We would need to change the makemkv MKVs to these MP4s each time? I.e. wouldn’t be able to just play the FEL mkv using exoplayer.
Re: Dolby Vision now possible through MP4 Mux.
Following Yusesope instructions, I did the full movie of Despicable me 3 (which is fel) from the original UHD disc backup. I also add an ac3 5.1 audio track to the mp4.
In the Firestick 4k the movie plays perfectly in dolby vision whilst the original fel gives only audio and black screen as all the fel movies in the firestick 4k.
I have used kodi 18.8 and yusesope exoplayer as recommended.
Perfect also the fast fwd/rear navigation.
In next days I will compare it with the original disc played on sony x700 feeding a Panasonic GZ2000 oled.
Yusesope you continue to amaze.
Thankkssssssssssss.
In the Firestick 4k the movie plays perfectly in dolby vision whilst the original fel gives only audio and black screen as all the fel movies in the firestick 4k.
I have used kodi 18.8 and yusesope exoplayer as recommended.
Perfect also the fast fwd/rear navigation.
In next days I will compare it with the original disc played on sony x700 feeding a Panasonic GZ2000 oled.
Yusesope you continue to amaze.
Thankkssssssssssss.
-
- Posts: 311
- Joined: Tue Oct 30, 2018 4:17 pm
Re: Dolby Vision now possible through MP4 Mux.
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.
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.hevc
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
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
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.