Dolby Vision now possible through MP4 Mux.

Please post here for issues related to UHD discs
Post Reply
jayper
Posts: 335
Joined: Sat Sep 29, 2012 5:57 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by jayper »

RESET_9999 wrote: Mon Mar 21, 2022 2:18 pm Ah I didnt know there was another p5 web-dl version. Then yes you have to edit L5.

the webdl i was talking about:

Code: Select all

Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main 10@L5.2@Main
HDR format : Dolby Vision, Version 1.0, dvhe.05.06, BL+RPU
Codec ID : dvhe
Codec ID/Info : High Efficiency Video Coding with Dolby Vision
Duration : 2 h 36 min
Bit rate : 23.2 Mb/s
Width : 3 840 pixels
Height : 2 160 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 23.976 (23976/1000) FPS
Color space : YUV
Chroma subsampling : 4:2:0 (Type 0)
Bit depth : 10 bits
Bits/(Pixel*Frame) : 0.117
Stream size : 25.3 GiB (97%)
Default : Yes
Alternate group : 1
Encoded date : UTC 2022-03-02 18:06:45
Tagged date : UTC 2022-03-02 18:13:15
Color range : Full
Codec configuration box : hvcC+dvcC
Ah, ok thanks! I will look around for a different version just to make things simpler. What happens if you don't edit the L5 active area? Will the black letterbox bars be off color or grey?
RESET_9999
Posts: 2421
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

jayper wrote: Mon Mar 21, 2022 2:37 pm Ah, ok thanks! I will look around for a different version just to make things simpler. What happens if you don't edit the L5 active area? Will the black letterbox bars be off color or grey?
It could cause some visual defect as @Quietvoid explained recently.
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
Printdivision
Posts: 1
Joined: Mon Mar 21, 2022 6:31 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by Printdivision »

Hi, I'm new here and I want to tell you that I really appreciate what you're doing here. I have a big problem with some BDMV files (few, but very important), Gladiator, Braveheart, Interstellar, Saving private Ryan. I run them on the UBP-X800M2 on USB and for information, the running time is 0.00.00, why? , can't scroll back and forth, why? I passed them through tsMuxeR (M2TS), for Dolby Vision and nothing, they behave the same, what can I do, they can be solved? Thanks for any suggestions.
rosavanwinkle
Posts: 71
Joined: Fri Aug 09, 2019 11:10 am

Re: Dolby Vision now possible through MP4 Mux.

Post by rosavanwinkle »

so the command that im using in ffmpeg is not working....

it creates like a really small file and lots of errors in my cmd
this is my command based on the uhd to profile 8.1 for dual track dv files:

Code: Select all

ffmpeg -i "F:\conversion\The.Godfather.1972.2160p.BluRay.HEVC.TrueHD.5.1-ESiR[IPT]\BDMV\STREAM\00005.m2ts" -ss 0 -t 120 -map 0:0 -c copy "F:\conversion\exit\BL.hevc"
the original:

Code: Select all

ffmpeg -i path\to\the\file.m2ts -ss 0 -t 120 -map 0:0 -c copy path\to\BL.hevc
the cmd output
https://pastebin.com/DpZ7iJG4
Mediaplayer: Nvidia Shield TV Pro
TV: LG 55SK7900PLA
Soundbar: LG SK8 (not LG SK8Y)
plex pass user
Discord:Rosa#1111
RESET_9999
Posts: 2421
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

rosavanwinkle wrote: Mon Mar 21, 2022 7:29 pm so the command that im using in ffmpeg is not working....
Do as @Gatorman suggested and use my script...
everything is automated, you don't have to mess with cmd-lines anymore:
https://www.youtube.com/watch?v=hUAeltL62s8
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
rosavanwinkle
Posts: 71
Joined: Fri Aug 09, 2019 11:10 am

Re: Dolby Vision now possible through MP4 Mux.

Post by rosavanwinkle »

RESET_9999 wrote: Mon Mar 21, 2022 9:57 pm
rosavanwinkle wrote: Mon Mar 21, 2022 7:29 pm so the command that im using in ffmpeg is not working....
Do as @Gatorman suggested and use my script...
everything is automated, you don't have to mess with cmd-lines anymore:
https://www.youtube.com/watch?v=hUAeltL62s8
does this also work for profile 8.1?
Mediaplayer: Nvidia Shield TV Pro
TV: LG 55SK7900PLA
Soundbar: LG SK8 (not LG SK8Y)
plex pass user
Discord:Rosa#1111
RESET_9999
Posts: 2421
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

