Dolby Vision now possible through MP4 Mux.

Please post here for issues related to UHD discs
deadchip12
Posts: 379
Joined: Thu May 02, 2019 2:49 am

Re: Dolby Vision now possible through MP4 Mux.

Post by deadchip12 »

RESET_9999 wrote:
Fri Jun 10, 2022 12:07 pm
deadchip12 wrote:
Fri Jun 10, 2022 11:37 am
Hmm so the x700 can't play that...
Is there any other way to play these files?
you just need to add the core back into TrueHD, nothing new and it's been explained many many times in this thread. . you can do that with eac3to or thdmerge.
or with my script:

Image
Thanks. And I apologize as I didn't check this thread very often so there is a lot of info that I might miss.
realbabilu
Posts: 22
Joined: Sun May 15, 2022 4:23 am

Re: Dolby Vision now possible through MP4 Mux.

Post by realbabilu »

deadchip12 wrote:
Sat Jun 11, 2022 2:22 am
RESET_9999 wrote:
Fri Jun 10, 2022 12:07 pm
deadchip12 wrote:
Fri Jun 10, 2022 11:37 am
Hmm so the x700 can't play that...
Is there any other way to play these files?
you just need to add the core back into TrueHD, nothing new and it's been explained many many times in this thread. . you can do that with eac3to or thdmerge.
or with my script:

Image
Thanks. And I apologize as I didn't check this thread very often so there is a lot of info that I might miss.
Could you add also AAC/Opus 7.1 to DD 7.1 at 1024 kbps or 640 kbps. Oops it need DEE. i guess i will wait ffmpeg can do it.
grimm
Posts: 2
Joined: Sun Jun 12, 2022 7:06 am

Re: Dolby Vision now possible through MP4 Mux.

Post by grimm »

Hello, I have such a problem.

I have a movie ripped from ISO to mkv
Image
My LG G1 after converting it to MP4 only sees HDR I came across this topic and DoVi script. I' m familiar with the topic and it turns out that I need to convert the dovi dual layer (dvhe.07.06, BL + EL + RPU) to a single layer. I choose such options
Image
and finally I get an error in accessing the file because it is in use by another process. I just don't know what file it could be because nothing else is running.
Only theImage file is created in the dovi folder

Am I doing something wrong?
evilmatcher
Posts: 30
Joined: Fri Apr 24, 2020 9:17 am

Re: Dolby Vision now possible through MP4 Mux.

Post by evilmatcher »

RESET_9999 wrote:
Mon Jun 06, 2022 8:57 pm
Yes the disc must be decrypted but some of the latest tsmuxer versions had issues with DV, so maybe that's the problem?
I stopped updating it and I use an older version in my dovi.scripts tool pack and I have no issue.
The x800m2 and TS combination works like a charm. Damn it’s easy :D I don’t know if it is relevant for your spreadsheet overview, but the x800m2 works very well with a synology NAS and the synology mediaserver. I couldn’t find the serviio app for my NAS, so i tried it and it couldn’t be easier to set up. Thanks for all the help.
RESET_9999
Posts: 2406
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

grimm wrote:
Sun Jun 12, 2022 8:56 am
Am I doing something wrong?
Not sure why it says that but as long as Uncharted_P8.hevc is in your output folder, you can ignore that warning. It looks like the script couldn't delete the TEMP folder.
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
grimm
Posts: 2
Joined: Sun Jun 12, 2022 7:06 am

Re: Dolby Vision now possible through MP4 Mux.

Post by grimm »

Ok thanks for the info.
In the meantime, I figured out that the .hevc file is enough to run through MKVToolNix. It is a pity that the script does not mux at the end of the file .hevc to mkv / mp4, maybe it will be added in the next versions ...
RESET_9999
Posts: 2406
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

grimm wrote:
Mon Jun 13, 2022 2:55 pm
Ok thanks for the info.
In the meantime, I figured out that the .hevc file is enough to run through MKVToolNix. It is a pity that the script does not mux at the end of the file .hevc to mkv / mp4, maybe it will be added in the next versions ...
that mode/workflows will never mux because I don't know which audio track/subtitles you want to keep.
If you want muxing, choose the mp4muxer modes.
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
dwalme
Posts: 28
Joined: Sat Dec 10, 2011 2:38 am

Re: Dolby Vision now possible through MP4 Mux.

Post by dwalme »

Thank you RESET_9999 for packing up all the tools and creating the scripts to help automate common conversions.

I recently purchased an X800M2 for native Dolby Vision FEL playback. I have about 100 movies currently ripped with MakeMKV (1.15.3 or greater) to ST-DL Dolby Vision, TrueHD/Atmos (no AC3 Core), and PGS subtitle MKV files.

I am looking to convert these MKVs to DT-DL TS/M2TS with TrueHD/Atmos + Silent AC3 Core for FEL playback on the X800M2.

I can re-rip all of these from disc, but I think that will take a lot longer than doing conversions of the files I already have on my server.

Looks like I need to follow MODE.P7->MODE.3->Workflow.2 with each MKV file to get DT-DL video and the THD+AC3 audio file I need and then use tsMuxer to mux the pieces back together.

