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 »

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
yusesope
Posts: 221
Joined: Sun Jul 28, 2019 3:34 am

Re: Dolby Vision now possible through MP4 Mux.

Post by yusesope »

mike admin wrote:
Thu Oct 01, 2020 8:58 pm
I was under impression that this flag is only present on single-layer streams.
I agree with you!
The problem is that this stream is present inside a UHD-BD (Spears & Munsil) and it is definitely not a FEL stream.
It only remains to recognize it as MEL (el_spatial_resampling_filter_flag is still true).
yusesope
Posts: 221
Joined: Sun Jul 28, 2019 3:34 am

Re: Dolby Vision now possible through MP4 Mux.

Post by yusesope »

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!
mike admin
Posts: 4075
Joined: Wed Nov 26, 2008 2:26 am
Contact:

Re: Dolby Vision now possible through MP4 Mux.

Post by mike admin »

yusesope wrote:
Fri Oct 02, 2020 12:52 pm
The problem is that this stream is present inside a UHD-BD (Spears & Munsil) and it is definitely not a FEL stream.
It only remains to recognize it as MEL (el_spatial_resampling_filter_flag is still true).
Interesting. What happens if we just discard the EL layer in this case? Do you think it is safe? I wonder if it is actually a profile 8 stream at all.
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 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
tsmuxer.JPG (111.79 KiB) Viewed 18834 times

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

ghostshadow
Posts: 55
Joined: Sun Sep 13, 2020 10:25 am

Re: Dolby Vision now possible through MP4 Mux.

Post by ghostshadow »

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
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: 373
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
Post Reply