rosavanwinkle wrote: Mon Mar 21, 2022 9:58 pm
does this also work for profile 8.1?
the video is a profile 7 to profile 8.1 conversion
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
rosavanwinkle
Posts: 71
Joined: Fri Aug 09, 2019 11:10 am

Re: Dolby Vision now possible through MP4 Mux.

Post by rosavanwinkle »

i accidently closed tsmuxer after it was done in the CMD with your script
is this the right settings to convert after its done with the cmd stuff? or do i change anything else?
https://i.imgur.com/vKUgq1Z.png
Mediaplayer: Nvidia Shield TV Pro
TV: LG 55SK7900PLA
Soundbar: LG SK8 (not LG SK8Y)
plex pass user
Discord:Rosa#1111
RESET_9999
Posts: 2421
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

rosavanwinkle wrote: Tue Mar 22, 2022 12:27 am i accidently closed tsmuxer after it was done in the CMD with your script
is this the right settings to convert after its done with the cmd stuff? or do i change anything else?
https://i.imgur.com/vKUgq1Z.png
it doesnt matter if you close tsmuxer without muxing. the P8 file is still in your output folder.
But since you're using a shield, you should edit the bat file and change the muxer to mkvtoolnix.

Image
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
DaMacFunkin
Posts: 314
Joined: Tue Oct 30, 2018 4:17 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by DaMacFunkin »

RESET_9999 wrote: Mon Mar 21, 2022 2:18 pm
jayper wrote: Mon Mar 21, 2022 2:13 pm I appreciate your responding and all the time you've put into this thread and the tools! Much appreciated.

I am still a bit confused... Perhaps I'm misinterpreting things, but the version I have is cropped, meaning there are no black bars in the web-dl. The resolution is 3840x1606. I just demuxed it again and extracted the RPU, and when reading the RPU there is L5 section and no active area offsets. Perhaps I am missing something, or I got a bad release? Thanks again.
Ah I didnt know there was another p5 web-dl version. Then yes you have to edit L5.

the webdl i was talking about:

Code: Select all

Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main 10@L5.2@Main
HDR format : Dolby Vision, Version 1.0, dvhe.05.06, BL+RPU
Codec ID : dvhe
Codec ID/Info : High Efficiency Video Coding with Dolby Vision
Duration : 2 h 36 min
Bit rate : 23.2 Mb/s
Width : 3 840 pixels
Height : 2 160 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 23.976 (23976/1000) FPS
Color space : YUV
Chroma subsampling : 4:2:0 (Type 0)
Bit depth : 10 bits
Bits/(Pixel*Frame) : 0.117
Stream size : 25.3 GiB (97%)
Default : Yes
Alternate group : 1
Encoded date : UTC 2022-03-02 18:06:45
Tagged date : UTC 2022-03-02 18:13:15
Color range : Full
Codec configuration box : hvcC+dvcC
The web-dl I have needs a cut at the beginning to match the length of the UHD BD but I haven’t had time to work out how much to cut and how best to do it.
comorla45
Posts: 13
Joined: Wed Dec 01, 2021 11:32 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by comorla45 »

@gacopl I had no time to run your tool, so maybe you can answer me here. Does your scrip create MP4 that is hybrid format? I mean, DV+HDR10 compatible, so devices with no DV support will still run HDR10? Thanks.
rosavanwinkle
Posts: 71
Joined: Fri Aug 09, 2019 11:10 am

Re: Dolby Vision now possible through MP4 Mux.

Post by rosavanwinkle »

Your tool worked perfect in combination with your video thank you very much.
i do have one question that might be a hardware issue or setting on my end i messed up
playing the movie with truehd will not activate the dolby vision,it goes to hdr,but when i select the ac-3 audio layer it will use dolby vision
Mediaplayer: Nvidia Shield TV Pro
TV: LG 55SK7900PLA
Soundbar: LG SK8 (not LG SK8Y)
plex pass user
Discord:Rosa#1111
jayper
Posts: 335
Joined: Sat Sep 29, 2012 5:57 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by jayper »