Is there a better workflow I should follow?
RESET_9999
Posts: 2406
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

dwalme wrote:
Mon Jun 13, 2022 6:43 pm
Looks like I need to follow MODE.P7->MODE.3->Workflow.2
Is there a better workflow I should follow?
No, that's the correct workflow you want to use.
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
MastaG
Posts: 98
Joined: Thu Aug 08, 2019 11:40 am

Re: Dolby Vision now possible through MP4 Mux.

Post by MastaG »

I still have some friends with the older 6-series LG OLED models and it seems they only play DV from MP4.
TS/M2TS doesn't work for these models.
Also the same limitations like only lossy audio supported (e)ac3 and no PGS subs (if that's even supported for MP4 containers).
External .srt work.
Tested using both Plex and Emby.

So I guess if you're sharing your videos over internet with Plex or Emby (and they don't exceed bitrate of 100mbit), Profile 8 with MP4/eac3 and external subs is most compatible across all devices.
Also I've been comparing FEL with MEL (profile 8) and the difference aint that much for most titles.

It's only too bad mp4muxer is such a slow application compared to TSMuxer.
I hope in the future somebody could optimize it a bit (making use of multiple threads for example).
Mattl0
Posts: 37
Joined: Mon Apr 26, 2021 6:57 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by Mattl0 »

Ho do you know guys what level (l1-l2-l9 etc) the dolbyvision player or sink is able to decode and transmit/or play?

Here I have a lg c1…. With sony x800m2 .

I guess the sony may not be able to decode all the level?

I didn’t hear about those levels exept here 2 years ago or less
deadchip12
Posts: 379
Joined: Thu May 02, 2019 2:49 am

Re: Dolby Vision now possible through MP4 Mux.

Post by deadchip12 »

Today when I mux an mkv file that has DD+ track into ts file, the audio and video of that ts file is out of sync. Other similar mkv files with DD+ track don't have this problem, only this particular file. So weird. Does anyone know a fix?
realbabilu
Posts: 22
Joined: Sun May 15, 2022 4:23 am

Re: Dolby Vision now possible through MP4 Mux.

Post by realbabilu »

MastaG wrote:
Mon Jun 13, 2022 8:41 pm
I still have some friends with the older 6-series LG OLED models and it seems they only play DV from MP4.
TS/M2TS doesn't work for these models.
Also the same limitations like only lossy audio supported (e)ac3 and no PGS subs (if that's even supported for MP4 containers).
External .srt work.
Tested using both Plex and Emby.

So I guess if you're sharing your videos over internet with Plex or Emby (and they don't exceed bitrate of 100mbit), Profile 8 with MP4/eac3 and external subs is most compatible across all devices.
Also I've been comparing FEL with MEL (profile 8) and the difference aint that much for most titles.

It's only too bad mp4muxer is such a slow application compared to TSMuxer.
I hope in the future somebody could optimize it a bit (making use of multiple threads for example).
Yup mp4 usually works better, sync with DD+ audio. DV works perfectly in my TV. TrueHD not supported also with direct usb play.
Sometimes external PGS subs can be work together but must be using simple name like Ambulance 2022.mp4 and the subs with PGS is Ambulance 2022.sup with default external SRT or ASS subtitle for several (ENG use SRT, LOCAL languange using ASS, etc).
Try other muxer using Subler for Mac, that Dolby Vision/Atmos mp4 m4v muxer compatible other than Dolby software, but only works at mac/hackintosh. Maybe faster...
All my test TS result for usb TV direct playing still have outsync problem. Don't know why.
dwalme
Posts: 28
Joined: Sat Dec 10, 2011 2:38 am

Re: Dolby Vision now possible through MP4 Mux.

Post by dwalme »

I found an error in the script.

Running MODE.H->MODE.1->Workflow.1

This generates a P8 file from an HDR10 movie using MadVR.

If I use an MKV as a source the script runs correctly.

If I use a .TS file as source the scripts has multiple errors. Looks like it may not be demuxing the HEVC track correctly or something. I get a 0 byte HEVC as output.

This is with both v1.3.6 and v1.3.7.

Code: Select all

                                      ****************************
                                      * DoVi_Scripts @RESET_9999 *
                                      ***************************
.
***************************************************************************************************************
 *The output folder by default is the "Dolby-Vision-Tools" Folder, you can change it by editing this bat file
 *Do not move the bat file out of the "Dolby-Vision-Tools" Folder. Make a shortcut instead.
 *Select a mode, a workflow. Drag and drop an input file and wait...
***************************************************************************************************************
.
                                           *****************
                                           * CHOOSE A MODE *
                                           *****************
.
Main Menu
1) MODE.XP= XML & RPU injector
2) MODE.P5= Profile 5 input to Profile 8 HYBRID MAKER
3) MODE.P7= Profile 7 input (BD/MKV/Convert/Mux/Demux/Inject)
4) MODE.H=  HDR10(madVR) and HDR10plus to DoVi maker
5) MODE.B=  Batch muxer: MKV to TS (DV/DD+/SUB)
6) MODE.M=  MIXED: Remover/Audio/Playlist/MPV/Measurer/HDR10plus_injector and more...
7) MODE.F=  RPU Fixer/Editor/Reader/Extractor/Sync-Inspect/
8) MODE.M4= MP4_muxer(P5/P7/P8)
9) Exit

