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 »

Videoman wrote:
Wed Jan 18, 2023 1:26 pm
I like the output to be:
- DoVi P8.1 video file
- All input audio files untouched/passthrough
- All input subtitles untouched/passthrough
- Muxed together in a MKV-container
Thank you in advance.
Edit the bat file at line 22 -----> "set MUX=NO"
and line 19 ----> "set container=MKV"

then at the end of the workflow 4-2, you will have the option to mux any audio/sub you want in mkvtoolnix.

yossSP wrote:
Tue Jan 17, 2023 4:47 pm
After a few more tests, the definitive code to detect spanish tracks is the next one:

Code: Select all

if "%spanish%"=="YES" set lang=Spanish& set langDG=spa& set lmp4=es-ES& set lmkv=es
sw5163 wrote:
Tue Jan 17, 2023 5:41 pm
https://www.audiosciencereview.com/foru ... 51/page-14
I think you can get "Fixed" eac3 atmos from TrueHD atmos now, if you somehow have Dolby Encoding Engine and Dolby Reference Player.
thanks guys! :)

I'm trying to install the script but I can't find a place to get the tools folder. Without it I keep getting "The system cannot find the path specified". Any ideas? @RESET_9999
Yes I wont share the tools pack anymore.

@New dovi_script users, PM to get info on where to get the tools.
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
fervidace
Posts: 1
Joined: Wed Jan 18, 2023 11:46 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by fervidace »

anyone know how to get the tools for the dovi scripts? I cant find reference on where to get them anywhere. i would pm @RESET_9999 but im new to the forum and cant send PMs
ragico
Posts: 265
Joined: Fri Feb 15, 2019 1:09 am

Re: Dolby Vision now possible through MP4 Mux.

Post by ragico »

@quietvoid
Please can you share your Kodi 20 build?
Many thanks
quietvoid
Posts: 377
Joined: Sun Apr 19, 2020 4:15 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by quietvoid »

ragico wrote:
Thu Jan 19, 2023 2:52 pm
@quietvoid
Please can you share your Kodi 20 build?
Many thanks
I don't have any new one as my latest added on the fly DoVi converting for profile 7, FEL.
It's v21 though, and not really ready.
danbez
Posts: 13
Joined: Tue Nov 27, 2018 6:08 am

Re: Dolby Vision now possible through MP4 Mux.

Post by danbez »

quietvoid wrote:
Thu Jan 19, 2023 5:54 pm
ragico wrote:
Thu Jan 19, 2023 2:52 pm
@quietvoid
Please can you share your Kodi 20 build?
Many thanks
I don't have any new one as my latest added on the fly DoVi converting for profile 7, FEL.
It's v21 though, and not really ready.
Can you share more details about the plan for this conversion, @quietvoid. It sounds really interesting. Are you using DoViBaker to achieve that on-the-fly conversion of FEL?
quietvoid
Posts: 377
Joined: Sun Apr 19, 2020 4:15 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by quietvoid »

danbez wrote:
Thu Jan 19, 2023 6:32 pm
Can you share more details about the plan for this conversion, @quietvoid. It sounds really interesting. Are you using DoViBaker to achieve that on-the-fly conversion of FEL?
No, only the RPU metadata is converted to profile 8.1.
This is mostly useful for people who can't play profile 7 FEL (FireTV devices show a blank screen).
I'm not sure of other useful scenarios, other than maybe stability for other devices.
ragico
Posts: 265
Joined: Fri Feb 15, 2019 1:09 am

Re: Dolby Vision now possible through MP4 Mux.

Post by ragico »

quietvoid wrote:
Thu Jan 19, 2023 5:54 pm
ragico wrote:
Thu Jan 19, 2023 2:52 pm
@quietvoid
Please can you share your Kodi 20 build?
Many thanks
I don't have any new one as my latest added on the fly DoVi converting for profile 7, FEL.
It's v21 though, and not really ready.
Thanks. When ready, pls share your 21 build.
danbez
Posts: 13
Joined: Tue Nov 27, 2018 6:08 am

Re: Dolby Vision now possible through MP4 Mux.

Post by danbez »

quietvoid wrote:
Thu Jan 19, 2023 8:52 pm
No, only the RPU metadata is converted to profile 8.1.
This is mostly useful for people who can't play profile 7 FEL (FireTV devices show a blank screen).
I'm not sure of other useful scenarios, other than maybe stability for other devices.
I see. Thanks for the explanation!
NiCE77
Posts: 86
Joined: Sat Mar 28, 2020 7:49 am

Re: Dolby Vision now possible through MP4 Mux.

Post by NiCE77 »

