Dolby Vision now possible through MP4 Mux.
Re: Dolby Vision now possible through MP4 Mux.
EDIT:
I really hope somebody can answer this.
Does the Plex app for Shield support DV from MKV containers?
If yes, which profiles?
And what about the LG WebOS Plex app?
I believe it only supports DV profile 5 (MEL) from MKV containers right?
What about .TS containers?
I'm looking to store my videos in a container which can also carry lossless audio, but is capable of triggering DV on both LG TVs and the Shield using Plex.
I know LG only supports AC3, but that's no problem because I can just store the TrueHD track as the second one.
I really hope somebody can answer this.
Does the Plex app for Shield support DV from MKV containers?
If yes, which profiles?
And what about the LG WebOS Plex app?
I believe it only supports DV profile 5 (MEL) from MKV containers right?
What about .TS containers?
I'm looking to store my videos in a container which can also carry lossless audio, but is capable of triggering DV on both LG TVs and the Shield using Plex.
I know LG only supports AC3, but that's no problem because I can just store the TrueHD track as the second one.
Last edited by MastaG on Mon Aug 30, 2021 6:20 pm, edited 1 time in total.
Re: Dolby Vision now possible through MP4 Mux.
Yes, the BL.hevc file does not contain any Dolby Vision data, but it does still fallback to HDR10+.
-
- Posts: 14
- Joined: Mon Aug 30, 2021 9:34 pm
Re: Dolby Vision now possible through MP4 Mux.
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):
Thanks for your inputs.
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
-
- Posts: 2091
- Joined: Mon Aug 05, 2019 7:12 pm
Re: Dolby Vision now possible through MP4 Mux.
Just got a Zidoo z9x player.. works great for any file I played but tv-led has the wrong bt2020 flag as well SMH
https://slow.pics/c/8zWhGixS
The x700, the Shield, the appleTV, the firestick, Chromecast, Ugoos:
colors are mostly accurate, still have to check DV but at least there is no red push on Doctor Sleep. if they fix the bt2020 flag, it is a better device than the Shield IMO
HDR10 422 12bit
zidoo vs source vs htpc: https://slow.pics/c/sjhJStHn
SDR 422 12bit (444 8bit is the same accuracy):
zidoo vs source vs htpc: https://slow.pics/c/MZyuVwBq
https://slow.pics/c/8zWhGixS
The x700, the Shield, the appleTV, the firestick, Chromecast, Ugoos:
colors are mostly accurate, still have to check DV but at least there is no red push on Doctor Sleep. if they fix the bt2020 flag, it is a better device than the Shield IMO
HDR10 422 12bit
zidoo vs source vs htpc: https://slow.pics/c/sjhJStHn
SDR 422 12bit (444 8bit is the same accuracy):
zidoo vs source vs htpc: https://slow.pics/c/MZyuVwBq
Last edited by RESET_9999 on Tue Aug 31, 2021 3:30 am, edited 1 time in total.
Sorry for my English.
DoVi_Scripts / DoVi Playback Devices / Movies HDR-DV Plot / Screenshot Comparisons
DoVi_Scripts / DoVi Playback Devices / Movies HDR-DV Plot / Screenshot Comparisons
Re: Dolby Vision now possible through MP4 Mux.
damn with all the players you've bought recently, you should've just bit the bullet and gotten one of the oppo clonesRESET_9999 wrote: ↑Mon Aug 30, 2021 11:10 pmJust got a Zidoo z9x player.. works great for any file I played but tv-led has the wrong bt2020 flag as well SMH
The x700, the Shield, the appleTV, the firestick, Chromecast, Ugoos:
colors are mostly accurate, still have to check DV but at least there is no red push on Doctor Sleep. if they fix the bt2020 flag, it is a better device than the Shield IMO
HDR10 422 12bit
zidoo vs source vs htpc: https://slow.pics/c/sjhJStHn
SDR 422 12bit (444 8bit is the same accuracy):
zidoo vs source vs htpc: https://slow.pics/c/MZyuVwBq
-
- Posts: 2091
- Joined: Mon Aug 05, 2019 7:12 pm
Re: Dolby Vision now possible through MP4 Mux.
yeah but just like the x700, the oppo cant play cropped DV properly. with all the appletv and amazon(hdr10+ to DV) content , it was a problem.
And now I can watch all the mel DV content via my network and only use my hdd /x700 for FEL. It's much more practical now. plus I get to reduce the amount of TS files in my library ( i prefer all MKV)
zidoo works surprisingly well, literally played every single file I tried.
Sorry for my English.
DoVi_Scripts / DoVi Playback Devices / Movies HDR-DV Plot / Screenshot Comparisons
DoVi_Scripts / DoVi Playback Devices / Movies HDR-DV Plot / Screenshot Comparisons
-
- Posts: 311
- Joined: Tue Oct 30, 2018 4:17 pm
Re: Dolby Vision now possible through MP4 Mux.
Hi, have you installed latest firmware?RESET_9999 wrote: ↑Tue Aug 31, 2021 1:24 am
yeah but just like the x700, the oppo cant play cropped DV properly. with all the appletv and amazon(hdr10+ to DV) content , it was a problem.
And now I can watch all the mel DV content via my network and only use my hdd /x700 for FEL. It's much more practical now. plus I get to reduce the amount of TS files in my library ( i prefer all MKV)
zidoo works surprisingly well, literally played every single file I tried.
On your test pic it shows the BT2020 pic with 25hz, did you try 23hz?
Post in the Zidoo forum, Mark Swift has a Vertex2, if it is a bug he will get it fixed.
I’m mostly pleased with my Z9X after the latest firmware updates, it was a bit buggy for a long time after release.
-
- Posts: 2091
- Joined: Mon Aug 05, 2019 7:12 pm
Re: Dolby Vision now possible through MP4 Mux.
Hi,DaMacFunkin wrote: ↑Tue Aug 31, 2021 4:54 amHi, have you installed latest firmware?
On your test pic it shows the BT2020 pic with 25hz, did you try 23hz?
Post in the Zidoo forum, Mark Swift has a Vertex2, if it is a bug he will get it fixed.
I’m mostly pleased with my Z9X after the latest firmware updates, it was a bit buggy for a long time after release.
yep, it's the first thing I did. I updated to the latest firmware via the settings. Is there a BETA firmware that I need to install manually?
Yes I tried many different files (23 /24hz), all the same. You can see the flag as well when you press ''OK'', the zidoo info menu shows RGB bt2020 signal.
I posted my finding on the zidoo forum thanks
http://forum.zidoo.tv/index.php?threads ... ost-159429
Also, I personally don't care about this because I will use it for DV only but I noticed a severe black crush in HDR10/SDR using the Spears and Munsil black level pattern.
Sorry for my English.
DoVi_Scripts / DoVi Playback Devices / Movies HDR-DV Plot / Screenshot Comparisons
DoVi_Scripts / DoVi Playback Devices / Movies HDR-DV Plot / Screenshot Comparisons
Re: Dolby Vision now possible through MP4 Mux.
Have you tried using mkvextract instead of ffmpeg for the HDR10 base layer demux?uhdiznotenough4mee wrote: ↑Mon Aug 30, 2021 10:08 pmI 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:
If there are issues with the injected file, they are probably present in the original demuxed bitstream.
-
- Posts: 285
- Joined: Thu May 02, 2019 2:49 am
Re: Dolby Vision now possible through MP4 Mux.
What is cropped dolby vision? Which movies have it? When you say the x700 can't play those cropped dv movies properly, you mean it won't play at all or there are some problems during playback?RESET_9999 wrote: ↑Tue Aug 31, 2021 1:24 am
yeah but just like the x700, the oppo cant play cropped DV properly. with all the appletv and amazon(hdr10+ to DV) content , it was a problem.
And now I can watch all the mel DV content via my network and only use my hdd /x700 for FEL. It's much more practical now. plus I get to reduce the amount of TS files in my library ( i prefer all MKV)
zidoo works surprisingly well, literally played every single file I tried.
-
- Posts: 14
- Joined: Mon Aug 30, 2021 9:34 pm
Re: Dolby Vision now possible through MP4 Mux.
Brilliant. It seems to be working fine using mkvextract. Will test the result later but no glitches at all. Thanks so much, kind sir, for all the work you are doing.quietvoid wrote: ↑Tue Aug 31, 2021 12:31 pmHave you tried using mkvextract instead of ffmpeg for the HDR10 base layer demux?uhdiznotenough4mee wrote: ↑Mon Aug 30, 2021 10:08 pmI 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:
If there are issues with the injected file, they are probably present in the original demuxed bitstream.
Last edited by uhdiznotenough4mee on Tue Aug 31, 2021 3:14 pm, edited 1 time in total.
-
- Posts: 2091
- Joined: Mon Aug 05, 2019 7:12 pm
Re: Dolby Vision now possible through MP4 Mux.
When the video is encoded without black bars (E.G. 3840x1600pixels). Bluray players expect black bars and when there isn't, the black bars appear grey. All the AppleTV and Amazon content is cropped.deadchip12 wrote: ↑Tue Aug 31, 2021 1:12 pmWhat is cropped dolby vision? Which movies have it? When you say the x700 can't play those cropped dv movies properly, you mean it won't play at all or there are some problems during playback?
see this post:
viewtopic.php?p=111867#p111867
Sorry for my English.
DoVi_Scripts / DoVi Playback Devices / Movies HDR-DV Plot / Screenshot Comparisons
DoVi_Scripts / DoVi Playback Devices / Movies HDR-DV Plot / Screenshot Comparisons
-
- Posts: 2091
- Joined: Mon Aug 05, 2019 7:12 pm
Re: Dolby Vision now possible through MP4 Mux.
no.uhdiznotenough4mee wrote: ↑Mon Aug 30, 2021 10:08 pmThere 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.
this is true for the frame count but you still have to make the RPU start at exactly the same frame as the remux. I did every single bluray remux that didnt have DV and i think only 3 times, it didn't need frames adjustments with a JSON edit.
What movie is that ? i certainly did it and never experienced the glitches. I use tsMuxer for extracting.
all of them as long as the file are remuxed into a single track format.
tsmuxer it is then...MastaG wrote: ↑Mon Aug 30, 2021 4:44 pm
I'm looking to store my videos in a container which can also carry lossless audio, but is capable of triggering DV on both LG TVs and the Shield using Plex.
I know LG only supports AC3, but that's no problem because I can just store the TrueHD track as the second one.
they will play in DV+lossless audio on the shield and in DV on your TV.
Last edited by RESET_9999 on Tue Aug 31, 2021 4:20 pm, edited 1 time in total.
Sorry for my English.
DoVi_Scripts / DoVi Playback Devices / Movies HDR-DV Plot / Screenshot Comparisons
DoVi_Scripts / DoVi Playback Devices / Movies HDR-DV Plot / Screenshot Comparisons
-
- Posts: 14
- Joined: Mon Aug 30, 2021 9:34 pm
Re: Dolby Vision now possible through MP4 Mux.
Cruella. Oh, I thought it is automatic now. So how exactly do you achieve that the RPU starts at exact frame as the remux?RESET_9999 wrote: ↑Tue Aug 31, 2021 2:17 pmno.uhdiznotenough4mee wrote: ↑Mon Aug 30, 2021 10:08 pmThere 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.
this is true for the frame count but you still have to make the RPU start at exactly the same frame as the remux. I did every single bluray remux that didnt have DV and i think only 3 times, it didn't need frames adjustments with a JSON edit.
What movie is that ? i certainly did it and never experienced the glitches. I use tsMuxer for extracting.
I tried Soul 2020 too and I have seen your post in this thread. I had this warning in dovi_tool:
Code: Select all
n:\dovi_tool>dovi_tool inject-rpu -i hdr.hevc --rpu-in RPU.bin -o output.hevc
Parsing RPU file...
Processing input video for frame order info...
Warning: mismatched lengths. video 144645, RPU 144685
Metadata will be skipped at the end to match video length
Computing frame indices..
Rewriting file with interleaved RPU NALs..
I had no warning in dovi_tool for Cruella though.
Now I am a little bit lost =(
Re: Dolby Vision now possible through MP4 Mux.
You have to compare both versions frame by frame to determine if and how they have to be synced..
For Soul, see the posts here: viewtopic.php?p=111007#p111007
For Soul, see the posts here: viewtopic.php?p=111007#p111007