Page 105 of 756

Re: Dolby Vision now possible through MP4 Mux.

Posted: Tue Mar 10, 2020 8:16 pm
by mike admin
yusesope wrote: Thu Mar 05, 2020 5:47 pm Here are several clips of 23 seconds each relating to the Joker movie
First of all , thanks a lot for doing this! You did write the history.

Now, to avoid some confusion, let me sum it up and please correct me if I'm wrong on any account.

DV streams may have different profiles and configurations.
Single layer: Video + RPU stream
Double layer: Video (base) layer + Video (extension) layer (difference between 12bit and 10bit picture) + RPU stream.

Profile 7 is always double-layer and may be authored in FEL (full EL) or MEL configuration (minimal EL). In MEL configuration the video extension layer contains all zero pictures (no 12-bit data) and could be safely discarded.

Old devices with old DV profile 7 implementation don't know about MEL and require EL stream.
Some new "slow and crappy" devices can only decode profile 7 MEL configuration and choke on non-empty EL stream.

Double layer configuration may be encoded as single-PID or dual-PID in M2TS file. Note: "Double layer" is not equal to "dual-PID", and in fact these are orthogonal.

Conversion from dual-PID encoding to single-PID encoding is publicly documented in freely-available Dolby encoding spec, and implemented in dolby mp4muxer.

UHD Blu-ray always use DV profile 7 double-layer in M2TS container, in FEL or MEL configuration, encoded as dual-PID.

The "Joker" sample is dvhe.07 double-layer MEL stream.
Joker_BL_EL_RPU ("my program - first version") is a full double-layer transcode from dual-PID to single-PID encoding: BL + EL + RPU.
Joker_BL_RPU ("second version - identical to that of DVDFab") is MEL-optimized transcoding from dual-PID to single-PID encoding: BL + RPU. The (empty) EL is dropped.
Both samples can be easily encoded as MKV, and available at http://www.makemkv.com/download/dv/

(a) Most devices should be able to play both MKV samples.
(b) Devices with old implementation could choke on Joker_BL_EL_RPU
(c) Low-power devices may only handle Joker_BL_RPU. These devices won't be able to play FEL streams.

Please try both samples and post the results. Also, as mentioned before, please point out if you see anything wrong. If everything looks good, then probably we should start a "compatibility" thread with a summary sticky post like:
device - compatibility status.

Also, can anyone find a good sample for FEL stream of roughly the same duration - 23 seconds, about 100 MB? Please PM/email me if you have M2TS and I'll produce MKV out of it.

Re: Dolby Vision now possible through MP4 Mux.

Posted: Tue Mar 10, 2020 8:32 pm
by RESET_9999
are you saying those 2 mkv samples should trigger DV ? just looking at the mediainfo, there isnt any EL or RPU information

Re: Dolby Vision now possible through MP4 Mux.

Posted: Tue Mar 10, 2020 8:55 pm
by Arbigator
shawnc22 wrote: Tue Mar 10, 2020 8:14 pm what movies have you tried? I can maybe give it a try later tonight if I have it in my library
I tried Joker, Doctor Sleep, First Man, and Spectre.

Re: Dolby Vision now possible through MP4 Mux.

Posted: Tue Mar 10, 2020 8:56 pm
by mike admin
RESET_9999 wrote: Tue Mar 10, 2020 8:32 pmare you saying those 2 mkv samples should trigger DV ? just looking at the mediainfo, there isnt any EL or RPU information
Yes. Guess not so much software could handle DV in MKV yet...

Re: Dolby Vision now possible through MP4 Mux.

Posted: Tue Mar 10, 2020 8:59 pm
by Arbigator
Tried both MKV files on a 2019 Shield via Plex, and a LG B9 via the plex app with no Dolby Vision. HDR playback only.

Re: Dolby Vision now possible through MP4 Mux.