Choice? [1,2,3,4,5,6,7,8,9]?4
                                           *****************
                                           * CHOOSE A MODE *
                                           *****************
ECHO is off.
.
1) MODE.1= HDR10(madVR) or HDR10plus to DoVi maker
2) MODE.2= Batch convert up to 13 HDR10plus videos to DoVi
3) MODE.3= Inject DV from existing measurement file
4) MODE.4= Batch measure a folder with mkv HDR10 files (credit to manni)
5) MODE.5= Back to main menu

Choice? [1,2,3,4,5]?1
                                         *********************
                                         * CHOOSE A WORKFLOW *
                                         *********************
.
1) Workflow.1= Convert 1 video + AUTO L5
2) Workflow.2= Convert 1 video + MANUAL L5
3) Workflow.3= Convert 1 video + MANUAL L5 + TrueHD_to_TrueHD.ac3 + DDP_1536kbps
4) Workflow.4= Convert 1 video + MANUAL L5 + TrueHD_to_TrueHD.ac3
5) Workflow.5= Convert 1 video + MANUAL L5 + DDP_1536kbps
6) Workflow.6= Convert 1 video + AUTO L5 + REMOVE HDR10plus (fire stick TV)
7) Workflow.7= Back to main menu

Choice? [1,2,3,4,5,6,7]?1
----------------------------------------------------------------------------------------------------
--This workflow will convert an HDR10 or HDR10plus video to DoVi and set L5 automatically
--The black bars detection may not be perfectly accurate. It's maybe better to measure them manually
----------------------------------------------------------------------------------------------------
Drag and drop your HDR10 or HDR10plus MKV/MP4/TS file and press enter..."C:\D\Dolby-Vision-Tools\A Few Good Men (1992).2160p.HDR10.h265.TrueHD-Atmos.8ch.ts"
Do you want to crop RPU... y or n ? (y when HDR10-BL is cropped) and/or press enter...n
Measuring the HDR10 video letterbox...
min: 0.0050 cd/m2, max: 4000 cd/m2
tsMuxeR version git-f4fa419. github.com/justdan96/tsMuxer
100.0% complete
Processed 0 video frames
100.0% complete
Flushing write buffer
Demux complete.
Demuxing time: 15 sec
SMPTE ST 2086
HDR10plus metadata not present. Generating DoVi from HDR10 with madVR...
Measuring video file "C:\D\Dolby-Vision-Tools\A Few Good Men (1992).2160p.HDR10.h265.TrueHD-Atmos.8ch.ts" using D3D11 (native)...
Metadata:
  Mastering display luminance: 0.005/4000, gamut: 0.68 0.32, 0.15 0.06, 0.265 0.69, 0.3127 0.329
  MaxCLL: 10000, MaxFALL: 424 nits
Measurements:
  Frames: 198552, MaxCLL 100%: 9500, 99.9%: 5486, MaxFALL: 419, AvgFALL: 23, AvgFMLL: 944 nits
Parsing madVR measurement file...
Error: The system cannot find the file specified. (os error 2)
Press any key to continue . . .
EditConfig {
    mode: 0,
    remove_cmv4: false,
    remove_mapping: false,
    active_area: Some(
        ActiveArea {
            crop: false,
            drop_l5: None,
            presets: Some(
                [
                    ActiveAreaOffsets {
                        id: 0,
                        left: 0,
                        right: 0,
                        top: 0,
                        bottom: 0,
                    },
                ],
            ),
            edits: Some(
                {
                    "all": 0,
                },
            ),
        },
    ),
    remove: None,
    duplicate: None,
    min_pq: None,
    max_pq: None,
    level6: None,
    level9: None,
    level11: None,
}
Parsing RPU file...
Error: The system cannot find the file specified. (os error 2)
EditConfig {
    mode: 0,
    remove_cmv4: false,
    remove_mapping: false,
    active_area: None,
    remove: None,
    duplicate: None,
    min_pq: None,
    max_pq: None,
    level6: Some(
        ExtMetadataBlockLevel6 {
            max_display_mastering_luminance: 4000,
            min_display_mastering_luminance: 50,
            max_content_light_level: 10000,
            max_frame_average_light_level: 424,
        },
    ),
    level9: None,
    level11: None,
}
Parsing RPU file...
Error: The system cannot find the file specified. (os error 2)
"left": 0
"right": 0
"top": 0
"bottom": 0
MDL.max: 4000
MDL.min: 50
Maxcll: 10000
Maxfall: 424
Display P3
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."
Press any key to continue . . .
RESET_9999
Posts: 2406
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

dwalme wrote:
Thu Jun 16, 2022 1:23 am
I found an error in the script.
Running MODE.H->MODE.1->Workflow.1
This generates a P8 file from an HDR10 movie using MadVR.
try 1.3.8
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
Post Reply