Dolby Vision now possible through MP4 Mux.

Please post here for issues related to UHD discs
ghostshadow
Posts: 55
Joined: Sun Sep 13, 2020 10:25 am

Re: Dolby Vision now possible through MP4 Mux.

Post 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 :lol: :lol: :lol: !
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
Tomas
Posts: 46
Joined: Tue Aug 11, 2020 7:47 pm

Re: Dolby Vision now possible through MP4 Mux.

Post 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.
blenky
Posts: 24
Joined: Fri Oct 02, 2020 12:29 am

Re: Dolby Vision now possible through MP4 Mux.

Post 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.
iamTa
Posts: 13
Joined: Sat Sep 19, 2020 10:13 am

Re: Dolby Vision now possible through MP4 Mux.

Post by iamTa »

What's the benefit of Single Track Single Layer Profile 8.1?
blenky
Posts: 24
Joined: Fri Oct 02, 2020 12:29 am

Re: Dolby Vision now possible through MP4 Mux.

Post 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?
quietvoid
Posts: 377
Joined: Sun Apr 19, 2020 4:15 pm

Re: Dolby Vision now possible through MP4 Mux.

Post 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 :lol: :lol: :lol: !
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).
blenky
Posts: 24
Joined: Fri Oct 02, 2020 12:29 am

Re: Dolby Vision now possible through MP4 Mux.

Post 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?
blenky
Posts: 24
Joined: Fri Oct 02, 2020 12:29 am

Re: Dolby Vision now possible through MP4 Mux.

Post 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
chros
Posts: 102
Joined: Sun Sep 20, 2020 8:36 am

Re: Dolby Vision now possible through MP4 Mux.

Post by chros »

yusesope wrote:
Fri Oct 02, 2020 1:00 pm
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
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
Tomas
Posts: 46
Joined: Tue Aug 11, 2020 7:47 pm

Re: Dolby Vision now possible through MP4 Mux.

Post 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 :lol: :lol: :lol: !
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.
hepe9
Posts: 71
Joined: Mon Jun 03, 2019 11:04 am

Re: Dolby Vision now possible through MP4 Mux.

Post 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 :lol: :lol: :lol: !
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
blenky
Posts: 24
Joined: Fri Oct 02, 2020 12:29 am

Re: Dolby Vision now possible through MP4 Mux.

Post 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
whiplash1
Posts: 38
Joined: Sun Apr 19, 2020 7:40 am

Re: Dolby Vision now possible through MP4 Mux.

Post 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).
Last edited by whiplash1 on Sat Oct 03, 2020 8:52 am, edited 1 time in total.
lexyz
Posts: 120
Joined: Fri May 08, 2020 5:32 am

Re: Dolby Vision now possible through MP4 Mux.

Post 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.
Last edited by lexyz on Sat Oct 03, 2020 8:37 am, edited 1 time in total.
Bravia XF90, Shield TV Pro'19, UBP-X700
spezi
Posts: 12
Joined: Wed May 01, 2019 4:28 pm

Re: Dolby Vision now possible through MP4 Mux.

Post 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.
Post Reply