quietvoid wrote:
Thu Jan 19, 2023 5:54 pm
ragico wrote:
Thu Jan 19, 2023 2:52 pm
@quietvoid
Please can you share your Kodi 20 build?
Many thanks
I don't have any new one as my latest added on the fly DoVi converting for profile 7, FEL.
It's v21 though, and not really ready.
Can this conversion code under Kodi be found in one of the github repos?
quietvoid
Posts: 377
Joined: Sun Apr 19, 2020 4:15 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by quietvoid »

NiCE77 wrote:
Fri Jan 20, 2023 7:51 am
Can this conversion code under Kodi be found in one of the github repos?
https://github.com/quietvoid/xbmc/tree/libdovi_build
Edworld
Posts: 15
Joined: Sat Apr 09, 2016 2:50 am

Re: Dolby Vision now possible through MP4 Mux.

Post by Edworld »

RESET_9999 wrote:
Thu Jan 12, 2023 4:35 pm
Edworld wrote:
Thu Jan 12, 2023 4:32 am
I ran the tool using 4-3 once with DD+ and once without, and I get no audio with BTTF. The video does play in Dolby Vision.
Your input must have lossless audio(THD or DTS) i think. Also , no need to convert DDP audio for the x800m2.
Is there alternative way to have audio work? My makemkv only has one audio track

Thanks
RESET_9999
Posts: 2406
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

Edworld wrote:
Fri Jan 20, 2023 5:42 pm
Is there alternative way to have audio work? My makemkv only has one audio track

Thanks
you can disable the muxing at line 21 but later today i will post a new version that can mux all the audio/sub from the input (will only be for MKV though, tsmuxer is much more complicated)
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
sw5163
Posts: 146
Joined: Sat Jun 25, 2022 7:28 am

Re: Dolby Vision now possible through MP4 Mux.

Post by sw5163 »

sw5163 wrote:
Tue Jan 17, 2023 5:41 pm
I would also like to ask if there is a way to merge 12 single channel WAV files into 7.1.4 multi-channel PCM or WAV.
I tried FFmpeg's amerge but I don't know how to merge the over head channel.
To be honest, I don't know anything about audio encoding, and I have no idea what I'm doing.
Feel free to test this 7.1.4.wav on ATV or QuickTime.
5.1.4.wav

I'm still struggling on experimenting FFmpeg's command.
The current command I used to get that file

Code: Select all

ffmpeg -i "12_Channel_ID 1.wav" -i "12_Channel_ID 2.wav" -i "12_Channel_ID 3.wav" -i "12_Channel_ID 4.wav" -i "12_Channel_ID 5.wav" -i "12_Channel_ID 6.wav" -i "12_Channel_ID 7.wav" -i "12_Channel_ID 8.wav" -i "12_Channel_ID 9.wav" -i "12_Channel_ID 10.wav" -i "12_Channel_ID 11.wav" -i "12_Channel_ID 12.wav" -c pcm_s32le -filter_complex "join=inputs=12:channel_layout=7.1+TFL+TFR+TBL+TBR:map=0.0-FL|1.0-FR|2.0-FC|3.0-LFE|4.0-BL|5.0-BR|6.0-SL|7.0-SR|8.0-TFL|9.0-TFR|10.0-TBL|11.0-TBR" 7.1.4.wav
The last four "front left, front right, back left, back right" should play in TFL, TFR, TBL, TBR.
ChromePlanet
Posts: 8
Joined: Sat Dec 03, 2022 11:24 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by ChromePlanet »

Forgive me if I sound like an idiot, but I thought I was already getting Dolby Vision-encoded MKV files from MakeMKV. They are showing up in my Plex Media Server as having both Dolby Vision and HDR-10. This was ripped from MakeMKV with an LG drive to a TS folder for archiving, then used MakeMKV again to rip the TS folder into MKV files.
Attachments
Screenshot 2023-01-21 at 7.58.35 AM.png
Screenshot 2023-01-21 at 7.58.35 AM.png (1.85 MiB) Viewed 40983 times
DylanValenti
Posts: 36
Joined: Sat Dec 19, 2020 9:42 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by DylanValenti »

Anyone know what I'm doing wrong here?

Code: Select all

 Choose a mode...

1) MODE.I=  DoVi Convert/Edit/Sync/Inject two inputs (P8 Hybrid maker)
2) MODE.F=  DoVi Fix/Extract/Info/Edit/Verify 1 input (doesn't convert the profile)
3) MODE.H=  DoVi Maker (from HDR10 madVR or HDR10plus)
4) MODE.P=  Profile 7 Input (MKV/BDMV)
5) MODE.B=  Dovi Batch tsMuxer: MKV/MP4 to TS
6) MODE.M=  MIXED: Remover/Measurer/Plotter/Audio/Player and more...
7) MODE.M4= MP4 Workflows
8) Exit

