Dolby Vision now possible through MP4 Mux.

Please post here for issues related to UHD discs
Message
Author
sw5163
Posts: 146
Joined: Sat Jun 25, 2022 7:28 am

Re: Dolby Vision now possible through MP4 Mux.

#7381 Post by sw5163 » Fri Sep 09, 2022 10:20 pm

sw5163 wrote:
Thu Sep 08, 2022 3:55 pm
Another interesting thing regarding the "complexity index",
on Windows Movies & TV:
`ffmpeg -i atmos(7.1).eac3 -c copy` (breaks complexity index) shows 6 channel:
Correction: it's not atmos or "complexity index"
Any 7.1.ec3 copy by ffmpeg shows 6 channel
1536kb/s or 1664 kb/s 7.1.ec3 won't play on Apple.
768kb/s 7.1.ec3 plays fine.
1536kb/s 5.1.ec3 plays fine.
No idea what's going on here.

Also @RESET_9999 do you think an eac3 with core inside it can be added to mp4?

RESET_9999
Posts: 2090
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

#7382 Post by RESET_9999 » Fri Sep 09, 2022 10:27 pm

kazuma wrote:
Fri Sep 09, 2022 10:17 pm
.
glad it worked. :)

sw5163 wrote:
Fri Sep 09, 2022 10:20 pm
Also @RESET_9999 do you think an eac3 with core inside it can be added to mp4?
yep

Code: Select all

Complete name                            : D:\P8_DoVi.au.mp4
Format                                   : MPEG-4
Format profile                           : Base Media / Version 2
Codec ID                                 : mp42 (mp42/dby1/isom)
File size                                : 187 MiB
Duration                                 : 2 min 1 s
Overall bit rate                         : 12.9 Mb/s
Encoded date                             : UTC 2022-09-09 22:25:50
Tagged date                              : UTC 2022-09-09 22:25:50

Video
ID                                       : 1
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+RPU / SMPTE ST 2086, HDR10 compatible
Codec ID                                 : dvhe
Codec ID/Info                            : High Efficiency Video Coding with Dolby Vision
Duration                                 : 2 min 1 s
Bit rate                                 : 12.1 Mb/s
Width                                    : 3 840 pixels
Height                                   : 2 160 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
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.061
Stream size                              : 176 MiB (94%)

Default                                  : No
Encoded date                             : UTC 2022-09-09 22:25:50
Tagged date                              : UTC 2022-09-09 22:25:50
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
Codec configuration box                  : hvcC+dvcC

Audio
ID                                       : 2
Format                                   : E-AC-3 JOC
Format/Info                              : Enhanced AC-3 with Joint Object Coding
Commercial name                          : Dolby Digital Plus with Dolby Atmos
Format profile                           : Blu-ray Disc
Codec ID                                 : ec-3
Duration                                 : 1 min 0 s
Bit rate mode                            : Constant
Bit rate                                 : 1 512 kb/s
Channel(s)                               : 8 channels
Channel layout                           : L R C LFE Ls Rs Tfl Tfr
Sampling rate                            : 48.0 kHz
Frame rate                               : 31.250 FPS (1536 SPF)
Compression mode                         : Lossy
Stream size                              : 10.8 MiB (6%)
Service kind                             : Complete Main
Default                                  : No
Encoded date                             : UTC 2022-09-09 22:25:50
Tagged date                              : UTC 2022-09-09 22:25:50
Complexity index                         : 16
Number of dynamic objects                : 15
Bed channel count                        : 1 channel
Bed channel configuration                : LFE

sw5163
Posts: 146
Joined: Sat Jun 25, 2022 7:28 am

Re: Dolby Vision now possible through MP4 Mux.

#7383 Post by sw5163 » Fri Sep 09, 2022 11:03 pm

RESET_9999 wrote:
Fri Sep 09, 2022 10:27 pm
sw5163 wrote:
Fri Sep 09, 2022 10:20 pm
Also @RESET_9999 do you think an eac3 with core inside it can be added to mp4?
yep
Could you please share the steps for doing this?
Does it has to use DEE? Many thanks.
Since 1536kb/s 7.1.ec3 won't play on Apple. I want to give some test to see what will happen if I encode an ac3 core to it.
Maybe also TrueHD with core to mp4, it's unlikely Apple will play TrueHD though.

RESET_9999
Posts: 2090
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

#7384 Post by RESET_9999 » Fri Sep 09, 2022 11:24 pm

