Hi! I am newbee here so please bear with me. I've experimented with dovi_tool a little bit but failed every time. Obviously I am doing something wrong so I would appreciate your help. Thank you.
Here are my exact steps (using Windows 10 Pro 64bit and everything like source files and dovi_tool.exe/ffmpeg.exe are inside main folder):
01, ffmpeg -i DV_WEB-DL.mp4 -c:v copy -vbsf hevc_mp4toannexb -f hevc - | dovi_tool -m 3 extract-rpu -
02, ffmpeg -i HDR.mkv -c:v copy hdr.hevc
03, dovi_tool inject-rpu -i hdr.hevc --rpu-in RPU.bin -o output.hevc
04, final output.hevc is muxed in latest MKVToolnix with sound and subtitles from HDR.mkv
There is a difference between DV web-dl and remux HDR10 file in frames but if I understood correctly, dovi_tool should adjust it automatically for metadata. Am I right? Using the latest 0.5 version.
I do not have any errors either in ffmpeg or dovi_tool. All is going smooth. Except when I try to play the final file in either mpv or mpc-hc I see glitches - for example in the beginning when the the logo appears, the picture will freeze for a couple of seconds and the sound is continuing. At that time the glitch in small rectangle in left upper corner will appear. Here are examples:
Here is MediaInfo (some info reducted):
Code: Select all
Format : Matroska
Format version : Version 4
File size : 51.0 GiB
Duration : 2 h 13 min
Overall bit rate mode : Variable
Overall bit rate : 54.5 Mb/s
Movie name : MOVIE
Encoded date : UTC 2021-08-30 21:24:30
Writing application : mkvmerge v61.0.0 ('So') 64-bit
Writing library : libebml v1.4.2 + libmatroska v1.6.4
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, HDR10 compatible / SMPTE ST 2086, HDR10 compatible
Codec ID : V_MPEGH/ISO/HEVC
Duration : 2 h 13 min
Bit rate : 48.9 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.246
Stream size : 45.7 GiB (90%)
Writing library : ATEME Titan File 3.9.6 (4.9.6.2)
Language : English
Default : Yes
Forced : No
Color range : Limited
Color primaries : BT.2020
Transfer characteristics : PQ
Matrix coefficients : BT.2020 non-constant
Mastering display color primar : Display P3
Mastering display luminance : min: 0.0000 cd/m2, max: 1000 cd/m2
Audio #1
ID : 2
Format : MLP FBA 16-ch
Format/Info : Meridian Lossless Packing FBA with 16-channel presentation
Commercial name : Dolby TrueHD with Dolby Atmos
Codec ID : A_TRUEHD
Duration : 2 h 13 min
Bit rate mode : Variable
Bit rate : 4 651 kb/s
Maximum bit rate : 6 930 kb/s
Channel(s) : 8 channels
Channel layout : L R C LFE Ls Rs Lb Rb
Sampling rate : 48.0 kHz
Frame rate : 1 200.000 FPS (40 SPF)
Compression mode : Lossless
Stream size : 4.35 GiB (9%)
Title : TrueHD Atmos 7.1
Language : English
Default : Yes
Forced : No
Number of dynamic objects : 13
Bed channel count : 1 channel
Bed channel configuration : LFE
Audio #2
ID : 3
Format : AC-3
Format/Info : Audio Coding 3
Commercial name : Dolby Digital
Codec ID : A_AC3
Duration : 2 h 13 min
Bit rate mode : Constant
Bit rate : 640 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 : 613 MiB (1%)
Title : Compatibility Track
Language : English
Service kind : Complete Main
Default : No
Forced : No
Text #1
ID : 4
Format : PGS
Codec ID : S_HDMV/PGS
Codec ID/Info : Picture based subtitle format used on BDs/HD-DVDs
Duration : 2 h 11 min
Bit rate : 34.8 kb/s
Count of elements : 3804
Stream size : 32.8 MiB (0%)
Title : SDH
Language : English
Default : No
Forced : No
Thanks for your inputs.