Dolby Vision now possible through MP4 Mux.

Please post here for issues related to UHD discs
RESET_9999
Posts: 1853
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

are you sure its not your source again?

Original frame rate : 0.729 FPS

did you fix the fps bitstream with ffmpeg on that file? because i noticed that it cause some playback issue on my TV
johnjon94
Posts: 35
Joined: Thu Nov 11, 2021 5:59 am

Re: Dolby Vision now possible through MP4 Mux.

Post by johnjon94 »

RESET_9999 wrote:
Wed Oct 05, 2022 3:43 am
are you sure its not your source again?

Original frame rate : 0.729 FPS

did you fix the fps bitstream with ffmpeg on that file? because i noticed that it cause some playback issue on my TV
Yeah I used bitstream filters with ffmpeg to fix the fps. These files play with no issue on my television normally and with any other player I've tried them on.
johnjon94
Posts: 35
Joined: Thu Nov 11, 2021 5:59 am

Re: Dolby Vision now possible through MP4 Mux.

Post by johnjon94 »

RESET_9999 wrote:
Wed Oct 05, 2022 3:43 am
I've figured out the issue, its the demuxer that you're using. This is also why the framerate wasn't being pulled correctly, and I noticed for ATVP files that it wasn't demuxing with the accurate aspect ratio.

eac3to:

Code: Select all

 Track Importing HEVC - Width 3832 Height 1574
ffmpeg/tsmuxer:

Code: Select all

Track Importing HEVC - Width 3838 Height 1606
After demuxing with ffmpeg instead of eac3to then running the mp4box command the resulting file played with no issue and retained the aspect ratio and framerate. (And confirmed that Plex for Apple TV is triggering Dolby Vision and Atmos as well as the internal Plex app for LG C2)

Code: Select all

Video
ID                                       : 1
Format                                   : HEVC
Format/Info                              : High Efficiency Video Coding
Format profile                           : Main 10@L5@High
HDR format                               : Dolby Vision, Version 1.0, dvhe.05.06, BL+RPU / SMPTE ST 2086, HDR10 compatible
Codec ID                                 : dvh1
Duration                                 : 1 h 52 min
Bit rate                                 : 24.2 Mb/s
Maximum bit rate                         : 46.6 Mb/s
Width                                    : 3 838 pixels
Height                                   : 1 606 pixels
Display aspect ratio                     : 2.40:1
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
Compression mode                         : Lossy
Bits/(Pixel*Frame)                       : 0.164
Stream size                              : 19.0 GiB (97%)
Color range                              : Limited
Color primaries                          : BT.2020
Transfer characteristics                 : PQ
Matrix coefficients                      : BT.2020 non-constant
Mastering display color primaries        : BT.2020
Mastering display luminance              : min: 0.0050 cd/m2, max: 1000 cd/m2
Maximum Content Light Level              : 1190 cd/m2
Maximum Frame-Average Light Level        : 412 cd/m2
mdhd_Duration                            : 6721424
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
Codec ID                                 : ec-3
Duration                                 : 1 h 52 min
Bit rate mode                            : Constant
Bit rate                                 : 768 kb/s
Maximum bit rate                         : 811 kb/s
Channel(s)                               : 6 channels
Channel layout                           : L R C LFE Ls Rs
Sampling rate                            : 48.0 kHz
Frame rate                               : 31.250 FPS (1536 SPF)
Compression mode                         : Lossy
Stream size                              : 615 MiB (3%)
Language                                 : English
Service kind                             : Complete Main
Complexity index                         : 16
Number of dynamic objects                : 15
Bed channel count                        : 1 channel
Bed channel configuration                : LFE

Text
ID                                       : 3
Format                                   : Timed Text
Codec ID                                 : tx3g
Duration                                 : 1 h 51 min
Bit rate mode                            : Variable
Bit rate                                 : 117 b/s
Frame rate                               : 0.812 FPS
Stream size                              : 95.7 KiB (0%)
Title                                    : SDH
Language                                 : English
Forced                                   : No
sw5163
Posts: 140
Joined: Sat Jun 25, 2022 7:28 am

Re: Dolby Vision now possible through MP4 Mux.

Post by sw5163 »

johnjon94 wrote:
Wed Oct 05, 2022 3:24 am
I can't seem to get the fake P5 to play on Apple TV through Plex or directly. Doesn't seem to play on my computer either, just a black screen. I'm curious if there's just a small codec misconfiguration.
Some demo files:
https://drive.google.com/drive/folders/ ... Ps8NfU53Ee
Some audio test files:
https://drive.google.com/drive/folders/ ... F22-4q1qTe
RESET_9999
Posts: 1853
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

johnjon94 wrote:
Wed Oct 05, 2022 6:23 am
I've figured out the issue, its the demuxer that you're using. This is also why the framerate wasn't being pulled correctly, and I noticed for ATVP files that it wasn't demuxing with the accurate aspect ratio.
well to be fair the issue is Apple's stupidity with their crappy encodes.
Anyway, I guess you'll have to do those over-cropped webdl manually because EAC3to is my number 1 demuxer since its the only one that allow me to demux all the tracks without knowing the streams ID.

can you input a resolution with mp4box?
ragico
Posts: 257
Joined: Fri Feb 15, 2019 1:09 am

Re: Dolby Vision now possible through MP4 Mux.

Post by ragico »

sw5163 wrote:
Wed Oct 05, 2022 1:35 am
Apple's native player or any player that "passthrough" that file to Apple's player core. Avoid using INFUSE.
I play them in "FILE" App directly SMB from my PC.
Pls can you explain where to find the "File" app?
It does not exist in the appstore.
Thank you
sw5163
Posts: 140
Joined: Sat Jun 25, 2022 7:28 am

