Page 213 of 756
Re: Dolby Vision now possible through MP4 Mux.
Posted: Fri Oct 02, 2020 2:53 pm
by ghostshadow
yusesope wrote: Fri Oct 02, 2020 1:00 pm
Another weekend is about to begin so you have a little time to try "the things" I write

!
This time it's up to profile 8.1!
I have updated the
POST we refer to during this testing phase.
Find all the instructions there.
This update "fixes" what was previously called "-mode 2".
The new lines of code should allow you to convert a UHD-BD (both MEL and FEL) in a file Single Track Single Layer profile 8.1 (STSL dvhe.08.0x, BL + RPU, HDR10 compatible).
All devices, especially TVs with proprietary OS, capable of playing profile 8 files (and which have so far encountered problems with DV) could benefit from this update.
Before starting, to find out if your device is able to correctly reproduce profile 8, use the test files that Dolby provides on
THIS page
Happy testing!
Wahoo you're a yusesope chef I'm testing this on Sunday
Re: Dolby Vision now possible through MP4 Mux.
Posted: Fri Oct 02, 2020 3:09 pm
by Tomas
blenky wrote: Fri Oct 02, 2020 1:27 pm
ghostshadow wrote: Fri Oct 02, 2020 9:55 am
blenky wrote: Fri Oct 02, 2020 12:32 am
Excuse a newbie question! Do I understand correctly that the instruction in post 176 are to create the DV video file only. This would then need to be muxed with an audio track? If so what method should be used? Thanks
Hello, you can use TsMuxer
I'm testing this on my Zidoo z9X with the UHD of 1917. If I create the file as per instructions using Mp4muxer (by using Tsmuxer it only plays in HDR10) the resultant video file plays in DV. However if I then use tsmuxer to add that file and the audio stream from 1917 the output only plays in HDR10.
What am doing wrong?
Screen shot of tsmuxer attached and media info on resultant file
tsmuxer.JPG
Code: Select all
General
ID : 1 (0x1)
Complete name : D:\Newsbin\dv\1917_mp4.m2ts
Format : BDAV
Format/Info : Blu-ray Video
File size : 71.8 GiB
Duration : 1 h 58 min
Overall bit rate mode : Variable
Overall bit rate : 86.4 Mb/s
Maximum Overall bit rate : 35.5 Mb/s
Video
ID : 4117 (0x1015)
Menu ID : 1 (0x1)
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main 10@L5.1@High
HDR format : Dolby Vision, Version 1.0, dvhe.07.06, BL+EL+RPU, Blu-ray compatible / SMPTE ST 2094 App 4, Version 1, HDR10+ Profile B compatible
Codec ID : 36
Duration : 1 h 58 min
Bit rate : 82.5 Mb/s
Width : 3 840 pixels
Height : 2 160 pixels
Display aspect ratio : 16:9
Frame rate : 23.976 (24000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0 (Type 2)
Bit depth : 10 bits
Bits/(Pixel*Frame) : 0.415
Stream size : 68.6 GiB (95%)
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.0001 cd/m2, max: 1000 cd/m2
Maximum Content Light Level : 1000 cd/m2
Maximum Frame-Average Light Level : 168 cd/m2
Audio
ID : 4352 (0x1100)
Menu ID : 1 (0x1)
Format : AC-3 MLP FBA 16-ch
Format/Info : Audio Coding 3 + Meridian Lossless Packing FBA with 16-channel presentation
Commercial name : Dolby TrueHD with Dolby Atmos
Muxing mode : Stream extension
Codec ID : 131
Duration : 1 h 58 min
Bit rate mode : Variable
Bit rate : 448 kb/s
Maximum bit rate : 7 158 kb/s
Channel(s) : 8 channels
Channel layout : L R C LFE Ls Rs Lb Rb
Sampling rate : 48.0 kHz
Frame rate : 31.250 FPS (1536 SPF)
Compression mode : Lossy
Delay relative to video : -2 s 836 ms
Stream size : 381 MiB (1%)
Language : English
Service kind : Complete Main
Number of dynamic objects : 11
Bed channel count : 1 channel
Bed channel configuration : LFE
Text
ID : 4768 (0x12A0)
Menu ID : 1 (0x1)
Format : PGS
Codec ID : 144
Language : English
Hi, if you want to do .TS to play DV you have to have a modified TS muxer. If you want, I can throw it at you. Otherwise, I did an ISO Blu-ray and then made an mkv in makeMKV and I played DV on Zidoo z9x.
Re: Dolby Vision now possible through MP4 Mux.
Posted: Fri Oct 02, 2020 3:14 pm
by blenky
ghostshadow wrote: Fri Oct 02, 2020 2:24 pm
essaye de faire un iso avec TsMuxer et apres avec MakeMKV 1.15.3 tu fais un mkv et tu test sur ton zidoo z9x
try to do an iso with TsMuxer and after with MakeMKV 1.15.3 you do an mkv and you test on your zidoo z9x
Thanks for that. I'll give that a go. Will try with profile 7 and 8.
Re: Dolby Vision now possible through MP4 Mux.
Posted: Fri Oct 02, 2020 4:12 pm
by iamTa
What's the benefit of Single Track Single Layer Profile 8.1?
Re: Dolby Vision now possible through MP4 Mux.
Posted: Fri Oct 02, 2020 4:26 pm
by blenky
Tomas wrote: Fri Oct 02, 2020 3:09 pm
blenky wrote: Fri Oct 02, 2020 1:27 pm
ghostshadow wrote: Fri Oct 02, 2020 9:55 am
Hello, you can use TsMuxer
I'm testing this on my Zidoo z9X with the UHD of 1917. If I create the file as per instructions using Mp4muxer (by using Tsmuxer it only plays in HDR10) the resultant video file plays in DV. However if I then use tsmuxer to add that file and the audio stream from 1917 the output only plays in HDR10.
What am doing wrong?
Screen shot of tsmuxer attached and media info on resultant file
tsmuxer.JPG
Code: Select all
General
ID : 1 (0x1)
Complete name : D:\Newsbin\dv\1917_mp4.m2ts
Format : BDAV
Format/Info : Blu-ray Video
File size : 71.8 GiB
Duration : 1 h 58 min
Overall bit rate mode : Variable
Overall bit rate : 86.4 Mb/s
Maximum Overall bit rate : 35.5 Mb/s
Video
ID : 4117 (0x1015)
Menu ID : 1 (0x1)
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main 10@L5.1@High
HDR format : Dolby Vision, Version 1.0, dvhe.07.06, BL+EL+RPU, Blu-ray compatible / SMPTE ST 2094 App 4, Version 1, HDR10+ Profile B compatible
Codec ID : 36
Duration : 1 h 58 min
Bit rate : 82.5 Mb/s
Width : 3 840 pixels
Height : 2 160 pixels
Display aspect ratio : 16:9
Frame rate : 23.976 (24000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0 (Type 2)
Bit depth : 10 bits
Bits/(Pixel*Frame) : 0.415
Stream size : 68.6 GiB (95%)
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.0001 cd/m2, max: 1000 cd/m2
Maximum Content Light Level : 1000 cd/m2
Maximum Frame-Average Light Level : 168 cd/m2
Audio
ID : 4352 (0x1100)
Menu ID : 1 (0x1)
Format : AC-3 MLP FBA 16-ch
Format/Info : Audio Coding 3 + Meridian Lossless Packing FBA with 16-channel presentation
Commercial name : Dolby TrueHD with Dolby Atmos
Muxing mode : Stream extension
Codec ID : 131
Duration : 1 h 58 min
Bit rate mode : Variable
Bit rate : 448 kb/s
Maximum bit rate : 7 158 kb/s
Channel(s) : 8 channels
Channel layout : L R C LFE Ls Rs Lb Rb
Sampling rate : 48.0 kHz
Frame rate : 31.250 FPS (1536 SPF)
Compression mode : Lossy
Delay relative to video : -2 s 836 ms
Stream size : 381 MiB (1%)
Language : English
Service kind : Complete Main
Number of dynamic objects : 11
Bed channel count : 1 channel
Bed channel configuration : LFE
Text
ID : 4768 (0x12A0)
Menu ID : 1 (0x1)
Format : PGS
Codec ID : 144
Language : English
Hi, if you want to do .TS to play DV you have to have a modified TS muxer. If you want, I can throw it at you. Otherwise, I did an ISO Blu-ray and then made an mkv in makeMKV and I played DV on Zidoo z9x.
I have the version of tsmuxer linked in the instructions. Is that not the correct one?
Re: Dolby Vision now possible through MP4 Mux.
Posted: Fri Oct 02, 2020 5:29 pm
by quietvoid
yusesope wrote: Fri Oct 02, 2020 1:00 pm
Another weekend is about to begin so you have a little time to try "the things" I write

!
This time it's up to profile 8.1!
I have updated the
POST we refer to during this testing phase.
Find all the instructions there.
This update "fixes" what was previously called "-mode 2".
The new lines of code should allow you to convert a UHD-BD (both MEL and FEL) in a file Single Track Single Layer profile 8.1 (STSL dvhe.08.0x, BL + RPU, HDR10 compatible).
All devices, especially TVs with proprietary OS, capable of playing profile 8 files (and which have so far encountered problems with DV) could benefit from this update.
Before starting, to find out if your device is able to correctly reproduce profile 8, use the test files that Dolby provides on
THIS page
Happy testing!
I've tried the new -mode 2 with a FEL title (Atomic Blonde) and it plays on the Firestick 4K, while previous default (profile 7) just plays a black screen. So that's good news.
That's with an MKV (1.15.3) and ExoPlayer.
Unless it's automatically using -fel_to_mel when using, I didn't look.
The Dolby 8.1 sample also plays in DV as well using ExoPlayer, but not on the C8 internal player.
The tool created 8.1 plays well after mp4muxer --dv-profile 8 on the internal player but not Kodi or ExoPlayer (playback failed).
Re: Dolby Vision now possible through MP4 Mux.
Posted: Fri Oct 02, 2020 6:17 pm
by blenky
Trying the 8.1 and after creating hevc file using the following command.
Code: Select all
mp4muxer -i path\to\BL_EL_RPU.hevc --dv-profile 8 -o path\to\TEST_FILE.mp4
However this give error
Error: For Dolby vision profile 8, dv-bl-compatible-id should be set, value can be 1 or 2.
Do I use 1 or 2?
Re: Dolby Vision now possible through MP4 Mux.
Posted: Fri Oct 02, 2020 6:32 pm
by blenky
Managed to get 8.1 working on Zidoo z9X by using tsmuxer to combine with Atmos audio from UHD to create ISO. Then created MKV with MakeMKV. Only thing is audio is out of sync. Need to offset audio ahead by about half a second.
Playback gets juddery after about 5 minutes - unwatchable at that point
Re: Dolby Vision now possible through MP4 Mux.
Posted: Fri Oct 02, 2020 7:09 pm
by chros
yusesope wrote: Fri Oct 02, 2020 1:00 pmThe new lines of code should allow you to convert a UHD-BD (both MEL and FEL) in a file Single Track Single Layer profile 8.1 (STSL dvhe.08.0x, BL + RPU, HDR10 compatible).
...
All devices, especially TVs with proprietary OS, capable of playing profile 8 files (and which have so far encountered problems with DV) could benefit from this update.
Before starting, to find out if your device is able to correctly reproduce profile 8, use the test files that Dolby provides on
THIS page
I tested them + 1 small conversion on oppo clone, all of them plays fine! Thank you!!!

- 1080p mp4 from Dolby: Dolby Vision, Version 1.0, dvhe.08.05, BL+RPU, HDR10 compatible / SMPTE ST 2086, HDR10 compatible
- 2160p mp4 from Dolby: Dolby Vision, Version 1.0, dvhe.08.09, BL+RPU, HDR10 compatible / SMPTE ST 2086, HDR10 compatible
- 2 mins ts FEL->MEL sample: Dolby Vision, Version 1.0, dvhe.08.06, BL+RPU, HDR10 compatible / SMPTE ST 2086, HDR10 compatible
Re: Dolby Vision now possible through MP4 Mux.
Posted: Fri Oct 02, 2020 8:32 pm
by Tomas
yusesope wrote: Fri Oct 02, 2020 1:00 pm
Another weekend is about to begin so you have a little time to try "the things" I write

!
This time it's up to profile 8.1!
I have updated the
POST we refer to during this testing phase.
Find all the instructions there.
This update "fixes" what was previously called "-mode 2".
The new lines of code should allow you to convert a UHD-BD (both MEL and FEL) in a file Single Track Single Layer profile 8.1 (STSL dvhe.08.0x, BL + RPU, HDR10 compatible).
All devices, especially TVs with proprietary OS, capable of playing profile 8 files (and which have so far encountered problems with DV) could benefit from this update.
Before starting, to find out if your device is able to correctly reproduce profile 8, use the test files that Dolby provides on
THIS page
Happy testing!
Please I wanted to ask there no longer need to be used after MUX_AND_CONVERT_TO_PROFILE_81, use DEMUX step?
Thank you for the advice.
Re: Dolby Vision now possible through MP4 Mux.
Posted: Sat Oct 03, 2020 12:01 am
by hepe9
yusesope wrote: Fri Oct 02, 2020 1:00 pm
Another weekend is about to begin so you have a little time to try "the things" I write

!
This time it's up to profile 8.1!
I have updated the
POST we refer to during this testing phase.
Find all the instructions there.
This update "fixes" what was previously called "-mode 2".
The new lines of code should allow you to convert a UHD-BD (both MEL and FEL) in a file Single Track Single Layer profile 8.1 (STSL dvhe.08.0x, BL + RPU, HDR10 compatible).
All devices, especially TVs with proprietary OS, capable of playing profile 8 files (and which have so far encountered problems with DV) could benefit from this update.
Before starting, to find out if your device is able to correctly reproduce profile 8, use the test files that Dolby provides on
THIS page
Happy testing!
Tried it in a Sony Xf90 and the default player doesn't play the demos, the exoplayer played it but has the same problem with the profile 7, red tones everywhere
Thanks anyway
Re: Dolby Vision now possible through MP4 Mux.
Posted: Sat Oct 03, 2020 12:20 am
by blenky
A correction is needed to the mp4muxer command line for profile 8.1. It should be one of the following (not sure which)
Code: Select all
mp4muxer -i path\to\BL_EL_RPU.hevc --dv-profile 8 --dv-bl-compatible-id 1 -o path\to\TEST_FILE.mp4
mp4muxer -i path\to\BL_EL_RPU.hevc --dv-profile 8 --dv-bl-compatible-id 2 -o path\to\TEST_FILE.mp4
Re: Dolby Vision now possible through MP4 Mux.
Posted: Sat Oct 03, 2020 1:28 am
by whiplash1
Hi yusesope, I'm encountering an unusual problem using beta method 2. When I start demuxing the BL_EL_RPU file, it quits after a few seconds. And prompts me to press any key. However, task manager shows high RAM and Disk activity. So is it actually running? Any ideas on what could be causing it?
Update: There's something definitely wrong with the Demux.bat. I went through the thread and another person too has the same issue as mine. I checked with a shorter clip (6 mins), same issue.
The mux and convert to MEL went just fine, so did the ffmeg demuxing. And it is an FEL title. (Apocalypse Now Final Cut).
Re: Dolby Vision now possible through MP4 Mux.
Posted: Sat Oct 03, 2020 8:35 am
by lexyz
yusesope wrote: Fri Oct 02, 2020 1:00 pm
This time it's up to profile 8.1!
I have updated the
POST we refer to during this testing phase.
Find all the instructions there.
I've tested notrious MI:Fallout scene on Shield TV and ... nope, still reddish blocks.
Files are here
https://gofile.io/d/JZUXU6
This leads me to think that the Shield issue is not FEL or MEL related, but that DoVi metadata is not properly handled by decoder
Thats why some FEL/MEL titles have no issues while other have.
But without proper tools it's impossible to catch a difference in meta.
Re: Dolby Vision now possible through MP4 Mux.
Posted: Sat Oct 03, 2020 8:37 am
by spezi
yusesope, you've created MUX_AND_CONVERT_TO_PROFILE_81.bat in your new v0.0.4_BETA_TEST.
Code: Select all
python-3.7.6.amd64\python.exe src\app.py -mux -mode 2
but that's equal to mux.bat now.
I think you should delete -mode 2 in mux.bat so that mux.bat is the same as in earlier releases.