sw5163 wrote:
Fri Sep 09, 2022 11:03 pm
Could you please share the steps for doing this?
Does it has to use DEE? Many thanks.
Since 1536kb/s 7.1.ec3 won't play on Apple. I want to give some test to see what will happen if I encode an ac3 core to it.
I just used my script(7-1-1) with a random P8 BL and this Atmos 7.1 EC3 track from Snyders Justice League(somehow a release group was able to achieve that).
https://drive.google.com/file/d/170Te6w ... sp=sharing
I just tested on my TV, and I get the same result as my DEE 7.1 (without atmos) tracks. AVR reports Dolby surround PCM. its playing the ac3 core :(
Yep, the only way I know to encode 7.1 EC3 with a core is with DEE.
Maybe also TrueHD with core to mp4, it's unlikely Apple will play TrueHD though.
IIRC, it only works with pure TrueHD without a core. DTSHD works too and the mp4(dv + audio) plays fine on my C8

kazuma
Posts: 162
Joined: Fri Nov 08, 2019 9:51 pm

Re: Dolby Vision now possible through MP4 Mux.

#7385 Post by kazuma » Fri Sep 09, 2022 11:41 pm

there is no difference betweeen profile 7 and profile 8 on an LG C9 i think?

sw5163
Posts: 146
Joined: Sat Jun 25, 2022 7:28 am

Re: Dolby Vision now possible through MP4 Mux.

#7386 Post by sw5163 » Sat Sep 10, 2022 2:42 pm

kazuma wrote:
Fri Sep 09, 2022 11:41 pm
there is no difference betweeen profile 7 and profile 8 on an LG C9 i think?
There should be, unless c9 doesn’t support FEL dv.
Please check https://www.avsforum.com/threads/dune-p ... t-60582530.
If p7 and p8 look the same, it could because the improvement from MEL->FEL is not very noticeable when watching real content.
But the difference can be observed once you test it with those synthetic FEL test.

You can test it with those FEL test files under @RESET_9999’s signature, if you want. :)

kazuma
Posts: 162
Joined: Fri Nov 08, 2019 9:51 pm

Re: Dolby Vision now possible through MP4 Mux.

#7387 Post by kazuma » Sat Sep 10, 2022 9:42 pm

what i am doing wrong here? i got the same problem over and over with 'blow out'. i always fail to set dts-hd to ac3...

Image

chros
Posts: 102
Joined: Sun Sep 20, 2020 8:36 am

Re: Dolby Vision now possible through MP4 Mux.

#7388 Post by chros » Sun Sep 11, 2022 9:00 am

I just noticed that Plex client doesn't work without internet connection with local Plex server, wtf, Jellyfin came to the rescue.

kazuma
Posts: 162
Joined: Fri Nov 08, 2019 9:51 pm

Re: Dolby Vision now possible through MP4 Mux.

#7389 Post by kazuma » Sun Sep 11, 2022 4:21 pm

Are .ts and mp4 dolby vision files streaming correctly via google drive > kodi with nvidia shield pro?

ArArdin
Posts: 196
Joined: Fri Nov 20, 2020 1:40 pm

Re: Dolby Vision now possible through MP4 Mux.

#7390 Post by ArArdin » Wed Sep 14, 2022 9:36 am

Can anybody tell more about the new Nokia Streaming box 8010 with Android TV 11 and when it'll be released? I'm curious to its performance.

https://www.androidtv-guide.com/streami ... 0-speedgo/

kazuma
Posts: 162
Joined: Fri Nov 08, 2019 9:51 pm

Re: Dolby Vision now possible through MP4 Mux.

#7391 Post by kazuma » Wed Sep 14, 2022 10:46 am

there are no more 2 videofiles on rarbg with dolby vision movies (mkv remux). where is the dv-metadata in the files? is it from now on 1 videofile?

sw5163
Posts: 146
Joined: Sat Jun 25, 2022 7:28 am

Re: Dolby Vision now possible through MP4 Mux.

#7392 Post by sw5163 » Wed Sep 14, 2022 4:19 pm

kazuma wrote:
Wed Sep 14, 2022 10:46 am
there are no more 2 videofiles on rarbg with dolby vision movies (mkv remux). where is the dv-metadata in the files? is it from now on 1 videofile?
FEL can be either BL track+EL_RPU track or a single BL+EL+RPU track.
Dolby Vision is really complicated, you may want to do more research to learn how it actually works.
sw5163 wrote:
Mon Jul 18, 2022 6:59 am
In human words:
BL(base layer): an HDR10 2160p YCbCr 4:2:0 10-bit video.
Dolby Vision fall back to this when not supported.

EL(enhancement layer): an HDR10 1080p YCbCr 4:2:0 10-bit video.
Supported device use BL and EL to mux a final 4:2:2 12-bit video.

RPU(reference processing unit): To indicate how filmmaker would like the video to be separately shown on 100nitSDR/600nit/1000nit/10000nit display. (despite the actual brightness record in BL)

