1. No user installed addons are supported, python or otherwise.
2. No, they really are not supported.
3. They are not coming back
4. Read from 1. again

Any mention of illegal streaming sites, addons or any pirated material will not be tolerated. This is not democracy and any offenders will be banned and posts deleted immediately without warning.

Other than that, we hope you enjoy MrMC so far and we welcome any input and feedback you might have.

Team MrMC.

Dolby Vision

Any issues that are tvOS specific
Post Reply
User avatar
davilla
Team MrMC
Posts: 4377
Joined: 26 Oct 2015, 17:01

Re: Dolby Vision

Post by davilla »

@yusesope

https://github.com/nu774/qaac/wiki/Mult ... --handling

Seems to imply that 7,1 ALAC is 7.1 ch front where as the others are 7.1 ch rear.


"C Lscr Rscr L R Ls Rs LFE" vs "L R C LFE Ls Rs Lb Rb"

The thing I don't know if this is just a mappign issue and I can just remap "Lscr Rscr" to "Lb Rb"
User avatar
timstephens24
Posts: 894
Joined: 09 Dec 2015, 22:43

Re: Dolby Vision

Post by timstephens24 »

davilla wrote: 21 Jul 2019, 12:09 Humm, https://www.reddit.com/r/appletv/commen ... streaming/

