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 »

dapope wrote:
Mon Jul 17, 2023 12:41 am
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!
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 baker



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.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
RESET_9999
Posts: 2406
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

Trees wrote:
Mon Jul 17, 2023 7:55 am
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.
no idea.
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?
because they are PGS, you need external SRT.
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
RESET_9999
Posts: 2406
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

UNSCTrafalgar wrote:
Mon Jul 17, 2023 7:17 am
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.
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.
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
UNSCTrafalgar
Posts: 5
Joined: Fri Jul 14, 2023 5:17 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by UNSCTrafalgar »

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.
Thanks for the help! A few follow-up questions:

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.
Later on, when the RPU was converted and injected, I got the following error. I think this is when the script tried to mux the audio track into the file:

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
Is there some file I need in the tools folder or some program I need to update?

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 8)

LG E8 55” ——-> Vizio M512A-H6
RESET_9999
Posts: 2406
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

UNSCTrafalgar wrote:
Mon Jul 17, 2023 8:02 pm
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:
Is there some file I need in the tools folder or some program I need to update?
Yes, you're missing the PLEX files/folder used for the 7.1 EC3 encoding...
FYI, you'll get better DV playback stability if you use the TS container (Workflow 4-2). Much faster remuxing/processing as well.
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.
It's a homemade rpu test file and the strobing is normal.
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
thirdmoon
Posts: 35
Joined: Mon Jul 03, 2023 6:17 am

Re: Dolby Vision now possible through MP4 Mux.

Post by thirdmoon »

@RESET_1999 While converting mkv to ProRes, should I use "propres staxrip template.srip" or "ProRes 422 HQ QSCALE=1.srip"?
UNSCTrafalgar
Posts: 5
Joined: Fri Jul 14, 2023 5:17 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by UNSCTrafalgar »

Yes, you're missing the PLEX files/folder used for the 7.1 EC3 encoding...
Gotcha. I think I'm on the way to getting it right but I'm not all the way there yet.

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.
What content do I need to be putting where? I'm at a loss here. Thanks again for your help so far.
Amateur enthusiast 8)

LG E8 55” ——-> Vizio M512A-H6
RESET_9999
Posts: 2406
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

UNSCTrafalgar wrote:
Tue Jul 18, 2023 7:08 am

What content do I need to be putting where? I'm at a loss here.
all the tools are available on the dovi script GD link. download , extract and run the bat file.
thirdmoon wrote:
Tue Jul 18, 2023 4:43 am
@RESET_1999 While converting mkv to ProRes, should I use "propres staxrip template.srip" or "ProRes 422 HQ QSCALE=1.srip"?
"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.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
yossSP
Posts: 56
Joined: Tue Feb 16, 2021 7:42 am

Re: Dolby Vision now possible through MP4 Mux.

Post by yossSP »

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 :)
Vellichroma9
Posts: 7
Joined: Fri Jun 23, 2023 12:18 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by Vellichroma9 »

Hi guys. I wanted to reach out regarding an error message I encountered while attempting to use the "HDR10(madVR) or HDR10plus to DoVi maker" tool to create a DoVi (Dolby Vision) file from an HDR10 source (SMPTE ST 2086, HDR10 compatible).

I am using the "DoVi_Scripts_1.8.6_MKV" batch script and upon executing the process, I received the following error message:

Code: Select all

Parsing RPU file...
Error: The system cannot find the file specified. (os error 2)
MDL.max: 1000
MDL.min: 50
Maxcll: 1000
Maxfall: 998
injecting RPU-L6-L5.bin ...
Parsing RPU file...
Error: The system cannot find the file specified. (os error 2)
Error: The system cannot find the file specified. (os error 2)
mkvmerge v77.0 ('Elemental') 64-bit
Error: The type of file '\Mrs. Davis S01E01_P8_DoVi.hevc' could not be recognized.
Parsing RPU file...
Error: The system cannot find the file specified. (os error 2)
Parsing RPU file...
Error: The system cannot find the file specified. (os error 2)
"The script has completed"
I would appreciate any help in troubleshooting this issue. Thanks in advanced for any responses.
RESET_9999
Posts: 2406
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

yossSP wrote:
Tue Jul 18, 2023 11:56 pm
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 :)
meaning it's still the player doing the RPU processing.
https://www.youtube.com/watch?v=z8sgHR78Rdw
Vellichroma9 wrote:
Wed Jul 19, 2023 12:50 am
Hi guys. I wanted to reach out regarding an error message I encountered while attempting to use the "HDR10(madVR) or HDR10plus to DoVi maker" tool to create a DoVi (Dolby Vision) file from an HDR10 source (SMPTE ST 2086, HDR10 compatible).
I am using the "DoVi_Scripts_1.8.6_MKV" batch script and upon executing the process, I received the following error message:
Did you install madvr / lavfilters?
https://www.videohelp.com/software/LAV-Filters
https://www.videohelp.com/software/madVR
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
Vellichroma9
Posts: 7
Joined: Fri Jun 23, 2023 12:18 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by Vellichroma9 »

RESET_9999 wrote:
Wed Jul 19, 2023 1:29 am
Did you install madvr / lavfilters?
https://www.videohelp.com/software/LAV-Filters
https://www.videohelp.com/software/madVR
Hi RESET. Thanks for the reply. Yes, I have installed the latest version of madVR, however i cannot find the executable named madMeasureHDR.exe. As for the LAV-Filters, I also have them installed, however I am not sure If I am meant to place it in the tools folder.
RESET_9999
Posts: 2406
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

Vellichroma9 wrote:
Wed Jul 19, 2023 1:51 pm

Hi RESET. Thanks for the reply. Yes, I have installed the latest version of madVR, however i cannot find the executable named madMeasureHDR.exe. As for the LAV-Filters, I also have them installed, however I am not sure If I am meant to place it in the tools folder.
madMeasureHDR.exe is already included in the tool pack. As for lav filters, you just have to install it, and no need to be in the tools folder.
Anyway, you will get better DV generation if you use the new Dolby workflow in 3-1 (latest version of the script)
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
UNSCTrafalgar
Posts: 5
Joined: Fri Jul 14, 2023 5:17 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by UNSCTrafalgar »

all the tools are available on the dovi script GD link. download , extract and run the bat file.
Still having the EAE timeout issue. I don’t think it’s a case of a missing easyaudioencoder.exe or Plex file/folder. I’ve reinstalled the tools pack and script, made sure all tools are accounted for, and encountered the same issue converting TrueHD 7.1 to DD+ across macOS (running Parallels) and a normal Windows PC. Any thoughts on what this error could be? Thanks again for being so responsive.
Amateur enthusiast 8)

LG E8 55” ——-> Vizio M512A-H6
Vellichroma9
Posts: 7
Joined: Fri Jun 23, 2023 12:18 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by Vellichroma9 »

RESET_9999 wrote:
Wed Jul 19, 2023 2:27 pm
madMeasureHDR.exe is already included in the tool pack. As for lav filters, you just have to install it, and no need to be in the tools folder.
Anyway, you will get better DV generation if you use the new Dolby workflow in 3-1 (latest version of the script)
Thanks for the help. Using the latest script solved it! :D
Post Reply