Re: Dolby Vision now possible through MP4 Mux.

Post by sw5163 »

ragico wrote:
Wed Oct 05, 2022 12:49 pm
Pls can you explain where to find the "File" app?
It does not exist in the appstore.
Thank you
It's on the iOS appstore, the apple's official file manage app, im not sure if it's on ATV's store.
https://support.apple.com/en-us/HT206481
It's very hard to use and not recommended. Plex plays DV fine.
FE File Explorer is an alternate 3rd party file mangage app also plays DV.

Edit: FE File Explorer only plays DV on iOS, not ATV. See below discussion.

Or you can do what Manixx2020beyound did, if you have itunes or mac.
Manixx2020beyound wrote:
Mon Jun 27, 2022 8:39 pm
And u can upload that to your apple tv library
If anyone know how to import video through network directly into the "TV" app (the black background with white TV on it) on windows without having to use itunes, please let me know, very much appreciate!
Last edited by sw5163 on Wed Oct 05, 2022 4:32 pm, edited 2 times in total.
ragico
Posts: 257
Joined: Fri Feb 15, 2019 1:09 am

Re: Dolby Vision now possible through MP4 Mux.

Post by ragico »

sw5163 wrote:
Wed Oct 05, 2022 3:34 pm
FE File Explorer is an alternate 3rd party file mangage app also plays DV.
Not on my ATV. It plays in sdr.
Only FileBrowseTV plays in DV
sw5163
Posts: 140
Joined: Sat Jun 25, 2022 7:28 am

Re: Dolby Vision now possible through MP4 Mux.

Post by sw5163 »

ragico wrote:
Wed Oct 05, 2022 3:46 pm
sw5163 wrote:
Wed Oct 05, 2022 3:34 pm
FE File Explorer is an alternate 3rd party file mangage app also plays DV.
Not on my ATV. It plays in sdr.
Only FileBrowseTV plays in DV
Maybe app on ATV is a little different from iOS.
I think there is a "hardware decode+" option in the FE File Explorer, it guarantees DV passthrough.
If it's only "hardware decode" or "software decode", it's not using the Apple's player core.
The attachment IMG_1771.PNG is no longer available
IMG_1771.PNG
IMG_1771.PNG (663.67 KiB) Viewed 8840 times
It's strange ATV doesn't have an official file management app though.
ragico
Posts: 257
Joined: Fri Feb 15, 2019 1:09 am

Re: Dolby Vision now possible through MP4 Mux.

Post by ragico »

sw5163 wrote:
Wed Oct 05, 2022 4:07 pm
Maybe app on ATV is a little different from iOS.
I think there is a "hardware decode+" option in the FE File Explorer, it guarantees DV passtrough
Unfortunately there is not the option "hardware decode+" nor any decode option in the ATV version.
Manixx2020beyound
Posts: 127
Joined: Thu Oct 08, 2020 5:19 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by Manixx2020beyound »

Got an off topic question for u guys,(should know this but never really checked myself)
If a fel is present in an imax enhanced disc
Does a 1080p fel adjust aspect ratio to reflect the bl, im not in front a pc but more than likely it does.

Using ffmpeg & h265 can generate a fel & bl with dee simostainously I managed to compile h265, for dee was thinking of attempting ffmpeg
And using the imax web dl of Thor as base layer & using the hdr Thor version to create grain or fel layer from the hdr10 high bitrate. I would have to do 2 versions separate & mux
Sounds crazy but I think it’s possible we’ll not if the aspect ratio changes,also diff version might not be the same length.
RESET_9999
Posts: 1853
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

johnjon94 wrote:
Wed Oct 05, 2022 6:23 am
please try this. Now when the script detects that the input width is not 3840px or 1920px, it will use mkvextract to demux...
downside: it will only work if the input has only 1 video 1 audio (THD DTS or EC3/AC3) and will select only 1 sub. Wont work for dual audio input.
better than nothing I guess...

https://drive.google.com/file/d/1A_N1tG ... sp=sharing
sw5163
Posts: 140
Joined: Sat Jun 25, 2022 7:28 am

Re: Dolby Vision now possible through MP4 Mux.

Post by sw5163 »

Manixx2020beyound wrote:
Wed Oct 05, 2022 5:35 pm
Got an off topic question for u guys,(should know this but never really checked myself)
If a fel is present in an imax enhanced disc
Does a 1080p fel adjust aspect ratio to reflect the bl, im not in front a pc but more than likely it does.
The only two movies im aware of that are IMAX and FEL are Mission.Impossible.Fallout.2018 and Aquaman.2018.
I have checked Fallout and the EL changes its aspect as BL.
left=BL, right=EL
0.00.38.png
0.00.38.png (1.99 MiB) Viewed 8672 times
2.14.08.png
2.14.08.png (1.75 MiB) Viewed 8672 times
Last edited by sw5163 on Fri Oct 07, 2022 2:45 am, edited 1 time in total.
Manixx2020beyound
Posts: 127
Joined: Thu Oct 08, 2020 5:19 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by Manixx2020beyound »

Thank you as I suspected,
Aquaman,I taught that was Mel
I guess it creating a fel with the hdr10 would only be beneficial if the hdr 10 uhd version has imax scenes but no dv.
sw5163
Posts: 140
Joined: Sat Jun 25, 2022 7:28 am

Re: Dolby Vision now possible through MP4 Mux.

Post by sw5163 »

Manixx2020beyound wrote:
Fri Oct 07, 2022 12:28 am
Thank you as I suspected,
Aquaman,I taught that was Mel
Im not sure, the EL is 2093 kbps.
There are not really a lot of Bluray IMAX DV.
I hope Top Gun 2 will come out as IMAX DV.
Post Reply