Does not work for me :( Smells like a tvOS issue, with AVFoundation codec, we do nothing regarding decode/rendering. The AV Foundation is handling everything. Dare I ask if Infuse can play it correctly? you will not get Dolby Vision but it should play.
I've never had that green tint issue so not sure if that's applicable. As for your other question, I'll shoot you a PM.
Apple TV 4K / NVIDIA Shield Pro (2019) -> Denon X6500H 7.2.4 -> LG OLED65C9
Apple TV4K / NVIDIA Shield Pro (2019) -> Nakamichi 7.2.4 -> LG OLED77CX
Channels DVR w/ 2x HDHomeRun Prime
Patiently Testing all the things // Multiple other devices
yusesope
Posts: 16
Joined: 17 Jul 2019, 10:01

Re: Dolby Vision

Post by yusesope »

davilla wrote: 21 Jul 2019, 12:32The thing I don't know if this is just a mappign issue and I can just remap "Lscr Rscr" to "Lb Rb"
I don't know either.

I've done some tests withe the Amaze (Lossless-ATMOS) demo (DL HERE).

I've converted the Dolby Atmos track in PCM and then in ALAC.

Original PCM ######## (FL FR FC LFE BL BR SL SR ) (DL HERE)
Intermediate PCM ##### (FL FR FC LFE BL BR FLC FRC) (DL HERE)
ALAC ############# (FL FR FC LFE BL BR FLC FRC ) (DL HERE)

I can show you how the LAV audio Decoder handle the output channels for the three files
Image


I've performed also a channel mapping (from 0 to 7) for the Original PCM and for the ALAC file and I've extracted the 6th channel from both(SL for PCM, FLC for ALAC).
After a conversion in PCM (PCM -> PCM for the first one, ALAC -> PCM for the second one), I've hashed the two output file using the md5 algorithm and the result is the same:
so, SL == FLC

Code: Select all

ffmpeg.exe -i alac.alac -map_channel 0.0.6 -c:a pcm_s24le -ar 48000 -rf64 auto FLC.wav

ffmpeg.exe -i original_pcm.wav -map_channel 0.0.6 -c:a pcm_s24le -ar 48000 -rf64 auto SL.wav

I don't know if this can help you or it's totally garbage.


Today, I'm inspired so I have this for you (the video track and the audio track come from different sources):
Dolby Vision + DTS-HD MA
https://pcdn-my.pcloud.com/publink/show ... jXJbWbCAek

Code: Select all

Generale
Nome completo                           : Test_DV_DTS_HD_MA.mp4
Formato                                 : MPEG-4
Nome commereciale                       : HDR10
Profilo formato                         : Base Media
ID codec                                : isom (isom)
Dimensione                              : 122MiB
Durata                                  : 29s 737 ms
Modo bitrate generale                   : Variabile
Bitrate totale                          : 34,3 Mb/s
Data codifica                           : UTC 2019-07-21 09:42:46
Data                                    : UTC 2019-07-21 09:42:46

Video
ID                                      : 1
Formato                                 : HEVC
Formato/Informazioni                    : High Efficiency Video Coding
Nome commereciale                       : HDR10
Profilo formato                         : Main [email protected]@High
Dolby Vision                            : 1.0, dvhe.05.06, BL+RPU
ID codec                                : dvhe
ID codec/Informazioni                   : High Efficiency Video Coding with Dolby Vision
Durata                                  : 29s 737 ms
Bitrate                                 : 28,7 Mb/s
Bitrate massimo                         : 102 Mb/s
Larghezza                               : 3.840 pixel
Altezza                                 : 2.160 pixel
Rapporto aspetto visualizzazione        : 16:9
Modalità frame rate                     : Costante
Frame rate                              : 23,976 (24000/1001) FPS
Spazio colore                           : YUV
Croma subsampling                       : 4:2:0 (Type 2)
Profondità bit                          : 10 bit
Bit/(pixel*frame)                       : 0.144
Dimensione della traccia                : 102MiB (84%)
Data codifica                           : UTC 2019-07-19 07:46:14
Data                                    : UTC 2019-07-21 09:42:46
colour_range                            : Limited
Colori primari                          : BT.2020
Caratteristiche trasferimento           : PQ
Coefficienti matrici                    : BT.2020 non-constant
MasteringDisplay_ColorPrimaries         : Display P3
MasteringDisplay_Luminance              : min: 0.0001 cd/m2, max: 4000 cd/m2
MaxCLL                                  : 3947 cd/m2
MaxFALL                                 : 542 cd/m2
Codec configuration box                 : hvcC+dvcC

Audio
ID                                      : 2
Formato                                 : DTS XLL
Formato/Informazioni                    : Digital Theater Systems
Nome commereciale                       : DTS-HD Master Audio
ID codec                                : mp4a-A9
Durata                                  : 29s 737 ms
Modalità bitrate                        : Variabile
Bitrate                                 : 5.538 kb/s
Bitrate massimo                         : 7.330 kb/s
Canali                                  : 8 canali
Channel layout                          : C L R LFE Lb Rb Lss Rss
Frequenza campionamento                 : 48,0 kHz
Frame rate                              : 93,750 FPS (512 SPF)
Profondità bit                          : 24 bit
Modo compressione                       : Senza perdita
Dimensione della traccia                : 19,8MiB (16%)
Default                                 : Si
AlternateGroup/String                   : 1
Data                                    : UTC 2019-07-21 09:42:46


Dolby Vision + DTS:X
https://pcdn-my.pcloud.com/publink/show ... LTnFU6HKty

Code: Select all

Generale
Nome completo                           : Test_DV_DTS_X.mp4
Formato                                 : MPEG-4
Nome commereciale                       : HDR10
Profilo formato                         : Base Media
ID codec                                : isom (isom)
Dimensione                              : 73,6MiB
Durata                                  : 11s 427 ms
Modo bitrate generale                   : Variabile
Bitrate totale                          : 54,0 Mb/s
Data codifica                           : UTC 2019-07-21 09:54:07
Data                                    : UTC 2019-07-21 09:54:07

Video
ID                                      : 1
Formato                                 : HEVC
Formato/Informazioni                    : High Efficiency Video Coding
Nome commereciale                       : HDR10
Profilo formato                         : Main [email protected]@High
Dolby Vision                            : 1.0, dvhe.05.06, BL+RPU
ID codec                                : dvhe
ID codec/Informazioni                   : High Efficiency Video Coding with Dolby Vision
Durata                                  : 11s 427 ms
Bitrate                                 : 47,3 Mb/s
Bitrate massimo                         : 102 Mb/s
Larghezza                               : 3.840 pixel
Altezza                                 : 2.160 pixel
Rapporto aspetto visualizzazione        : 16:9
Modalità frame rate                     : Costante
Frame rate                              : 23,976 (24000/1001) FPS
Spazio colore                           : YUV
Croma subsampling                       : 4:2:0 (Type 2)
Profondità bit                          : 10 bit
Bit/(pixel*frame)                       : 0.238
Dimensione della traccia                : 64,5MiB (88%)
Data codifica                           : UTC 2019-07-19 07:46:14
Data                                    : UTC 2019-07-21 09:54:07
colour_range                            : Limited
Colori primari                          : BT.2020
Caratteristiche trasferimento           : PQ
Coefficienti matrici                    : BT.2020 non-constant
MasteringDisplay_ColorPrimaries         : Display P3
MasteringDisplay_Luminance              : min: 0.0001 cd/m2, max: 4000 cd/m2
MaxCLL                                  : 3947 cd/m2
MaxFALL                                 : 542 cd/m2
Codec configuration box                 : hvcC+dvcC

Audio
ID                                      : 2
Formato                                 : DTS XLL X
Formato/Informazioni                    : Digital Theater Systems
Nome commereciale                       : DTS-HD Master Audio
ID codec                                : mp4a-A9
Durata                                  : 11s 422 ms
Modalità bitrate                        : Variabile
Bitrate                                 : 6.717 kb/s
Bitrate nominale                        : 6.090 kb/s
Bitrate massimo                         : 9.370 kb/s
Canali                                  : Object Based
Channel layout                          : Object Based
Frequenza campionamento                 : 48,0 kHz
Frame rate                              : 93,750 FPS (512 SPF)
Dimensione della traccia                : 9,15MiB (12%)
Titolo                                  : Surround 7.1
Lingua                                  : Inglese
Default                                 : Si
AlternateGroup/String                   : 1
Data                                    : UTC 2019-07-21 09:54:07


Do They play fine?
FranknStein7
Posts: 14
Joined: 05 Dec 2017, 00:21

Re: Dolby Vision

Post by FranknStein7 »

Ignoring the issue of audio, has anyone successfully gotten a DV UHD blu-ray converted to a single layer DV mp4 file using DVDfab to play back in Mrmc? Scanning through this thread it's not super clear to me. I have tried a few UHD discs using the latest version of DVDfab and cannot get any of them to work.
Grencola
Posts: 103
Joined: 25 Feb 2018, 03:02

Re: Dolby Vision

Post by Grencola »

yusesope wrote: 21 Jul 2019, 18:26 Today, I'm inspired so I have this for you (the video track and the audio track come from different sources):
Dolby Vision + DTS-HD MA
https://pcdn-my.pcloud.com/publink/show ... jXJbWbCAek

Code: Select all

Generale
Nome completo                           : Test_DV_DTS_HD_MA.mp4
Formato                                 : MPEG-4
Nome commereciale                       : HDR10
Profilo formato                         : Base Media
ID codec                                : isom (isom)
Dimensione                              : 122MiB
Durata                                  : 29s 737 ms
Modo bitrate generale                   : Variabile
Bitrate totale                          : 34,3 Mb/s
Data codifica                           : UTC 2019-07-21 09:42:46
Data                                    : UTC 2019-07-21 09:42:46

Video
ID                                      : 1
Formato                                 : HEVC
Formato/Informazioni                    : High Efficiency Video Coding
Nome commereciale                       : HDR10
Profilo formato                         : Main [email protected]@High
Dolby Vision                            : 1.0, dvhe.05.06, BL+RPU
ID codec                                : dvhe
ID codec/Informazioni                   : High Efficiency Video Coding with Dolby Vision
Durata                                  : 29s 737 ms
Bitrate                                 : 28,7 Mb/s
Bitrate massimo                         : 102 Mb/s
Larghezza                               : 3.840 pixel
Altezza                                 : 2.160 pixel
Rapporto aspetto visualizzazione        : 16:9
Modalità frame rate                     : Costante
Frame rate                              : 23,976 (24000/1001) FPS
Spazio colore                           : YUV
Croma subsampling                       : 4:2:0 (Type 2)
Profondità bit                          : 10 bit
Bit/(pixel*frame)                       : 0.144
Dimensione della traccia                : 102MiB (84%)
Data codifica                           : UTC 2019-07-19 07:46:14
Data                                    : UTC 2019-07-21 09:42:46
colour_range                            : Limited
Colori primari                          : BT.2020
Caratteristiche trasferimento           : PQ
Coefficienti matrici                    : BT.2020 non-constant
MasteringDisplay_ColorPrimaries         : Display P3
MasteringDisplay_Luminance              : min: 0.0001 cd/m2, max: 4000 cd/m2
MaxCLL                                  : 3947 cd/m2
MaxFALL                                 : 542 cd/m2
Codec configuration box                 : hvcC+dvcC

Audio
ID                                      : 2
Formato                                 : DTS XLL
Formato/Informazioni                    : Digital Theater Systems
Nome commereciale                       : DTS-HD Master Audio
ID codec                                : mp4a-A9
Durata                                  : 29s 737 ms
Modalità bitrate                        : Variabile
Bitrate                                 : 5.538 kb/s
Bitrate massimo                         : 7.330 kb/s
Canali                                  : 8 canali
Channel layout                          : C L R LFE Lb Rb Lss Rss
Frequenza campionamento                 : 48,0 kHz
Frame rate                              : 93,750 FPS (512 SPF)
Profondità bit                          : 24 bit
Modo compressione                       : Senza perdita
Dimensione della traccia                : 19,8MiB (16%)
Default                                 : Si
AlternateGroup/String                   : 1
Data                                    : UTC 2019-07-21 09:42:46


Dolby Vision + DTS:X
https://pcdn-my.pcloud.com/publink/show ... LTnFU6HKty

Code: Select all

Generale
Nome completo                           : Test_DV_DTS_X.mp4
Formato                                 : MPEG-4
Nome commereciale                       : HDR10
Profilo formato                         : Base Media
ID codec                                : isom (isom)
Dimensione                              : 73,6MiB
Durata                                  : 11s 427 ms
Modo bitrate generale                   : Variabile
Bitrate totale                          : 54,0 Mb/s
Data codifica                           : UTC 2019-07-21 09:54:07
Data                                    : UTC 2019-07-21 09:54:07

Video
ID                                      : 1
Formato                                 : HEVC
Formato/Informazioni                    : High Efficiency Video Coding
Nome commereciale                       : HDR10
Profilo formato                         : Main [email protected]@High
Dolby Vision                            : 1.0, dvhe.05.06, BL+RPU
ID codec                                : dvhe
ID codec/Informazioni                   : High Efficiency Video Coding with Dolby Vision
Durata                                  : 11s 427 ms
Bitrate                                 : 47,3 Mb/s
Bitrate massimo                         : 102 Mb/s
Larghezza                               : 3.840 pixel
Altezza                                 : 2.160 pixel
Rapporto aspetto visualizzazione        : 16:9
Modalità frame rate                     : Costante
Frame rate                              : 23,976 (24000/1001) FPS
Spazio colore                           : YUV
Croma subsampling                       : 4:2:0 (Type 2)
Profondità bit                          : 10 bit
Bit/(pixel*frame)                       : 0.238
Dimensione della traccia                : 64,5MiB (88%)
Data codifica                           : UTC 2019-07-19 07:46:14
Data                                    : UTC 2019-07-21 09:54:07
colour_range                            : Limited
Colori primari                          : BT.2020
Caratteristiche trasferimento           : PQ
Coefficienti matrici                    : BT.2020 non-constant
MasteringDisplay_ColorPrimaries         : Display P3
MasteringDisplay_Luminance              : min: 0.0001 cd/m2, max: 4000 cd/m2
MaxCLL                                  : 3947 cd/m2
MaxFALL                                 : 542 cd/m2
Codec configuration box                 : hvcC+dvcC

Audio
ID                                      : 2
Formato                                 : DTS XLL X
Formato/Informazioni                    : Digital Theater Systems
Nome commereciale                       : DTS-HD Master Audio
ID codec                                : mp4a-A9
Durata                                  : 11s 422 ms
Modalità bitrate                        : Variabile
Bitrate                                 : 6.717 kb/s
Bitrate nominale                        : 6.090 kb/s
Bitrate massimo                         : 9.370 kb/s
Canali                                  : Object Based
Channel layout                          : Object Based
Frequenza campionamento                 : 48,0 kHz
Frame rate                              : 93,750 FPS (512 SPF)
Dimensione della traccia                : 9,15MiB (12%)
Titolo                                  : Surround 7.1
Lingua                                  : Inglese
Default                                 : Si
AlternateGroup/String                   : 1
Data                                    : UTC 2019-07-21 09:54:07
Do They play fine?
is mp4a-a9 audio codec new? I thought mp4 didn't support those audio formats.
Last edited by Grencola on 21 Jul 2019, 19:29, edited 2 times in total.
yusesope
Posts: 16
Joined: 17 Jul 2019, 10:01

Re: Dolby Vision

Post by yusesope »

rhadamants wrote: 21 Jul 2019, 03:28 You converted this sample?
Yep!
rhadamants wrote: 21 Jul 2019, 03:28Using this mp4mux profile 7 or 6 no DV and profile 5 colors issues on sony x900f.
I didn't use mp4muxer. I can't help you with that.
yusesope
Posts: 16
Joined: 17 Jul 2019, 10:01

Re: Dolby Vision

Post by yusesope »

Grencola wrote: 21 Jul 2019, 19:17 is mp4a-a9 audio codec new? I thought mp4 didn't support those audio formats.
Image
Grencola
Posts: 103
Joined: 25 Feb 2018, 03:02

Re: Dolby Vision

Post by Grencola »

yusesope wrote: 21 Jul 2019, 20:19
Grencola wrote: 21 Jul 2019, 19:17 is mp4a-a9 audio codec new? I thought mp4 didn't support those audio formats.
Image
haha so what if I'm like 9 years off ;) we can take a single layer dv mp4 from dvdfab and just swap the audio with the lossless one from the disc, minus atmos? I feel like I would have known about this if it worked, as it's always the old ac3, e-ac3, ac4, aac, flac, alac etc..
wesk05
Posts: 80
Joined: 20 Dec 2017, 06:20

Re: Dolby Vision

Post by wesk05 »

davilla wrote: 20 Jul 2019, 14:43 @timstephens24
UV sampling is screwed up. It's 10 bits yet Color range is Full, something I'd except for 8 bit.
Smells like a bad encode/transcode ?
Even video toolbox has messed up colors, but the generated thumbnail looks right. Which suggests it's really 8 bit and not HDR.
Is this a one off or do you have several like this ?
If this is about the xxxxxxxxx. HEVC AMS files, then those are actually valid Dolby Vision profile 5 bitstreams. The color space is ICtCp masquerading as YCbCr. If not decoded correctly, the colors will be messed up. Also, the color range is full for all Dolby Vision profiles.

Did anyone actually confirm that profile 5 plays correctly? How about the videos in this post: https://forum.mrmc.tv/viewtopic.php?p=21661#p21661

I have mentioned before: DVDFab doesn't produce valid Dolby Vision profile 5 bitstream. The color space is still YCbCr.
cosmoxl
Posts: 1759
Joined: 12 Dec 2015, 14:16

Re: Dolby Vision

Post by cosmoxl »

I downloaded some of those DV files from the google drive which was linked to in the other post that wesk05 just linked to and they all play with incorrect colors. But they do play. :)
Post Reply