Posted: Tue Mar 10, 2020 9:26 pm
by SamuriHL
mike admin wrote: Tue Mar 10, 2020 8:56 pm
RESET_9999 wrote: Tue Mar 10, 2020 8:32 pmare you saying those 2 mkv samples should trigger DV ? just looking at the mediainfo, there isnt any EL or RPU information
Yes. Guess not so much software could handle DV in MKV yet...
That's been the case and I don't see it changing any time soon. :(

Re: Dolby Vision now possible through MP4 Mux.

Posted: Tue Mar 10, 2020 10:17 pm
by built_to_chill
@mike_admin as regards the Sony X700 I’m afraid DV in mkv won’t work. If I gather correctly your asking for feedback for different devices.

As you may be aware the X700 has a strange DV implementation that does not auto-engage. It is either on for all UHDs (forced DV where there is no DV) or off for all UHDs.

This behaviour is the same for .ts files. But, by contrast, DV is effectively forced off for mkvs.

Re: Dolby Vision now possible through MP4 Mux.

Posted: Tue Mar 10, 2020 11:14 pm
by RESET_9999
Arbigator wrote: Tue Mar 10, 2020 8:55 pm
shawnc22 wrote: Tue Mar 10, 2020 8:14 pm what movies have you tried? I can maybe give it a try later tonight if I have it in my library
I tried Joker, Doctor Sleep, First Man, and Spectre.
yep, I think Doctor Sleep EL is not processed. It gives me an error with V1 tool and with V2 tool , EL analyzing stays at 0%.
Image

Re: Dolby Vision now possible through MP4 Mux.

Posted: Tue Mar 10, 2020 11:40 pm
by shawnc22
RESET_9999 wrote: Tue Mar 10, 2020 11:14 pm
Arbigator wrote: Tue Mar 10, 2020 8:55 pm
shawnc22 wrote: Tue Mar 10, 2020 8:14 pm what movies have you tried? I can maybe give it a try later tonight if I have it in my library
I tried Joker, Doctor Sleep, First Man, and Spectre.
yep, I think Doctor Sleep EL is not processed. It gives me an error with V1 tool and with V2 tool , EL analyzing stays at 0%.
Image
I was going to give that a try, too, when I got home, but I can try First Man also. I'm wondering if it might be because the Doctor Sleep disc is also in HDR10+. The EL might be a little different in that case?

Re: Dolby Vision now possible through MP4 Mux.

Posted: Wed Mar 11, 2020 12:07 am
by Arbigator
shawnc22 wrote: Tue Mar 10, 2020 11:40 pm
RESET_9999 wrote: Tue Mar 10, 2020 11:14 pm
Arbigator wrote: Tue Mar 10, 2020 8:55 pm

I tried Joker, Doctor Sleep, First Man, and Spectre.
yep, I think Doctor Sleep EL is not processed. It gives me an error with V1 tool and with V2 tool , EL analyzing stays at 0%.
Image
I was going to give that a try, too, when I got home, but I can try First Man also. I'm wondering if it might be because the Doctor Sleep disc is also in HDR10+. The EL might be a little different in that case?
That's interesting, I didn't realize it's in HDR10+, though that explains the descriptor in mediainfo. The file did not give any errors in the tool, and it did finish to 100%.

Re: Dolby Vision now possible through MP4 Mux.

Posted: Wed Mar 11, 2020 3:34 am
by Grencola
hey has anyone who uses MX Player on the Shield Pro tried just starting a video-track only dv mp4, and then pausing, going to menu - audio - open, then choosing your audio.thd atmos file from its folder? curious if this worked the whole time and we didn't have to figure out how to mux it in. I can do this on the firestick 4k fine, but only with dd+ or pcm 7.1 since it doesn't do hd-audio.

Re: Dolby Vision now possible through MP4 Mux.

Posted: Wed Mar 11, 2020 4:28 am
by deadchip12
ATD555 wrote: Tue Mar 10, 2020 2:37 pm
deadchip12 wrote: Tue Mar 10, 2020 9:40 am
ATD555 wrote: Tue Mar 10, 2020 4:18 am

Well what machine are you playing your videos on?
LG Oled C9 via external hdd.

One question though: Gemini man dolby vision does not play at the correct 60 fps using the original method (remux two HEVCs layers into an MP4 container using mp4muxer). Will it play correctly using the new method (remux two HEVCs layers into an .ts container using yusesope's tool)?
You should try using TSMuxer and just throw the original video file in it and remux to a .ts using this build of TSMuxer: https://drive.google.com/open?id=1Gq5TA ... B1io4OwHW9
I followed your instruction but .ts file does not play on my c9's internal media player.

Re: Dolby Vision now possible through MP4 Mux.

Posted: Wed Mar 11, 2020 4:31 am
by shawnc22
Just tried First Man and looks like everything went well. DV and Atmos triggered in plex and here's the mediainfo from the resulting TS:

Code: Select all

General
ID                                       : 1 (0x1)
Complete name                            : Z:\TS\First Man\First Man.ts
Format                                   : MPEG-TS
File size                                : 68.4 GiB
Duration                                 : 2 h 20 min
Overall bit rate mode                    : Variable
Overall bit rate                         : 69.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.08.06, BL+EL+RPU / SMPTE ST 2086, HDR10 compatible
Codec ID                                 : 36
Duration                                 : 2 h 20 min
Bit rate                                 : 65.6 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.330
Stream size                              : 64.6 GiB (94%)
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        : 285 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                                 : 2 h 20 min
Bit rate mode                            : Variable
Bit rate                                 : 448 kb/s
Maximum bit rate                         : 4 533 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
Stream size                              : 452 MiB (1%)
Language                                 : English
Service kind                             : Complete Main
Number of dynamic objects                : 11
Bed channel count                        : 1 channel
Bed channel configuration                : LFE

Re: Dolby Vision now possible through MP4 Mux.

Posted: Wed Mar 11, 2020 6:52 am
by Arbigator
shawnc22 wrote: Wed Mar 11, 2020 4:31 am Just tried First Man and looks like everything went well. DV and Atmos triggered in plex and here's the mediainfo from the resulting TS:

Code: Select all

General
ID                                       : 1 (0x1)
Complete name                            : Z:\TS\First Man\First Man.ts
Format                                   : MPEG-TS
File size                                : 68.4 GiB
Duration                                 : 2 h 20 min
Overall bit rate mode                    : Variable
Overall bit rate                         : 69.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.08.06, BL+EL+RPU / SMPTE ST 2086, HDR10 compatible
Codec ID                                 : 36
Duration                                 : 2 h 20 min
Bit rate                                 : 65.6 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.330
Stream size                              : 64.6 GiB (94%)
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        : 285 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                                 : 2 h 20 min
Bit rate mode                            : Variable
Bit rate                                 : 448 kb/s
Maximum bit rate                         : 4 533 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
Stream size                              : 452 MiB (1%)
Language                                 : English
Service kind                             : Complete Main
Number of dynamic objects                : 11
Bed channel count                        : 1 channel
Bed channel configuration                : LFE
Thanks for trying that. I tried it again, but still no luck. Are you demuxing the m2ts using tsMuxer?

Re: Dolby Vision now possible through MP4 Mux.

Posted: Wed Mar 11, 2020 2:51 pm
by shawnc22
yeah, same tsmuxer version that does the initial demuxing and the remuxing at the end.