DaMacFunkin wrote: Tue Mar 22, 2022 5:58 am
RESET_9999 wrote: Mon Mar 21, 2022 2:18 pm
jayper wrote: Mon Mar 21, 2022 2:13 pm I appreciate your responding and all the time you've put into this thread and the tools! Much appreciated.

I am still a bit confused... Perhaps I'm misinterpreting things, but the version I have is cropped, meaning there are no black bars in the web-dl. The resolution is 3840x1606. I just demuxed it again and extracted the RPU, and when reading the RPU there is L5 section and no active area offsets. Perhaps I am missing something, or I got a bad release? Thanks again.
Ah I didnt know there was another p5 web-dl version. Then yes you have to edit L5.

the webdl i was talking about:

Code: Select all

Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main 10@L5.2@Main
HDR format : Dolby Vision, Version 1.0, dvhe.05.06, BL+RPU
Codec ID : dvhe
Codec ID/Info : High Efficiency Video Coding with Dolby Vision
Duration : 2 h 36 min
Bit rate : 23.2 Mb/s
Width : 3 840 pixels
Height : 2 160 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 23.976 (23976/1000) FPS
Color space : YUV
Chroma subsampling : 4:2:0 (Type 0)
Bit depth : 10 bits
Bits/(Pixel*Frame) : 0.117
Stream size : 25.3 GiB (97%)
Default : Yes
Alternate group : 1
Encoded date : UTC 2022-03-02 18:06:45
Tagged date : UTC 2022-03-02 18:13:15
Color range : Full
Codec configuration box : hvcC+dvcC
The web-dl I have needs a cut at the beginning to match the length of the UHD BD but I haven’t had time to work out how much to cut and how best to do it.
Open both the web-dl and the HDR10 mkv (made with MakeMKV) in StaxRip. Then preview both versions of the film. Find the exact same frame in the film, in both files, and note which number of the frame it is frame for each version. If the web-dl is longer, subtract the total frames from the UHD/mkv from the total frames of the web-dl. Write this number down. You will use this number to remove frames from the web-dl, but note, that frame removal is inclusive so you must enter the number that is one less than the frame difference you calculated. So, if for example: [Frame number of web-dl] - [Frame number of UHD/mkv] = difference in frames. Then you take this number and subtract one.

There was a tutorial video that was shared that outlined the process, check it out here: https://drive.google.com/drive/u/0/fold ... nKkuCEGqg4

Please note, in that video, frames are being ADDED. Your process will be roughly the same, except you will be choosing to add frames rather than remove them.
RESET_9999
Posts: 2421
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

rosavanwinkle wrote: Tue Mar 22, 2022 11:42 am Your tool worked perfect in combination with your video thank you very much.
i do have one question that might be a hardware issue or setting on my end i messed up
playing the movie with truehd will not activate the dolby vision,it goes to hdr,but when i select the ac-3 audio layer it will use dolby vision
I don't know... what container did you use? shield? which app...

last time I checked, MKV DV + TrueHD works on PLEX/Shield.

jayper wrote: Tue Mar 22, 2022 2:23 pm There was a tutorial video that was shared that outlined the process, check it out here: https://drive.google.com/drive/u/0/fold ... nKkuCEGqg4
I'll redo that video because it is outdated and there is an error in it... I treated the frame duplication as inclusive when it's not. Only the frames removal is inclusive.
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
rosavanwinkle
Posts: 71
Joined: Fri Aug 09, 2019 11:10 am

Re: Dolby Vision now possible through MP4 Mux.

Post by rosavanwinkle »

RESET_9999 wrote: Tue Mar 22, 2022 4:16 pm
rosavanwinkle wrote: Tue Mar 22, 2022 11:42 am Your tool worked perfect in combination with your video thank you very much.
i do have one question that might be a hardware issue or setting on my end i messed up
playing the movie with truehd will not activate the dolby vision,it goes to hdr,but when i select the ac-3 audio layer it will use dolby vision
I don't know... what container did you use? shield? which app...

last time I checked, MKV DV + TrueHD works on PLEX/Shield.
i use the plex app straight from the android store,server is on a seedbox but even on my normal pc plex server it uses hdr with truehd,maybe its a setting i wronged in either mkvtoolnix,plex server settings/plex player settings
Mediaplayer: Nvidia Shield TV Pro
TV: LG 55SK7900PLA
Soundbar: LG SK8 (not LG SK8Y)
plex pass user
Discord:Rosa#1111
Post Reply