Dolby Vision now possible through MP4 Mux.
Re: Dolby Vision now possible through MP4 Mux.
@RESET_9999
Thanks for the updated Tools
Thanks for the updated Tools
Zidoo Z9X | HiMedia Q5 Pro and Q10 Pro | ZDMC 20.1 | Remote WeChip | Splitter HDMI HDFury AVR-KEY | Display LG 65B6V | Audio processor Yamaha RX-V775 | Rotel RMB-1075 | Storage Qnap Ts-431K +TL-D800C
My PC Ryzen 7950X
My PC Ryzen 7950X
Re: Dolby Vision now possible through MP4 Mux.
Awesome update. Looking forward to testing it out.RESET_9999 wrote: ↑Sun Jul 16, 2023 5:40 pmDoVi_Scripts_1.8.9.1.beta
(3-1) can now generate DV with the Dolby cmv4.0 algo without the need for Davinci Resolve. It can also work without an nvidia GPU.
It can generate frame-by-frame long-play or shot-by-shot metadata. I haven't compared the scene cut detection algo I'm using with the one in Resolve yet.
needed exe (metafier and cm_analyze) can be found here: https://customer.dolby.com/content-crea ... tools-v530
there's an SDR to HDR template in my script tutorial folder that will convert gamma 2.4 to PQ.
Then you have to play with the HDR settings in resolve.
DEE but you should change the video fps instead.
https://professional.dolby.com/product/ ... ng-engine/
if the frame order is the same, I guess so. I don't know much about hdr10plus
6-9 already takes the metadata from the source rpu.
How is the processing speed compared to resolve?
-
- Posts: 2090
- Joined: Mon Aug 05, 2019 7:12 pm
Re: Dolby Vision now possible through MP4 Mux.
the frame by frame analysis is faster because you don't have to do the scene cut detection.
the shot by shot is slower because the current scene detects algo can't use the gpu. It also detects much fewer shots than in resolve & original.
https://www.scenedetect.com/
if anyone knows a good scene-cut detector tool? please let me know.
Here's a full comparison between resolve and the cm_analyzer:
L1: https://slow.pics/c/frlloVtT
L2: https://slow.pics/c/DVh8ttfe
L3: https://slow.pics/c/iu6FypAK
As you can see Resolve + downscaling is still what produces the closest metadata to the original. The shot by shot analyze also boost the L1 number just like in resolve when you don't downscale.
This new workflow might still be useful to people that don't own Resolve.
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.
Thanks for the new tools @RESET_1999. Can't wait to try them out.
But first I want to check that I am correctly diagnosing when files have brightness expanded via FEL layer.
First we have Mission Impossible: Fallout: https://slow.pics/GmtF2CDS/
This FEL file shows a maximum display luminance of 1000 nits in mediainfo, however here it is 4000. We can see the file actually reaches 4000 nits as well in the MaxCLL. So this would be an example of brightness expanded via FEL layer, correct?
Next is Carrie (1976): https://slow.pics/ynAwxGW9/
This is also FEL. Both mediainfo and this graph with RPU/L6 show mastering display luminance as 1000 nits. So this would be an example of a title where the brightness is NOT expanded via FEL?
Note that Mission Impossible: Fallout is not included on your list. But also, for sanity's sake, it would be great to keep track of which titles DON'T have expanded brightness via FEL layer, along with those that do.
Thank you so much for your help!
But first I want to check that I am correctly diagnosing when files have brightness expanded via FEL layer.
First we have Mission Impossible: Fallout: https://slow.pics/GmtF2CDS/
This FEL file shows a maximum display luminance of 1000 nits in mediainfo, however here it is 4000. We can see the file actually reaches 4000 nits as well in the MaxCLL. So this would be an example of brightness expanded via FEL layer, correct?
Next is Carrie (1976): https://slow.pics/ynAwxGW9/
This is also FEL. Both mediainfo and this graph with RPU/L6 show mastering display luminance as 1000 nits. So this would be an example of a title where the brightness is NOT expanded via FEL?
Note that Mission Impossible: Fallout is not included on your list. But also, for sanity's sake, it would be great to keep track of which titles DON'T have expanded brightness via FEL layer, along with those that do.
Thank you so much for your help!
-
- Posts: 5
- Joined: Fri Jul 14, 2023 5:17 pm
Re: Dolby Vision now possible through MP4 Mux.
Hi all!
Completely noob question but I've spent a couple weeks looking for the answer and I haven't found one. I have a LG E8 55" connected to a Vizio M512A-H6 soundbar via ARC.
According to the DV Google Doc spreadsheet, my TV's internal player should be able to play the included DV sample files (dual-track and single-track dual-layer profile 7 DV) just fine but it's not. The single-track sample doesn't play ("file can't be recognized" error), and the dual-track sample trips the Dolby Vision tag but the video cycles through a literal rainbow of colors throughout playing it, and the player says the video doesn't support audio.
Played on Plex, the story is slightly different. The single-track sample video does play, but it only trips the HDR tag. The dual-track sample trips the Dolby Vision tag but does the same "rainbow" cycle.
Ultimately, my goal is to be able to convert profile 7 BL+EL+RPU UHD rips to profile 8 .MP4s to play on my Plex, but the only files that seem to play successfully on my Plex (run from a macOS server, played on my LG TV's WebOS app) in Dolby Vision are profile 5 WEB-DL rips. Atmos seems to only successfully play when it's EAC3+JOC DD+. The profile 8 .MP4s I mux together from a BL+EL+RPU DV track and TrueHD 7.1 Atmos do play, but they default to HDR10 and Dolby Digital audio. I'm aware that my TV won't play TrueHD period, so it's not as big a concern.
So my actual question is, is there something wrong with my TV? I've been using the DoVi Scripts v1.8.9 to convert the .MKV profile 7 UHD rips I have to profile 8 .MP4s, but I haven't found success yet. I'm probably just missing something obvious. At least I hope.
Completely noob question but I've spent a couple weeks looking for the answer and I haven't found one. I have a LG E8 55" connected to a Vizio M512A-H6 soundbar via ARC.
According to the DV Google Doc spreadsheet, my TV's internal player should be able to play the included DV sample files (dual-track and single-track dual-layer profile 7 DV) just fine but it's not. The single-track sample doesn't play ("file can't be recognized" error), and the dual-track sample trips the Dolby Vision tag but the video cycles through a literal rainbow of colors throughout playing it, and the player says the video doesn't support audio.
Played on Plex, the story is slightly different. The single-track sample video does play, but it only trips the HDR tag. The dual-track sample trips the Dolby Vision tag but does the same "rainbow" cycle.
Ultimately, my goal is to be able to convert profile 7 BL+EL+RPU UHD rips to profile 8 .MP4s to play on my Plex, but the only files that seem to play successfully on my Plex (run from a macOS server, played on my LG TV's WebOS app) in Dolby Vision are profile 5 WEB-DL rips. Atmos seems to only successfully play when it's EAC3+JOC DD+. The profile 8 .MP4s I mux together from a BL+EL+RPU DV track and TrueHD 7.1 Atmos do play, but they default to HDR10 and Dolby Digital audio. I'm aware that my TV won't play TrueHD period, so it's not as big a concern.
So my actual question is, is there something wrong with my TV? I've been using the DoVi Scripts v1.8.9 to convert the .MKV profile 7 UHD rips I have to profile 8 .MP4s, but I haven't found success yet. I'm probably just missing something obvious. At least I hope.
Amateur enthusiast
LG E8 55” ——-> Vizio M512A-H6
LG E8 55” ——-> Vizio M512A-H6
Re: Dolby Vision now possible through MP4 Mux.
So I was in the right track in the first place. Thank you very much!RESET_9999 wrote: ↑Sun Jul 02, 2023 2:51 pmP7 FEL > P5 > P7 MEL = P8 > HDR10plus > HDR10 > SDR
P7 fel is 12bit so it is better than the P5 10bit colorspace.
P8 has the same dynamic metadata but only 10bit colors.
Quick question; are you familiar with FFMPEG? I'm trying to convert a P5 MKV into a P5 MP4. Do you know the command for this? I've tried all sorts of options but the DV data seems to get erased, my TV does not trigger DV.
I would use your workflow tool, but I use Linux and it does not properly work in Wine nor in a virtual machine, for some reason...
Bonus question: I'm able convert P5 MKVs to P5 M2TS, which play fine on my TV, but subtitles aren't displayed. The subtitles section of the TVs internal video player detects them, but doesn't display them, is there any specific reason for this?
-
- Posts: 2090
- Joined: Mon Aug 05, 2019 7:12 pm
Re: Dolby Vision now possible through MP4 Mux.
MDL is usually a good indication but you cant only rely on it... The only way to be sure is by plotting DV and HDR10 or exporting screenshots with the dovi bakerdapope wrote: ↑Mon Jul 17, 2023 12:41 amThanks for the new tools @RESET_1999. Can't wait to try them out.
But first I want to check that I am correctly diagnosing when files have brightness expanded via FEL layer.
First we have Mission Impossible: Fallout: https://slow.pics/GmtF2CDS/
This FEL file shows a maximum display luminance of 1000 nits in mediainfo, however here it is 4000. We can see the file actually reaches 4000 nits as well in the MaxCLL. So this would be an example of brightness expanded via FEL layer, correct?
Next is Carrie (1976): https://slow.pics/ynAwxGW9/
This is also FEL. Both mediainfo and this graph with RPU/L6 show mastering display luminance as 1000 nits. So this would be an example of a title where the brightness is NOT expanded via FEL?
Note that Mission Impossible: Fallout is not included on your list. But also, for sanity's sake, it would be great to keep track of which titles DON'T have expanded brightness via FEL layer, along with those that do.
Thank you so much for your help!
EDIT: had a look and FEL does expand the brightness like all the other MI
https://slow.pics/c/x2MdG2tX
Last edited by RESET_9999 on Mon Jul 17, 2023 3:56 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: 2090
- Joined: Mon Aug 05, 2019 7:12 pm
Re: Dolby Vision now possible through MP4 Mux.
no idea.
because they are PGS, you need external SRT.Bonus question: I'm able convert P5 MKVs to P5 M2TS, which play fine on my TV, but subtitles aren't displayed. The subtitles section of the TVs internal video player detects them, but doesn't display them, is there any specific reason for this?
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: 2090
- Joined: Mon Aug 05, 2019 7:12 pm
Re: Dolby Vision now possible through MP4 Mux.
Here's my experience with the C8 ARC + PLEX...UNSCTrafalgar wrote: ↑Mon Jul 17, 2023 7:17 amHi all!
Completely noob question but I've spent a couple weeks looking for the answer and I haven't found one. I have a LG E8 55" connected to a Vizio M512A-H6 soundbar via ARC.
According to the DV Google Doc spreadsheet, my TV's internal player should be able to play the included DV sample files (dual-track and single-track dual-layer profile 7 DV) just fine but it's not. The single-track sample doesn't play ("file can't be recognized" error), and the dual-track sample trips the Dolby Vision tag but the video cycles through a literal rainbow of colors throughout playing it, and the player says the video doesn't support audio.
Played on Plex, the story is slightly different. The single-track sample video does play, but it only trips the HDR tag. The dual-track sample trips the Dolby Vision tag but does the same "rainbow" cycle.
Ultimately, my goal is to be able to convert profile 7 BL+EL+RPU UHD rips to profile 8 .MP4s to play on my Plex, but the only files that seem to play successfully on my Plex (run from a macOS server, played on my LG TV's WebOS app) in Dolby Vision are profile 5 WEB-DL rips. Atmos seems to only successfully play when it's EAC3+JOC DD+. The profile 8 .MP4s I mux together from a BL+EL+RPU DV track and TrueHD 7.1 Atmos do play, but they default to HDR10 and Dolby Digital audio. I'm aware that my TV won't play TrueHD period, so it's not as big a concern.
So my actual question is, is there something wrong with my TV? I've been using the DoVi Scripts v1.8.9 to convert the .MKV profile 7 UHD rips I have to profile 8 .MP4s, but I haven't found success yet. I'm probably just missing something obvious. At least I hope.
1- For dual track DV: The container must be MP4 and muxed with the old mp4muxer/mp4box. (7-2) in the script.
2- For single track P7 DV: Some file will work some others will stutter or produce a black screen.
3- For the audio: It can be DTS AC3 AAC EC3. TrueHD won't work and will force HDR10 or fails to play
4- For the subtitles:
TS/M2TS: only external SRT will work. Any PGS subtitles will fail to play in DV.
MP4: internal or external SRT is fine.
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: 5
- Joined: Fri Jul 14, 2023 5:17 pm
Re: Dolby Vision now possible through MP4 Mux.
Thanks for the help! A few follow-up questions:Here's my experience with the C8 ARC + PLEX...
1- For dual track DV: The container must be MP4 and muxed with the old mp4muxer/mp4box. (7-2) in the script.
2- For single track P7 DV: Some file will work some others will stutter or produce a black screen.
3- For the audio: It can be DTS AC3 AAC EC3. TrueHD won't work and will force HDR10 or fails to play
4- For the subtitles:
TS/M2TS: only external SRT will work. Any PGS subtitles will fail to play in DV.
MP4: internal or external SRT is fine.
The 7-2 script flow says it's for single-track output for older LG TVs. I tried it anyway and selected to convert the RPU to profile 8 and convert the TrueHD audio to DD+. The video track conversion seemed to have gone fine but I got multiple errors when trying to convert the audio:
Code: Select all
Stream #0:0 -> #0:0 (pcm_s24le (native) -> eac3 (eac3_eae))
Press [q] to stop, [?] for help
Output #0, eac3, to 'C:\Users\UNSCTrafalgar\Downloads\Movie_Convert\DoVi_Scripts_TOOLS\TEMP_folder\a1.eac3':
Metadata:
encoder : Lavf58.65.101
Stream #0:0: Audio: eac3, 48000 Hz, 7.1, flt (24 bit), 128 kb/s
Metadata:
encoder : Lavc58.117.101 eac3_eae
[eac3_eae @ 000001dd2d922000] EAE timeout! EAE not running, or wrong folder? Could not read 'C:\Users\UNSCTrafalgar\Downloads\Movie_Convert\DoVi_Scripts_TOOLS\\EAE\Convert to Dolby Digital Plus (Max Quality - 1024 kbps)\frame-16372-0-0.ec3'
[eac3_eae @ 000001dd2d922000] error reading output
Audio encoding failed
[eac3_eae @ 000001dd2d922000] EAE timeout! EAE not running, or wrong folder? Could not read 'C:\Users\UNSCTrafalgar\Downloads\Movie_Convert\DoVi_Scripts_TOOLS\\EAE\Convert to Dolby Digital Plus (Max Quality - 1024 kbps)\frame-16372-0-1.ec3'
Conversion failed!
ERROR: The process "EasyAudioEncoder.exe" not found.
Code: Select all
muxing into a MP4 DoVi file. Be patient, it can take a while. 40min+ on slow HDD!
IsoMedia import 1.mp4 - track ID 1 - Video (size 3840 x 1608)
[FileIn] Asked to read 5000 but got only 0
[FileIn] IO error EOF found after reading 0 bytes but file C:\Users\UNSCTrafalgar\Downloads\Movie_Convert\DoVi_Scripts_TOOLS\TEMP_folder\a1.ec3 size is 0
[FFDmx] Fail to open C:\Users\UNSCTrafalgar\Downloads\Movie_Convert\DoVi_Scripts_TOOLS\TEMP_folder\a1.ec3 - error Invalid data found when processing input
[Importer] Error probing C:\Users\UNSCTrafalgar\Downloads\Movie_Convert\DoVi_Scripts_TOOLS\TEMP_folder\a1.ec3
Failure while importing import: Filter not found for the desired type
Error importing C:\Users\UNSCTrafalgar\Downloads\Movie_Convert\DoVi_Scripts_TOOLS\TEMP_folder\a1.ec3#audio:lang=en:name=DDP: Filter not found for the desired type
Finally, going back to my experience with the sample videos, the "RPU FEL TEST DT DL P7" sample video did trip the Dolby Vision tag but the colors were strobing the entire time. Is there a reason for that? Even though it's giving that particular bug, the DV tag looks like progress to me. Again, thanks for all your help.
Amateur enthusiast
LG E8 55” ——-> Vizio M512A-H6
LG E8 55” ——-> Vizio M512A-H6
-
- Posts: 2090
- Joined: Mon Aug 05, 2019 7:12 pm
Re: Dolby Vision now possible through MP4 Mux.
Yes, you're missing the PLEX files/folder used for the 7.1 EC3 encoding...UNSCTrafalgar wrote: ↑Mon Jul 17, 2023 8:02 pmThe 7-2 script flow says it's for single-track output for older LG TVs. I tried it anyway and selected to convert the RPU to profile 8 and convert the TrueHD audio to DD+. The video track conversion seemed to have gone fine but I got multiple errors when trying to convert the audio:
Is there some file I need in the tools folder or some program I need to update?
FYI, you'll get better DV playback stability if you use the TS container (Workflow 4-2). Much faster remuxing/processing as well.
It's a homemade rpu test file and the strobing is normal.Finally, going back to my experience with the sample videos, the "RPU FEL TEST DT DL P7" sample video did trip the Dolby Vision tag but the colors were strobing the entire time. Is there a reason for that? Even though it's giving that particular bug, the DV tag looks like progress to me. Again, thanks for all your help.
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.
@RESET_1999 While converting mkv to ProRes, should I use "propres staxrip template.srip" or "ProRes 422 HQ QSCALE=1.srip"?
-
- Posts: 5
- Joined: Fri Jul 14, 2023 5:17 pm
Re: Dolby Vision now possible through MP4 Mux.
Gotcha. I think I'm on the way to getting it right but I'm not all the way there yet.Yes, you're missing the PLEX files/folder used for the 7.1 EC3 encoding...
I installed Plex Media Server and copied the "Plex Media Server" folder into "\DoVi_Scripts_TOOLS\tools". I also copied the PlexTrasncoder.exe file into the same "tools" folder and also EasyAudioEncoder.exe into every folder I can think of. Despite this, I haven't been able to get this error to stop popping up:
Code: Select all
Output #0, eac3, to 'C:\Users\UNSCTrafalgar\Downloads\Movie_Convert\DoVi_Scripts_TOOLS\Dune_7.1.eac3':
Metadata:
title : Dune
encoder : Lavf58.65.101
Stream #0:0: Audio: eac3, 48000 Hz, 7.1, flt (24 bit), 128 kb/s
Metadata:
encoder : Lavc58.117.101 eac3_eae
[eac3_eae @ 000001b3190d1180] EAE timeout! EAE not running, or wrong folder? Could not read 'C:\Users\UNSCTrafalgar\Downloads\Movie_Convert\DoVi_Scripts_TOOLS\\EAE\Convert to Dolby Digital Plus (Max Quality - 1024 kbps)\frame-6232-0-0.ec3'
[eac3_eae @ 000001b3190d1180] error reading output
Audio encoding failed
[eac3_eae @ 000001b3190d1180] EAE timeout! EAE not running, or wrong folder? Could not read 'C:\Users\UNSCTrafalgar\Downloads\Movie_Convert\DoVi_Scripts_TOOLS\\EAE\Convert to Dolby Digital Plus (Max Quality - 1024 kbps)\frame-6232-0-1.ec3'
Conversion failed!
ERROR: The process "EasyAudioEncoder.exe" not found.
mkvmerge v78.0 ('Running') 64-bit
Error: The type of file 'C:\Users\UNSCTrafalgar\Downloads\Movie_Convert\DoVi_Scripts_TOOLS\Dune_7.1.ec3' could not be recognized.
Amateur enthusiast
LG E8 55” ——-> Vizio M512A-H6
LG E8 55” ——-> Vizio M512A-H6
-
- Posts: 2090
- Joined: Mon Aug 05, 2019 7:12 pm
Re: Dolby Vision now possible through MP4 Mux.
all the tools are available on the dovi script GD link. download , extract and run the bat file.UNSCTrafalgar wrote: ↑Tue Jul 18, 2023 7:08 am
What content do I need to be putting where? I'm at a loss here.
"propres staxrip template.srip" has qscale to 4 if I remember correctly. Both are fine but qscale=4 will be faster and take less HDD space
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.
Hi RESET_1999, what do you mean when you say that TV-LED now works in Chromecast with Google TV but it's fake?
Thanks for your support
Thanks for your support