Dolby Vision now possible through MP4 Mux.

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

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

TheEqualizer wrote:
Fri Jul 28, 2023 5:17 pm
How bad it is that we speak different languages ​​​​and we don’t understand each other well((((
Used on the built-in LG player, movies anywhere streaming service has a full frame, not cropped like amazon or itunes, I recognize or you will understand me this time)
there is no MA Profile 5 available online on torrent/scene... the only DV source is iTunes.

Even if MA P5 DV was available, all their encodes have incorrect Level 5 metadata just like itunes.
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
TheEqualizer
Posts: 51
Joined: Tue Feb 21, 2023 3:50 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by TheEqualizer »

Metadata was extracted by me from MA hybrid release (8 profile, full frame) and injected into uhd hdr
Even if MA P5 DV was available, all their encodes have incorrect Level 5 metadata just like itunes.
What does it mean not faithful and why release such a thing at all? ...

Where can I read in detail and in an understandable language about the levels?
Last edited by TheEqualizer on Fri Jul 28, 2023 5:52 pm, edited 2 times in total.
RESET_9999
Posts: 2406
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

TheEqualizer wrote:
Fri Jul 28, 2023 5:39 pm
Metadata was extracted by me from MA hybrid release (8 profile, full frame) and injected into uhd hdr
that ma p8 release use DV meta from iTunes...
Easy to tell because all the iTunes web-dl are missing level 4 metadata.

What does it mean not faithful and why release such a thing at all? ...

Where can I read in detail and in an understandable language about the levels?
Studios can be a bunch of amateur sometimes, nothing new here. We often get much better quality through piracy.

https://professionalsupport.dolby.com/s ... uage=en_US
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
TheEqualizer
Posts: 51
Joined: Tue Feb 21, 2023 3:50 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by TheEqualizer »

RESET_9999 wrote:
You can use the hdr10plus_tool if you cant wait for me...

Code: Select all

hdr10plus_tool.exe remove input.hevc -o hdr10plus_removed_output.hevc
After running through this utility, the frame rate changes from 23.976 to 25.000, this should not be! I suppose this is due to incomplete resolution, how to solve this problem?
RESET_9999
Posts: 2406
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

TheEqualizer wrote:
Fri Jul 28, 2023 7:10 pm

After running through this utility, the frame rate changes from 23.976 to 25.000, this should not be! I suppose this is due to incomplete resolution, how to solve this problem?
appletv / iTunes web-dl I guess?

This is due to Apple's incompetence. Most of their encodes are missing the frame rate bitstream information and if you don't specify it before muxing in mkvtoolnix, the output will be 25fps after using the dovi_tool/hdr10plus_tool.

You could try to write a proper framerate bitstream with eac3to.exe but it doesn't work all the time.
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
TheEqualizer
Posts: 51
Joined: Tue Feb 21, 2023 3:50 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by TheEqualizer »

RESET_9999, уes exactly Apple TV. The new script that I expect from you is taught to do this automatically to avoid similar problems?

P.S. In manual mode, I got rid of the problem
RESET_9999
Posts: 2406
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

TheEqualizer wrote:
Fri Jul 28, 2023 7:19 pm
RESET_9999, уes exactly Apple TV. The new script that I expect from you is taught to do this automatically to avoid similar problems?
Yes, the script takes care of specifying the proper frame rate before muxing to MKV or TS but it doesn't fix it at the bitstream level like eac3to.exe or ffmpeg can do.

Code: Select all

eac3to.exe "D:\input.mkv" 1: "D:\output.h265" -23.976 -changeto23.976

Code: Select all

ffmpeg.exe -vsync drop -i input.mkv -c copy -bsf:v hevc_metadata=tick_rate=24000/1001:num_ticks_poc_diff_one=1 "output.hevc"
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
legosoff
Posts: 42
Joined: Sun Sep 25, 2022 1:43 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by legosoff »

Hi, RESET_9999.

ffmpeg there are commands dvh1? I didn't find the command dvh1 only there is hvc1 и hev1, i need to dvh1. mp4box dvh1 great, but iPhone and iPad subtitles don't work, ffmpeg subtitles work.
TheEqualizer
Posts: 51
Joined: Tue Feb 21, 2023 3:50 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by TheEqualizer »

RESET_9999, thanks for the correction in DoVi_Scripts_1.9.0, now the 6-1-1 works as expected, of course, you need to pre-prepare the video as you wrote with eac3to or ffmpeg, thanks
thirdmoon
Posts: 35
Joined: Mon Jul 03, 2023 6:17 am

Re: Dolby Vision now possible through MP4 Mux.

Post by thirdmoon »

@RESET_9999 is it possible to convert SDR video to HDR using the script or DaVinci?
RESET_9999
Posts: 2406
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

legosoff wrote:
Sat Jul 29, 2023 4:12 am
Hi, RESET_9999.

ffmpeg there are commands dvh1?
no idea
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
legosoff
Posts: 42
Joined: Sun Sep 25, 2022 1:43 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by legosoff »

RESET_9999 wrote:
Sat Jul 29, 2023 1:20 pm
legosoff wrote:
Sat Jul 29, 2023 4:12 am
Hi, RESET_9999.

ffmpeg there are commands dvh1?
no idea
The problem of iPhone and iPad subtitles should be solved by mp4box.
TheEqualizer
Posts: 51
Joined: Tue Feb 21, 2023 3:50 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by TheEqualizer »

RESET_9999, I understand that maybe the question is not at the right address, but I'll ask if you know. There is a problem that could not be solved, I understand that this is some kind of limitation of the LG operating system, if you play DV mp4 movies over the network (DLNA or NAS) with a lot of subtitle tracks, then switching subtitles is not available, at the same time if you run the same movie in mkv over the network, then subtitles can be switched as when connected via usb
sw5163
Posts: 146
Joined: Sat Jun 25, 2022 7:28 am

Re: Dolby Vision now possible through MP4 Mux.

Post by sw5163 »

legosoff wrote:
Sat Jul 29, 2023 2:10 pm
The problem of iPhone and iPad subtitles should be solved by mp4box.
You can try

Code: Select all

mp4box -add dv.hevc -add atmos.eac3 -add sub.srt:hdlr=sbtl:lang=eng -new dvh1.atmos.engsub.mp4
Or you can first put an mov_text sub into a mp4 container

Code: Select all

ffmpeg -i sub.srt -c:s mov_text -metadata:s language=eng sub.mp4
And then

Code: Select all

mp4box -add dv.hevc -add atmos.eac3 -add sub.mp4 -new dvh1.atmos.engsub.mp4
legosoff
Posts: 42
Joined: Sun Sep 25, 2022 1:43 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by legosoff »

sw5163 wrote:
Sun Jul 30, 2023 3:54 am
legosoff wrote:
Sat Jul 29, 2023 2:10 pm
The problem of iPhone and iPad subtitles should be solved by mp4box.
You can try

Code: Select all

mp4box -add dv.hevc -add atmos.eac3 -add sub.srt:hdlr=sbtl:lang=eng -new dvh1.atmos.engsub.mp4
Or you can first put an mov_text sub into a mp4 container

Code: Select all

ffmpeg -i sub.srt -c:s mov_text -metadata:s language=eng sub.mp4
And then

Code: Select all

mp4box -add dv.hevc -add atmos.eac3 -add sub.mp4 -new dvh1.atmos.engsub.mp4
Hi, sw5163.
mp4box -add dv.hevc -add atmos.eac3 -add sub.srt:hdlr=sbtl:lang=eng -new dvh1.atmos.engsub.mp4 subtitles no.
ffmpeg -i sub.srt -c:s mov_text -metadata:s language=eng sub.mp4 through mp4box -add dv.hevc -add atmos.eac3 -add sub.mp4 -new dvh1.atmos.engsub.mp4 too subtitles no.
ffmpeg -i dv.mkv -map 0:v? -map 0:a? -map 0:s? -c:v copy -c:a copy -c:s mov_text dv.mp4 subtitles there is.
I'll try it now Subtitle Edit there will be several format files on mp4box.
Post Reply