Choice? [1,2,3,4,5,6,7,8]?1
                                         *********************
                                         * CHOOSE A WORKFLOW *
                                         *********************

1) Workflow.1= Base Layer file + ST P5/P8/P7 DoVi file (can also mux and convert audio)
2) Workflow.2= Batch convert/inject to Profile 8 up to 13 Profile 5 videos + MUX
3) Workflow.3= back to the main menu

Choice? [1,2,3]?1
A subdirectory or file C:\Users\dylanvalenti\Desktop\Script_Stuff\TEMP_folder already exists.
--------------------------------------------------------------------------------------------------
-- This workflow inject / convert / edit DV from any P5/P8/P7 source to an HDR10 BL
-- Can do BL + P5_DV / BL + P8_DV / BL + P7_DV and the output will always be Profile 8
-- Can Crop, Edit L5/L6/min.max_pq and Resync
-- If selected, it converts THD(if present) to THD+ac3 and lossless audio to DDP(can be disable)
-- Will mux to TS if you decide to convert the audio.(can be disable)
-- Input can be MKV/TS/M2TS/MP4/HEVC/H265/RPU/XML
--------------------------------------------------------------------------------------------------
  Drag and drop an HDR10 file(BL)(MKV/TS/M2TS/HEVC/H265)and press enter...
"Z:\DV Hybrid Projects\Baby_Driver\Baby_Driver_HDR10.hevc"
  Drag and drop a Dolby Vision file (RPU/XML/MKV/MP4/TS/M2TS/HEVC/H265) and press enter...
"Z:\DV Hybrid Projects\Baby_Driver\Baby_Driver_DV.hevc"
  Do you want to re-sync the RPU? choices are duplicate=d or remove=r and/or press enter...

  Do you want to edit L6 and source max/min_pq... y or n ? (Default=n) and/or press enter...
y
mkvmerge v71.1.0 ('Fortitude') 64-bit
'Z:\DV Hybrid Projects\Baby_Driver\Baby_Driver_DV.hevc': Using the demultiplexer for the format 'HEVC/H.265'.
'Z:\DV Hybrid Projects\Baby_Driver\Baby_Driver_DV.hevc' track 0: Using the output module for the format 'HEVC/H.265 (unframed)'.
The file 'C:\Users\dylanvalenti\Desktop\Script_Stuff\TEMP_folder\1.mkv' has been opened for writing.
'Z:\DV Hybrid Projects\Baby_Driver\Baby_Driver_DV.hevc' track 0: Extracted the aspect ratio information from the video bitstream and set the display dimensions to 3840/2160.
Progress: 0%
The cue entries (the index) are being written...
Multiplexing took 0 seconds.
Extracting track 0 with the CodecID 'V_MPEGH/ISO/HEVC' to the file 'C:\Users\dylanvalenti\Desktop\Script_Stuff\TEMP_folder\temp.vid.hevc'. Container format: HEVC/H.265 elementary stream
Progress: 100%
Reordering metadata... Done.
  Do you want to crop RPU... y or n ? (Default=n) and/or press enter...



        **************
        * INPUT INFO *
        **************

--> L5 Left offset: L5_is_missing_you_should_edit...
--> L5 Right offset: L5_is_missing_you_should_edit...
--> L5 Top offset: L5_is_missing_you_should_edit...
--> L5 Bottom offset: L5_is_missing_you_should_edit...
--> DoVi Profile: 8
--> L2 trims: YES (100nits)
--> DoVi source min_pq: 50 nits
--> DoVi source max_pq: 4000 nits
--> HDR10 BL input MDL: "min: 0.0050 cd/m2, max: 4000 cd/m2"


  Manual or Auto L5... a or m ? and/or press enter...
m
  Set the left border... choose a number and press enter...
0
  Set the right border... choose a number and press enter...
0
  Set the top border... choose a number and press enter...
276
  Set the bottom border... choose a number and press enter...
276
Parsing RPU file...
Exporting metadata...
Done.
[{"dovi_profile":8
Reordering metadata... Done.
min: 0.0050 cd/m2, max: 4000 cd/m2
Error: unknown field `length`, expected one of `mode`, `remove_cmv4`, `remove_mapping`, `min_pq`, `max_pq`, `active_area`, `remove`, `duplicate`, `scene_cuts`, `level6`, `level9`, `level11`, `level255`, `source_rpu`, `rpu_levels` at line 5 column 12
Press any key to continue . . .
Post Reply