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.
No, only the RPU metadata is converted to profile 8.1.
Thanks. When ready, pls share your 21 build.
I see. Thanks for the explanation!
Can this conversion code under Kodi be found in one of the github repos?
Is there alternative way to have audio work? My makemkv only has one audio trackRESET_9999 wrote: ↑Thu Jan 12, 2023 4:35 pmYour input must have lossless audio(THD or DTS) i think. Also , no need to convert DDP audio for the x800m2.
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)
Feel free to test this 7.1.4.wav on ATV or QuickTime.sw5163 wrote: ↑Tue Jan 17, 2023 5:41 pmI 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.
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
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 . . .
update to the latest version of the script (beta).
Will do, thanks! I’ll report back later if that workedRESET_9999 wrote: ↑Sun Jan 22, 2023 2:36 pmupdate to the latest version of the script (beta).
some functions(like L6 editing) dont work with the latest Dovi_tool version and dovi_script 1.7.1 or older...
or downgrade dovi_tool
Here's a build on top of https://github.com/xbmc/xbmc/pull/22546, which also disables HDR10+.
Thank you very much. Your build works like a charm and the "Convert Dolby Vision for compatibility" is really amazing.quietvoid wrote: ↑Sun Jan 22, 2023 4:22 pmHere's a build on top of https://github.com/xbmc/xbmc/pull/22546, which also disables HDR10+.
https://mega.nz/file/pZln1IhT#QlMIyPOhW ... 6LidHO1Xqg
There's a setting in the Video section named "Convert Dolby Vision for compatibility".
It converts profile 7 only RPUs to profile 8.1, and also ignores the EL (in case of single track).
This solves the blank screens when playing FEL files on FireTV Stick (4K and 4K Max), and possibly also the Cube.
If anyone's interested in testing on other devices, I could do a 64 bits build.
I would love to test a 64 bit build! I'm not sure if its because the Shield isn't compatible with this version, but when I install the Plex addon I just get an endless loading bar with the Plex logoquietvoid wrote: ↑Sun Jan 22, 2023 4:22 pmHere's a build on top of https://github.com/xbmc/xbmc/pull/22546, which also disables HDR10+.
https://mega.nz/file/pZln1IhT#QlMIyPOhW ... 6LidHO1Xqg
There's a setting in the Video section named "Convert Dolby Vision for compatibility".
It converts profile 7 only RPUs to profile 8.1, and also ignores the EL (in case of single track).
This solves the blank screens when playing FEL files on FireTV Stick (4K and 4K Max), and possibly also the Cube.
If anyone's interested in testing on other devices, I could do a 64 bits build.