Page 575 of 756

Re: Dolby Vision now possible through MP4 Mux.

Posted: Fri Jul 28, 2023 7:10 pm
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?

Re: Dolby Vision now possible through MP4 Mux.

Posted: Fri Jul 28, 2023 7:16 pm
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.

Re: Dolby Vision now possible through MP4 Mux.

Posted: Fri Jul 28, 2023 7:19 pm
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

Re: Dolby Vision now possible through MP4 Mux.

Posted: Fri Jul 28, 2023 7:27 pm
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"

Re: Dolby Vision now possible through MP4 Mux.

Posted: Sat Jul 29, 2023 4:12 am
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.

Re: Dolby Vision now possible through MP4 Mux.

Posted: Sat Jul 29, 2023 5:43 am
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

Re: Dolby Vision now possible through MP4 Mux.

Posted: Sat Jul 29, 2023 7:34 am
by thirdmoon
@RESET_9999 is it possible to convert SDR video to HDR using the script or DaVinci?

Re: Dolby Vision now possible through MP4 Mux.

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

ffmpeg there are commands dvh1?
no idea

Re: Dolby Vision now possible through MP4 Mux.

Posted: Sat Jul 29, 2023 2:10 pm
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.

Re: Dolby Vision now possible through MP4 Mux.

Posted: Sat Jul 29, 2023 9:22 pm
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

Re: Dolby Vision now possible through MP4 Mux.

Posted: Sun Jul 30, 2023 3:54 am
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

Re: Dolby Vision now possible through MP4 Mux.

Posted: Sun Jul 30, 2023 5:11 am
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.

Re: Dolby Vision now possible through MP4 Mux.

Posted: Sun Jul 30, 2023 6:45 am
by legosoff
mp4box subtitles.vtt works iPhone and iPad, but it's a pity there is a minus LG TV, Samsung TV, Android TV, Windows VLC and 321 does not work subtitles.vtt
Most likely mp4box at him mov_text no, need to inform the development mp4box up to update version with support mov_text. Where can I inform those mp4box support?

Well if I can make two there will be subtitles format subtitles.srt and subtitles.vtt now everyone has support iPhone, iPad, LG TV, Samsung TV, Android TV, Windows VLC and 321 everything is OK.

Re: Dolby Vision now possible through MP4 Mux.

Posted: Sun Jul 30, 2023 12:02 pm
by RESET_9999
TheEqualizer wrote: Sat Jul 29, 2023 9:22 pm 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
I don't know, I hate the MP4 container.
TS container is 10times better for DV. Have you tried it with external SRT ?

Re: Dolby Vision now possible through MP4 Mux.

Posted: Sun Jul 30, 2023 12:09 pm
by TheEqualizer
RESET_9999 wrote: I don't know, I hate the MP4 container.
TS container is 10times better for DV. Have you tried it with external SRT ?
I would love to do it in TS, but srt external subtitles are only suitable when it comes to one track, and if there are many of them? Therefore, this solution is not suitable.