There are basically 4 types of Dolby Vision video:
Profile 5(streaming): ICtCp 4:2:0 10-bit video + RPU.
It uses a more efficient color coding, but appear green and purple on non support device.

Profile 8.1: BL+RPU
Profile 8.4: Dolby Vision shot on iPhone, HLG BL+RPU

FEL(Full Enhancement Layer)
Profile 7 DT_DL FEL: BL in one video track, EL+RPU in another video track.
Profile 7 ST_DL FEL: BL+EL+RPU in one same video track.

MEL(Minimum Enhancement Layer)
Profile 7 MEL: BL+RPU same as 8.1 just in bluray container.

Please don't hesitate to point out my mistake!

bobbymkV
Posts: 71
Joined: Fri Jun 19, 2020 4:26 pm

Re: Dolby Vision now possible through MP4 Mux.

#7393 Post by bobbymkV » Wed Sep 14, 2022 5:03 pm

chros wrote:
Sun Sep 11, 2022 9:00 am
I just noticed that Plex client doesn't work without internet connection with local Plex server, wtf, Jellyfin came to the rescue.
I've been using Trick One listed on this site for years.

https://www.howtogeek.com/303282/how-to ... et-access/

Trees
Posts: 41
Joined: Sat Sep 03, 2022 8:04 am

Re: Dolby Vision now possible through MP4 Mux.

#7394 Post by Trees » Wed Sep 14, 2022 11:09 pm

sw5163 wrote:
Sat Sep 03, 2022 6:54 pm
Trees wrote:
Sat Sep 03, 2022 8:18 am
TL;DR: I want to inject an Dolby Vision P8. 1 RPU into an 1080p film, how?
I don't think x264 supports HDR, so I'm assuming the 1080p track is a SDR one.
Thank you for your reply, and sorry for my late reply.

The 1080p files are indeed SDR.

I'm getting mixed results, researching online whether H.264 supports HDR or not. However, Wikipedia states the following:
Wikipedia wrote:Throughout the development of the standard, additional messages for containing supplemental enhancement information (SEI) have been developed. SEI messages can contain various types of data that indicate the timing of the video pictures or describe various properties of the coded video or how it can be used or enhanced. SEI messages are also defined that can contain arbitrary user-defined data. SEI messages do not affect the core decoding process, but can indicate how the video is recommended to be post-processed or displayed. Some other high-level properties of the video content are conveyed in video usability information (VUI), such as the indication of the color space for interpretation of the video content. As new color spaces have been developed, such as for high dynamic range and wide color gamut video, additional VUI identifiers have been added to indicate them.
I'm assuming this means H.264 supports HDR or?
sw5163 wrote:
Sat Sep 03, 2022 6:54 pm
If that's the case, you can try muxing it into Profile 8.2 or Profile 9.
How would I go about converting to Profile 9? The dovi_tool github page doesn't seem to mention this.

I would like to at least give it a try, or I'll wait for / request a 1080p Web-DL with Dolby Vision... Unfortunately, the 1080p version of one of my favorite films objectively looks much better than it does in 2160p. It's so badly upscaled. Hence why I want to get the best of both worlds.

sw5163
Posts: 146
Joined: Sat Jun 25, 2022 7:28 am

Re: Dolby Vision now possible through MP4 Mux.

#7395 Post by sw5163 » Thu Sep 15, 2022 2:33 am

Trees wrote:
Wed Sep 14, 2022 11:09 pm
How would I go about converting to Profile 9? The dovi_tool github page doesn't seem to mention this.
If you want perfect accurate image:
You will first need to modify those "reshaping data" in RPU for SDR->HDR. (basically impossible)
sw5163 wrote:
Tue Sep 06, 2022 12:28 am
From my understanding, P5 RPU has "reshaping data" for ICtCp->YCbCr.
P8.1 RPU doesn't need "reshaping data" for HDR10->HDR10.
P8.4 RPU has "reshaping data" for HLG->PQ.
P7 RPU has "reshaping data" for processing the weird colour in EL (I'm not sure what it really does)
If just using P8.1 RPU, the result is very likely to be wrong.
And then you will need to find a way to inject-rpu into h.264, I don't think current build of dovi_tool supports that. But im sure Dolby in their lab can do it.
Once you get an SDR+RPU track, it's easy to remux it in mp4muxer.

If you are willing to accept some minor quality loss with re-encoding:
You could just put the h.264 track into PremierePro/LumaFusion/FinalCut/iMovie (Apple actually provides pretty good remapping algorithm for SDR->DV since they collaborate with Dolby) and re-encoding it to P8.1.

Post Reply