I use it to fix itunes web-dl with invalid L6 ( MDL > 10 000)ArArdin wrote: Thu Jun 16, 2022 12:15 pm @RESET_9999
My apologies if this has been answered earlier. As for your tools folder, can you enlighten me as to what the "dovi_tool.fix.exe" file does?
Dolby Vision now possible through MP4 Mux.
-
RESET_9999
- Posts: 2421
- Joined: Mon Aug 05, 2019 7:12 pm
Re: Dolby Vision now possible through MP4 Mux.
-
dwalme
- Posts: 28
- Joined: Sat Dec 10, 2011 2:38 am
Re: Dolby Vision now possible through MP4 Mux.
I end up with a 0 byte P8_DoVi.hevc file in the output directory.RESET_9999 wrote: Thu Jun 16, 2022 10:55 am?
looks like everything went fine.
You can ignore the ffmpeg warnings in the beginning because, in the "auto L5" workflows, detectborder.exe(letterbox measurer) doesnt work with TS/M2TS input so I use ffmpeg to split and mux a 5 min MKV samples and I can see that your L5 was correctly measured.
I see this warning:
Code: Select all
Warning: mismatched lengths. video 0, RPU 198552
Metadata will be skipped at the end to match video length
EDIT: Watching it run it seems the demux of the main HEVC track with tsMuxer is not happening correctly. I see a 0 byte *.track_4117_und.hevc in the TEMP dir. I think after tsMuxeR says 100% complete that this would be the full video HEVC.
Only takes 14 sec
Code: Select all
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: 14 sec
-
RESET_9999
- Posts: 2421
- Joined: Mon Aug 05, 2019 7:12 pm
Re: Dolby Vision now possible through MP4 Mux.
I don't know, I can't reproduce with the sample i tried. Let me try a complete movie.
Code: Select all
----------------------------------------------------------------------------------------------------
--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...D:\hdr10.ts
Do you want to crop RPU... y or n ? (y when HDR10-BL is cropped) and/or press enter...
ffmpeg version 5.0.1-full_build-www.gyan.dev Copyright (c) 2000-2022 the FFmpeg developers
built with gcc 11.2.0 (Rev7, Built by MSYS2 project)
configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-bzlib --enable-lzma --enable-libsnappy --enable-zlib --enable-librist --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2 --enable-libdav1d --enable-libdavs2 --enable-libuavs3d --enable-libzvbi --enable-librav1e --enable-libsvtav1 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxvid --enable-libaom --enable-libopenjpeg --enable-libvpx --enable-mediafoundation --enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi --enable-liblensfun --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-libshaderc --enable-vulkan --enable-libplacebo --enable-opencl --enable-libcdio --enable-libgme --enable-libmodplug --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libshine --enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc --enable-libilbc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite --enable-libmysofa --enable-librubberband --enable-libsoxr --enable-chromaprint
libavutil 57. 17.100 / 57. 17.100
libavcodec 59. 18.100 / 59. 18.100
libavformat 59. 16.100 / 59. 16.100
libavdevice 59. 4.100 / 59. 4.100
libavfilter 8. 24.100 / 8. 24.100
libswscale 6. 4.100 / 6. 4.100
libswresample 4. 3.100 / 4. 3.100
libpostproc 56. 3.100 / 56. 3.100
Input #0, mpegts, from 'D:\hdr10.ts':
Duration: 00:07:08.39, start: 4200.000000, bitrate: 39049 kb/s
Program 1
Stream #0:0[0x1015](und): Video: hevc (Main 10) (HDMV / 0x564D4448), yuv420p10le(tv, bt2020nc/bt2020/smpte2084), 3840x2160, 23.98 fps, 23.98 tbr, 90k tbn
Side data:
DOVI configuration record: version: 1.0, profile: 8, level: 6, rpu flag: 1, el flag: 0, bl flag: 1, compatibility id: 1
Output #0, matroska, to 'D:\TEMP\chunk.mkv':
Metadata:
encoder : Lavf59.16.100
Stream #0:0(und): Video: hevc (Main 10) (HDMV / 0x564D4448), yuv420p10le(tv, bt2020nc/bt2020/smpte2084), 3840x2160, q=2-31, 23.98 fps, 23.98 tbr, 1k tbn
Side data:
DOVI configuration record: version: 1.0, profile: 8, level: 6, rpu flag: 1, el flag: 0, bl flag: 1, compatibility id: 1
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Press [q] to stop, [?] for help
frame= 6946 fps=882 q=-1.0 Lsize= 1387475kB time=00:04:59.96 bitrate=37891.5kbits/s speed=38.1x
video:1387407kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.004931%
Measuring the HDR10 video letterbox...
min: 0.0001 cd/m2, max: 1000 cd/m2
tsMuxeR version git-f4fa419. github.com/justdan96/tsMuxer
HEVC muxing fps is not set. Get fps from stream. Value: 23.976
B-pyramid level 1 detected. Shift DTS to 2 frames
99.0% complete
Processed 10273 video frames
100.0% complete
Flushing write buffer
Demux complete.
Demuxing time: 4 sec
Dolby Vision / SMPTE ST 2086
HDR10plus metadata not present. Generating DoVi from HDR10 with madVR...
Measuring video file "D:\hdr10.ts" using D3D11 (native)...
Metadata:
Mastering display luminance: 0.0001/1000, gamut: 0.68 0.32, 0.15 0.06, 0.265 0.69, 0.3127 0.329
MaxCLL: 0, MaxFALL: 0 nits
Measurements:
Frames: 10271, MaxCLL 100%: 623, 99.9%: 598, MaxFALL: 250, AvgFALL: 44, AvgFMLL: 416 nits
Parsing madVR measurement file...
Generating metadata: Profile 8.1 (HDR10)...
Generated metadata for 10271 frames
Done.
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: 276,
bottom: 276,
},
],
),
edits: Some(
{
"all": 0,
},
),
},
),
remove: None,
duplicate: None,
min_pq: None,
max_pq: None,
level6: None,
level9: None,
level11: None,
}
Parsing RPU file...
Editing active area offsets...
Final metadata length: 10271
Writing RPU file...
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: 1000,
min_display_mastering_luminance: 1,
max_content_light_level: 0,
max_frame_average_light_level: 0,
},
),
level9: None,
level11: None,
}
Parsing RPU file...
Final metadata length: 10271
Writing RPU file...
"left": 0
"right": 0
"top": 276
"bottom": 276
MDL.max: 1000
MDL.min: 1
Maxcll: 0
Maxfall: 0
Display P3
injecting RPU-L6-L5.bin ...
Parsing RPU file...
Processing input video for frame order info...
Warning: Input file already has RPUs, they will be replaced.
Warning: mismatched lengths. video 10274, RPU 10271
Metadata will be duplicated at the end to match video length
Rewriting file with interleaved RPU NALs..
Parsing RPU file...
{
"dovi_profile": 8,
"header": {
"rpu_nal_prefix": 25,
"rpu_type": 2,
"rpu_format": 18,
"vdr_rpu_profile": 1,
"vdr_rpu_level": 0,
"vdr_seq_info_present_flag": true,
"chroma_resampling_explicit_filter_flag": false,
"coefficient_data_type": 0,
"coefficient_log2_denom": 23,
"vdr_rpu_normalized_idc": 1,
"bl_video_full_range_flag": false,
"bl_bit_depth_minus8": 2,
"el_bit_depth_minus8": 2,
"vdr_bit_depth_minus_8": 4,
"spatial_resampling_filter_flag": false,
"reserved_zero_3bits": 0,
"el_spatial_resampling_filter_flag": false,
"disable_residual_flag": true,
"vdr_dm_metadata_present_flag": true,
"use_prev_vdr_rpu_flag": false,
"prev_vdr_rpu_id": 0,
"vdr_rpu_id": 0,
"mapping_color_space": 0,
"mapping_chroma_format_idc": 0,
"num_pivots_minus_2": [
0,
0,
0
],
"pred_pivot_value": [
[
0,
1023
],
[
0,
1023
],
[
0,
1023
]
],
"nlq_method_idc": null,
"nlq_num_pivots_minus2": null,
"nlq_pred_pivot_value": null,
"num_x_partitions_minus1": 0,
"num_y_partitions_minus1": 0
},
"rpu_data_mapping": {
"mapping_idc": [
[
0
],
[
0
],
[
0
]
],
"mapping_param_pred_flag": [
[
false
],
[
false
],
[
false
]
],
"num_mapping_param_predictors": [
[
0
],
[
0
],
[
0
]
],
"diff_pred_part_idx_mapping_minus1": [
[],
[],
[]
],
"poly_order_minus1": [
[
0
],
[
0
],
[
0
]
],
"linear_interp_flag": [
[
false
],
[
false
],
[
false
]
],
"pred_linear_interp_value_int": [
[],
[],
[]
],
"pred_linear_interp_value": [
[],
[],
[]
],
"poly_coef_int": [
[
[
0,
1
]
],
[
[
0,
1
]
],
[
[
0,
1
]
]
],
"poly_coef": [
[
[
0,
0
]
],
[
[
0,
0
]
],
[
[
0,
0
]
]
],
"mmr_order_minus1": [
[],
[],
[]
],
"mmr_constant_int": [
[],
[],
[]
],
"mmr_constant": [
[],
[],
[]
],
"mmr_coef_int": [
[],
[],
[]
],
"mmr_coef": [
[],
[],
[]
]
},
"vdr_dm_data": {
"compressed": false,
"affected_dm_metadata_id": 0,
"current_dm_metadata_id": 0,
"scene_refresh_flag": 0,
"ycc_to_rgb_coef0": 9574,
"ycc_to_rgb_coef1": 0,
"ycc_to_rgb_coef2": 13802,
"ycc_to_rgb_coef3": 9574,
"ycc_to_rgb_coef4": -1540,
"ycc_to_rgb_coef5": -5348,
"ycc_to_rgb_coef6": 9574,
"ycc_to_rgb_coef7": 17610,
"ycc_to_rgb_coef8": 0,
"ycc_to_rgb_offset0": 16777216,
"ycc_to_rgb_offset1": 134217728,
"ycc_to_rgb_offset2": 134217728,
"rgb_to_lms_coef0": 7222,
"rgb_to_lms_coef1": 8771,
"rgb_to_lms_coef2": 390,
"rgb_to_lms_coef3": 2654,
"rgb_to_lms_coef4": 12430,
"rgb_to_lms_coef5": 1300,
"rgb_to_lms_coef6": 0,
"rgb_to_lms_coef7": 422,
"rgb_to_lms_coef8": 15962,
"signal_eotf": 65535,
"signal_eotf_param0": 0,
"signal_eotf_param1": 0,
"signal_eotf_param2": 0,
"signal_bit_depth": 12,
"signal_color_space": 0,
"signal_chroma_format": 0,
"signal_full_range_flag": 1,
"source_min_pq": 7,
"source_max_pq": 3079,
"source_diagonal": 42,
"cmv29_metadata": {
"num_ext_blocks": 3,
"ext_metadata_blocks": [
{
"Level1": {
"min_pq": 0,
"max_pq": 2708,
"avg_pq": 1141
}
},
{
"Level5": {
"active_area_left_offset": 0,
"active_area_right_offset": 0,
"active_area_top_offset": 276,
"active_area_bottom_offset": 276
}
},
{
"Level6": {
"max_display_mastering_luminance": 1000,
"min_display_mastering_luminance": 1,
"max_content_light_level": 0,
"max_frame_average_light_level": 0
}
}
]
},
"cmv40_metadata": {
"num_ext_blocks": 3,
"ext_metadata_blocks": [
{
"Level9": {
"length": 1,
"source_primary_index": 0
}
},
{
"Level11": {
"content_type": 1,
"whitepoint": 0,
"reference_mode_flag": true,
"reserved_byte2": 0,
"reserved_byte3": 0
}
},
{
"Level254": {
"dm_mode": 0,
"dm_version_index": 2
}
}
]
}
},
"rpu_data_crc32": 867262424
}
"The script has completed."-
RESET_9999
- Posts: 2421
- Joined: Mon Aug 05, 2019 7:12 pm
Re: Dolby Vision now possible through MP4 Mux.
Ha, I know why. It's related to tsmuxer track id 4117 vs 4113...
will upload a new version soon...
will upload a new version soon...
-
RESET_9999
- Posts: 2421
- Joined: Mon Aug 05, 2019 7:12 pm
Re: Dolby Vision now possible through MP4 Mux.
please try 1.3.9
-
dwalme
- Posts: 28
- Joined: Sat Dec 10, 2011 2:38 am
Re: Dolby Vision now possible through MP4 Mux.
1.3.9 works now. Thank you.
-
mad83
- Posts: 7
- Joined: Tue Oct 26, 2021 12:35 pm
Re: Dolby Vision now possible through MP4 Mux.
Hi RESET_9999,
Is there any option available for your tool to convert web-dl p5 to HDR10 Plus?
-
mad83
- Posts: 7
- Joined: Tue Oct 26, 2021 12:35 pm
Re: Dolby Vision now possible through MP4 Mux.
@RESET_9999
Could it be possible to use your tool to combine HDR10+ with DolbyVision in one file, for example:
web-dl.HDR.2160p
web-dl.DV.2160p
final version would be:
new.web-dl.2160p.HDR.DV
Could it be possible to use your tool to combine HDR10+ with DolbyVision in one file, for example:
web-dl.HDR.2160p
web-dl.DV.2160p
final version would be:
new.web-dl.2160p.HDR.DV
-
RESET_9999
- Posts: 2421
- Joined: Mon Aug 05, 2019 7:12 pm
Re: Dolby Vision now possible through MP4 Mux.
No, I could be wrong but I don't think it's possible to convert DV to HDR10plus yet.mad83 wrote: Mon Jun 20, 2022 11:56 am Is there any option available for your tool to convert web-dl p5 to HDR10 Plus?
If your base layer is HDR10plus, you can inject DV and HDR10plus will be preserved.mad83 wrote: Mon Jun 20, 2022 12:04 pm Could it be possible to use your tool to combine HDR10+ with DolbyVision in one file, for example:
If you have an HDR10plus JSON metadata, you can inject it with my script (assuming it's in sync) and then, inject DV.
MODE.M --> MODE.6= HDR10plus INJECTOR
-
dwalme
- Posts: 28
- Joined: Sat Dec 10, 2011 2:38 am
Re: Dolby Vision now possible through MP4 Mux.
If you measure HDR10 with MadVR can you inject HDR10Plus and DV at the same time?RESET_9999 wrote: Mon Jun 20, 2022 1:31 pm
If your base layer is HDR10plus, you can inject DV and HDR10plus will be preserved.
If you have an HDR10plus JSON metadata, you can inject it with my script (assuming it's in sync) and then, inject DV.
MODE.M --> MODE.6= HDR10plus INJECTOR
-
RESET_9999
- Posts: 2421
- Joined: Mon Aug 05, 2019 7:12 pm
Re: Dolby Vision now possible through MP4 Mux.
At the same time no, there's only one mode that can inject HDR10plus. I don't have any hardware that supports HDR10plus so I don't care much about it personally.dwalme wrote: Mon Jun 20, 2022 1:56 pm If you measure HDR10 with MadVR can you inject HDR10Plus and DV at the same time?
If you have HDR10plus metadata, why do you want to measure HDR10 with madvr? Just convert HDR10plus to DoVi.
madvr dovi generation should only be used if you don't have any DV/hdr10plus source (or if the source luminance doesn't match).
-
dwalme
- Posts: 28
- Joined: Sat Dec 10, 2011 2:38 am
Re: Dolby Vision now possible through MP4 Mux.
In my example there is no HDR10+ information.RESET_9999 wrote: Mon Jun 20, 2022 2:10 pmAt the same time no, there's only one mode that can inject HDR10plus. I don't have any hardware that supports HDR10plus so I don't care much about it personally.dwalme wrote: Mon Jun 20, 2022 1:56 pm If you measure HDR10 with MadVR can you inject HDR10Plus and DV at the same time?
If you have HDR10plus metadata, why do you want to measure HDR10 with madvr? Just convert HDR10plus to DoVi.
madvr dovi generation should only be used if you don't have any DV/hdr10plus source (or if the source luminance doesn't match).
I am measuring many of my HDR10 movies with MadVR and creating DoVi Profile 8.1 files. Figured there would be no downside to also create HDR10+ metadata and inject at the same time for the most versatile files if that were possible.
I had a Samsung TV for a short time. HDR10+ would have been a benefit then.
-
realbabilu
- Posts: 22
- Joined: Sun May 15, 2022 4:23 am
Re: Dolby Vision now possible through MP4 Mux.
Hi @RESET99 and @yusesope
I was playing TrueHD sample lets say Dolby conductor sample lossless TrueHD https://thedigitaltheater.com/dolby-trailers/
I saw post 221 and yusesope https://forum.mrmc.tv/viewtopic.php?f=1 ... 310#p25425 thread to merge TrueHD into mp4 container.
For now, mp4 container is my best friend for smooth play and DV/Atmos detection.
it said it shall must done with mp4muxer for video stream+(aac/ec3/ac3/ac4) then mp4box for adding truehd + subs.
Since mp4muxer can't handle TrueHD muxing. Correct? That is question 1. What file extension if it can by mp4muxer.
Question :
2. Dovi Script can create TrueHD no ac3 to TrueHD+ac3 into single stream/file. WAY 6-3-3
However i cant mux the TrueHD+ac3 file with mp4box. It doesn't know what it is. right?
3. As i tested It will play if converted eac3to ac3 separately file, then muxed with TrueHD. anyway around?
I was playing TrueHD sample lets say Dolby conductor sample lossless TrueHD https://thedigitaltheater.com/dolby-trailers/
I saw post 221 and yusesope https://forum.mrmc.tv/viewtopic.php?f=1 ... 310#p25425 thread to merge TrueHD into mp4 container.
For now, mp4 container is my best friend for smooth play and DV/Atmos detection.
it said it shall must done with mp4muxer for video stream+(aac/ec3/ac3/ac4) then mp4box for adding truehd + subs.
Since mp4muxer can't handle TrueHD muxing. Correct? That is question 1. What file extension if it can by mp4muxer.
Code: Select all
mp4muxer.exe -i Dolby_Conductor_Lossless_ATMOS-thedigitaltheater_Track01.h264 -o Dolby_Conductor_Lossless_ATMOS-thedigitaltheater.mp4
MP4Box.exe -add Dolby_Conductor_Lossless_ATMOS-thedigitaltheater.mp4:rate=0 -add "Dolby_Conductor_Lossless_ATMOS-thedigitaltheater.mkv_ - 2 - TrueHD (Atmos), 7.1 channels, 48kHz.thd":disable -brand mp42isom -ab dby1 -no-iod Dolby_Conductor_Lossless_ATMOS-thedigitaltheater_TrueHD.mp4
Question :
2. Dovi Script can create TrueHD no ac3 to TrueHD+ac3 into single stream/file. WAY 6-3-3
However i cant mux the TrueHD+ac3 file with mp4box. It doesn't know what it is. right?
3. As i tested It will play if converted eac3to ac3 separately file, then muxed with TrueHD. anyway around?
Code: Select all
mp4muxer.exe -i Dolby_Conductor_Lossless_ATMOS-thedigitaltheater_Track01.h264 -i Dolby_Conductor_Lossless_ATMOS-thedigitaltheater_Track02.ac3 -o Dolby_Conductor_Lossless_ATMOS-thedigitaltheater.mp4
MP4Box.exe -add Dolby_Conductor_Lossless_ATMOS-thedigitaltheater.mp4:rate=0 -add dolby.ac3 -add "Dolby_Conductor_Lossless_ATMOS-thedigitaltheater.mkv_ - 2 - TrueHD (Atmos), 7.1 channels, 48kHz.thd":disable -brand mp42isom -ab dby1 -no-iod Dolby_Conductor_Lossless_ATMOS-thedigitaltheater_TrueHD_AC3.mp4
Last edited by realbabilu on Tue Jun 21, 2022 4:32 am, edited 1 time in total.
-
RESET_9999
- Posts: 2421
- Joined: Mon Aug 05, 2019 7:12 pm
Re: Dolby Vision now possible through MP4 Mux.
You can mux lossless audio in MP4 with my script if you demux hevc/audio first:realbabilu wrote: Mon Jun 20, 2022 8:53 pm Question :
2. Dovi Script can create TrueHD no ac3 to TrueHD+ac3 into single stream/file. WAY 6-3-3
MODE.M4 ===> MODE.1 ===> Workflow.1 ( 8-1-1)
IIRC, TrueHD track must not have an ac3 core to work.
Code: Select all
Format : mp43
Codec ID : mp43 (isom/mp43/dby1)
File size : 445 MiB
Duration : 7 min 1 s
Overall bit rate mode : Variable
Overall bit rate : 8 850 kb/s
Encoded date : UTC 2022-06-20 21:22:37
Tagged date : UTC 2022-06-20 21:22:37
Video
ID : 1
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main 10@L5.1@High
HDR format : Dolby Vision, Version 1.0, dvhe.08.06, BL+RPU / SMPTE ST 2086, HDR10 compatible
Codec ID : dvhe
Codec ID/Info : High Efficiency Video Coding with Dolby Vision
Duration : 2 min 1 s
Bit rate : 12.1 Mb/s
Width : 3 840 pixels
Height : 2 160 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 23.976 (24000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0 (Type 2)
Bit depth : 10 bits
Bits/(Pixel*Frame) : 0.061
Stream size : 176 MiB (40%)
Writing library : x265 3.5+37+12-4e46995bc:[Windows][GCC 11.2.0][64 bit] 10bit
Encoding settings : cpuid=1111039 / frame-threads=3 / numa-pools=8 / wpp / no-pmode / no-pme / no-psnr / no-ssim / log-level=2 / input-csp=1 / input-res=3840x2160 / interlace=0 / total-frames=158908 / level-idc=51 / high-tier=1 / uhd-bd=0 / ref=4 / no-allow-non-conformance / repeat-headers / annexb / aud / no-eob / no-eos / hrd / info / hash=0 / no-temporal-layers / open-gop / min-keyint=23 / keyint=250 / gop-lookahead=0 / bframes=4 / b-adapt=2 / b-pyramid / bframe-bias=0 / rc-lookahead=25 / lookahead-slices=4 / scenecut=40 / no-hist-scenecut / radl=0 / no-splice / no-intra-refresh / ctu=64 / min-cu-size=8 / rect / no-amp / max-tu-size=32 / tu-inter-depth=1 / tu-intra-depth=1 / limit-tu=0 / rdoq-level=2 / dynamic-rd=0.00 / no-ssim-rd / signhide / no-tskip / nr-intra=0 / nr-inter=0 / no-constrained-intra / strong-intra-smoothing / max-merge=3 / limit-refs=3 / limit-modes / me=3 / subme=3 / merange=57 / temporal-mvp / no-frame-dup / no-hme / weightp / no-weightb / no-analyze-src-pics / deblock=-2:-2 / no-sao / no-sao-non-deblock / rd=4 / selective-sao=0 / no-early-skip / rskip / no-fast-intra / no-tskip-fast / no-cu-lossless / no-b-intra / no-splitrd-skip / rdpenalty=0 / psy-rd=2.00 / psy-rdoq=1.00 / no-rd-refine / no-lossless / cbqpoffs=0 / crqpoffs=0 / rc=crf / crf=15.0 / qcomp=0.60 / qpstep=4 / stats-write=0 / stats-read=0 / vbv-maxrate=160000 / vbv-bufsize=160000 / vbv-init=0.9 / min-vbv-fullness=50.0 / max-vbv-fullness=80.0 / crf-max=0.0 / crf-min=0.0 / ipratio=1.40 / pbratio=1.30 / aq-mode=1 / aq-strength=1.00 / aq-bias-strength=1.00 / cutree / zone-count=0 / no-strict-cbr / qg-size=32 / no-rc-grain / qpmax=69 / qpmin=0 / no-const-vbv / sar=0 / overscan=0 / videoformat=5 / range=0 / colorprim=9 / transfer=16 / colormatrix=9 / chromaloc=1 / chromaloc-top=2 / chromaloc-bottom=2 / display-window=0 / master-display=G(13250,34500)B(7500,3000)R(34000,16000)WP(15635,16450)L(10000000,1) / cll=0,0 / min-luma=0 / max-luma=1023 / log2-max-poc-lsb=8 / vui-timing-info / vui-hrd-info / slices=1 / no-opt-qp-pps / no-opt-ref-list-length-pps / no-multi-pass-opt-rps / scenecut-bias=0.05 / hist-threshold=0.03 / no-opt-cu-delta-qp / no-aq-motion / hdr10 / hdr10-opt / no-dhdr10-opt / no-idr-recovery-sei / analysis-reuse-level=0 / analysis-save-reuse-level=0 / analysis-load-reuse-level=0 / scale-factor=0 / refine-intra=0 / refine-inter=0 / refine-mv=1 / refine-ctu-distortion=0 / no-limit-sao / ctu-info=0 / no-lowpass-dct / refine-analysis-type=0 / copy-pic=1 / max-ausize-factor=1.0 / no-dynamic-refine / no-single-sei / no-hevc-aq / no-svt / no-field / qp-adaptation-range=1.00 / scenecut-aware-qp=0conformance-window-offsets / right=0 / bottom=0 / decoder-max-rate=0 / no-vbv-live-multi-pass
Default : No
Encoded date : UTC 2022-06-20 21:22:28
Tagged date : UTC 2022-06-20 21:22:38
Color range : Limited
Color primaries : BT.2020
Transfer characteristics : PQ
Matrix coefficients : BT.2020 non-constant
Mastering display color primaries : Display P3
Mastering display luminance : min: 0.0001 cd/m2, max: 1000 cd/m2
Codec configuration box : hvcC+dvcC
Audio #1
ID : 2
Format : MLP FBA 16-ch
Format/Info : Meridian Lossless Packing FBA with 16-channel presentation
Commercial name : Dolby TrueHD with Dolby Atmos
Codec ID : mlpa
Duration : 6 min 59 s
Bit rate mode : Variable
Bit rate : 4 557 kb/s
Maximum bit rate : 7 887 kb/s
Channel(s) : 8 channels
Channel layout : L R C LFE Ls Rs Lb Rb
Sampling rate : 48.0 kHz
Frame rate : 1 200.000 FPS (40 SPF)
Compression mode : Lossless
Stream size : 228 MiB (51%)
Language : English
Default : Yes
Alternate group : 1
Tagged date : UTC 2022-06-20 21:22:38
Number of dynamic objects : 13
Bed channel count : 1 channel
Bed channel configuration : LFE
Audio #2
ID : 3
Format : E-AC-3 JOC
Format/Info : Enhanced AC-3 with Joint Object Coding
Commercial name : Dolby Digital Plus with Dolby Atmos
Codec ID : ec-3
Duration : 7 min 1 s
Bit rate mode : Constant
Bit rate : 768 kb/s
Maximum bit rate : 811 kb/s
Channel(s) : 6 channels
Channel layout : L R C LFE Ls Rs
Sampling rate : 48.0 kHz
Frame rate : 31.250 FPS (1536 SPF)
Compression mode : Lossy
Stream size : 38.6 MiB (9%)
Service kind : Complete Main
Default : No
Encoded date : UTC 2022-06-20 21:22:28
Tagged date : UTC 2022-06-20 21:22:38
Complexity index : Not present / 16
Number of dynamic objects : 15
Bed channel count : 1 channel
Bed channel configuration : LFE
Code: Select all
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]?8
*****************
* CHOOSE A MODE *
*****************
.
1) MODE.1= Single-Track (p5, p8, p7)
2) MODE.2= Dual-Track (p7)
3) MODE.3= Demuxer (p5, p8, p7)
4) MODE.4= back to main menu
Choice? [1,2,3,4]?1
********************
* CHOOSE A WORFLOW *
********************
1) Workflow.1= ANY VIDEO + ANY AUDIO(lossless audio included) + SRT subtitle
2) Workflow.2= Bluray Disc to Profile 8 + AC3
3) Workflow.3= Bluray Disc to Profile 8 + EC3
4) Workflow.4= MKV Profile 7 to Profile 8 + AC3
5) Workflow.5= MKV Profile 7 to Profile 8 + EC3
6) Workflow.6= HDR10 or HDR10plus to DoVi Profile 8 + AC3
7) Workflow.7= HDR10 or HDR10plus to DoVi Profile 8 + EC3
8) Workflow.8= back to main menu
Choice? [1,2,3,4,5,6,7,8]?1
------------------------------------------------------------------------------------------------------
-- Input can be MKV/M2TS/TS/HEVC/H265 - SRT/AC3/EC3/AAC/DTS/DTSHD/TrueHD
-- Dual subtitles/audio support , If no subtitles/audio, just press enter to skip (PGS not supported)
-- Lossless audio muxing only works if your video/audio input are demuxed (hevc/h265/THD/DTS)
-- if input is MKV/TS/M2TS, audio will be lossy. demux it for lossless audio.
-- Do not use this workflow for the Profile 8 iTunes web-dl (they have fps header issues)
------------------------------------------------------------------------------------------------------
Un sous-répertoire ou un fichier D:\TEMP\ existe déjà.
Drag and drop your DoVi HEVC file and press enter...
D:\samples\P8.DTS.track_1_und.hevc
Drag and drop your audio file and press enter...
D:\samples\truehd.thd
Drag and drop your audio file #2 and press enter...
D:\samples\ec3.ec3
Drag and drop your SRT subtitle file(optional) and/or press enter...
Select a dolby vision profile (5,7 or 8) and press enter...
8
muxing into a MP4 DoVi file. Be patient, it can take a while. 40min+ on slow HDD!!!
mkvmerge v67.0.0 ('Under Stars') 64-bit
'D:\samples\truehd.thd': Using the demultiplexer for the format 'TrueHD'.
'D:\samples\truehd.thd' track 0: Using the output module for the format 'TrueHD'.
The file 'D:\TEMP\audio.mka' has been opened for writing.
Progress: 100%
The cue entries (the index) are being written...
Multiplexing took 3 seconds.
ffmpeg version 5.0.1-full_build-www.gyan.dev Copyright (c) 2000-2022 the FFmpeg developers
built with gcc 11.2.0 (Rev7, Built by MSYS2 project)
configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-bzlib --enable-lzma --enable-libsnappy --enable-zlib --enable-librist --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2 --enable-libdav1d --enable-libdavs2 --enable-libuavs3d --enable-libzvbi --enable-librav1e --enable-libsvtav1 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxvid --enable-libaom --enable-libopenjpeg --enable-libvpx --enable-mediafoundation --enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi --enable-liblensfun --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-libshaderc --enable-vulkan --enable-libplacebo --enable-opencl --enable-libcdio --enable-libgme --enable-libmodplug --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libshine --enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc --enable-libilbc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite --enable-libmysofa --enable-librubberband --enable-libsoxr --enable-chromaprint
libavutil 57. 17.100 / 57. 17.100
libavcodec 59. 18.100 / 59. 18.100
libavformat 59. 16.100 / 59. 16.100
libavdevice 59. 4.100 / 59. 4.100
libavfilter 8. 24.100 / 8. 24.100
libswscale 6. 4.100 / 6. 4.100
libswresample 4. 3.100 / 4. 3.100
libpostproc 56. 3.100 / 56. 3.100
Input #0, matroska,webm, from 'D:\TEMP\audio.mka':
Metadata:
encoder : libebml v1.4.2 + libmatroska v1.6.4
Duration: 00:06:59.90, start: 0.000000, bitrate: 4624 kb/s
Stream #0:0(eng): Audio: truehd, 48000 Hz, 7.1, s32 (24 bit) (default)
Metadata:
BPS : 4556864
DURATION : 00:06:59.904166080
NUMBER_OF_FRAMES: 503885
NUMBER_OF_BYTES : 239180708
_STATISTICS_WRITING_APP: mkvmerge v67.0.0 ('Under Stars') 64-bit
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Output #0, mp4, to 'D:\TEMP\audio.mp4':
Metadata:
encoder : Lavf59.16.100
Stream #0:0(eng): Audio: truehd (mlpa / 0x61706C6D), 48000 Hz, 7.1, s32 (24 bit) (default)
Metadata:
BPS : 4556864
DURATION : 00:06:59.904166080
NUMBER_OF_FRAMES: 503885
NUMBER_OF_BYTES : 239180708
_STATISTICS_WRITING_APP: mkvmerge v67.0.0 ('Under Stars') 64-bit
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Press [q] to stop, [?] for help
size= 235563kB time=00:06:59.90 bitrate=4595.6kbits/s speed= 105x
video:0kB audio:233575kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.851134%
[iso file] Box "dec3" (start 35918) has 2 extra bytes
[iso file] Box "dec3" (start 35918) has 2 extra bytes
IsoMedia import DV.mp4 - track ID 1 - Video (size 3840 x 2160)
IsoMedia import audio.mp4 - track ID 1 - Audio (SR 48000 - 2 channels)
[iso file] Box "dec3" (start 35918) has 2 extra bytes
[iso file] Box "dec3" (start 35918) has 2 extra bytes
IsoMedia import DV.mp4 - track ID 2 - Audio (SR 48000 - 2 channels)
0.500 secs Interleaving
the script has completed...-
realbabilu
- Posts: 22
- Joined: Sun May 15, 2022 4:23 am
Re: Dolby Vision now possible through MP4 Mux.
Thank you, almost same as method 3 (ffmpeg + mp4box)RESET_9999 wrote: Mon Jun 20, 2022 9:23 pmYou can mux lossless audio in MP4 with my script if you demux hevc/audio first:realbabilu wrote: Mon Jun 20, 2022 8:53 pm Question :
2. Dovi Script can create TrueHD no ac3 to TrueHD+ac3 into single stream/file. WAY 6-3-3
MODE.M4 ===> MODE.1 ===> Workflow.1 ( 8-1-1)
IIRC, TrueHD track must not have an ac3 core to work.
So TrueHD track must not have an ac3 core to muxed into mp4. mp4box keep asking filter for .thd+ac3 file in my test.
WAIT...
you have ..in 1.3.9
Code: Select all
if exist "%a-filepath%%a-filename%.ec3" if exist "%a2-filepath%%a2-filename%.thd+ac3" goto :AC3..THD
if exist "%a-filepath%%a-filename%.ac3" if exist "%a2-filepath%%a2-filename%.ac3+thd" goto :AC3..THD
if exist "%a-filepath%%a-filename%.thd+ac3" if exist "%a2-filepath%%a2-filename%.ac3" goto :THD..AC3
if exist "%a-filepath%%a-filename%.thd+ac3" if exist "%a2-filepath%%a2-filename%.ec3" goto :THD..AC3
if exist "%a-filepath%%a-filename%.ac3+thd" goto :lossless1a
if exist "%a-filepath%%a-filename%.thd+ac3" goto :lossless1a
Works! on mp4be https://sourceforge.net/projects/mpcbe/
samples and result https://1fichier.com/?s7qphm7o9rhvreok8r67
truehd has ac3 core information is difficult to compare to truehd without ac3core with mediainfo app.
Code: Select all
General
Complete name : F:\TEST\DOLBY ATMOS\TRUEHD\test\Dolby_Conductor_Lossless_ATMOS-thedigitaltheater.mkv_ - 2 - TrueHD (Atmos), 7.1 channels, 48kHz.thd
Format : MLP FBA 16-ch
Format/Info : Meridian Lossless Packing FBA with 16-channel presentation
Commercial name : Dolby TrueHD with Dolby Atmos
File size : 25.2 MiB
Overall bit rate mode : Variable
Audio
Format : MLP FBA 16-ch
Format/Info : Meridian Lossless Packing FBA with 16-channel presentation
Commercial name : Dolby TrueHD with Dolby Atmos
Bit rate mode : Variable
Maximum bit rate : 8 817 kb/s
Channel(s) : 8 channels
Channel layout : L R C LFE Ls Rs Lb Rb
Sampling rate : 48.0 kHz
Frame rate : 1 200.000 FPS (40 SPF)
Compression mode : Lossless
Number of dynamic objects : 15
Bed channel count : 1 channel
Bed channel configuration : LFE
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]?8
*****************
* CHOOSE A MODE *
*****************
.
1) MODE.1= Single-Track (p5, p8, p7)
2) MODE.2= Dual-Track (p7)
3) MODE.3= Demuxer (p5, p8, p7)
4) MODE.4= back to main menu
Choice? [1,2,3,4]?1
********************
* CHOOSE A WORFLOW *
********************
1) Workflow.1= ANY VIDEO + ANY AUDIO(lossless audio included) + SRT subtitle
2) Workflow.2= Bluray Disc to Profile 8 + AC3
3) Workflow.3= Bluray Disc to Profile 8 + EC3
4) Workflow.4= MKV Profile 7 to Profile 8 + AC3
5) Workflow.5= MKV Profile 7 to Profile 8 + EC3
6) Workflow.6= HDR10 or HDR10plus to DoVi Profile 8 + AC3
7) Workflow.7= HDR10 or HDR10plus to DoVi Profile 8 + EC3
8) Workflow.8= back to main menu
Choice? [1,2,3,4,5,6,7,8]?1
------------------------------------------------------------------------------------------------------
-- Input can be MKV/M2TS/TS/HEVC/H265 - SRT/AC3/EC3/AAC/DTS/DTSHD/TrueHD
-- Dual subtitles/audio support , If no subtitles/audio, just press enter to skip (PGS :not supported)
-- Lossless audio muxing only works if your video/audio input are demuxed (hevc/h265/THD/DTS)
-- if input is MKV/TS/M2TS, audio will be lossy. demux it for lossless audio.
-- Do not use this workflow for the Profile 8 iTunes web-dl (they have fps header issues)
------------------------------------------------------------------------------------------------------
Drag and drop your DoVi HEVC file and press enter...
"D:\RUN\Dolby_Conductor_Lossless_ATMOS-thedigitaltheater.mkv_ - 1 - h264, English, 1080p23.999.h264"
Drag and drop your audio file and press enter...
D:\RUN\Dolby_Conductor_Lossless_ATMOS-thedigitaltheater.thd+ac3
Drag and drop your audio file #2 and press enter...
Drag and drop your SRT subtitle file(optional) and/or press enter...
Select a dolby vision profile (5,7 or 8) and press enter...
8
muxing into a MP4 DoVi file. Be patient, it can take a while. 40min+ on slow HDD!!!
Output file had been existed, please using '--overwrite' if you want to overwrite it
mkvmerge v67.0.0 ('Under Stars') 64-bit
'D:\RUN\Dolby_Conductor_Lossless_ATMOS-thedigitaltheater.thd+ac3': Using the demultiplexer for the format 'TrueHD'.
'D:\RUN\Dolby_Conductor_Lossless_ATMOS-thedigitaltheater.thd+ac3' track 0: Using the output module for the format 'TrueHD'.
The file 'D:\mov\Dolby-Vision-Tools\audio.mka' has been opened for writing.
Progress: 100%
The cue entries (the index) are being written...
Multiplexing took 0 seconds.
ffmpeg version 5.0.1-full_build-www.gyan.dev Copyright (c) 2000-2022 the FFmpeg developers
built with gcc 11.2.0 (Rev7, Built by MSYS2 project)
configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-bzlib --enable-lzma --enable-libsnappy --enable-zlib --enable-librist --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2 --enable-libdav1d --enable-libdavs2 --enable-libuavs3d --enable-libzvbi --enable-librav1e --enable-libsvtav1 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxvid --enable-libaom --enable-libopenjpeg --enable-libvpx --enable-mediafoundation --enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi --enable-liblensfun --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-libshaderc --enable-vulkan --enable-libplacebo --enable-opencl --enable-libcdio --enable-libgme --enable-libmodplug --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libshine --enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc --enable-libilbc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite --enable-libmysofa --enable-librubberband --enable-libsoxr --enable-chromaprint
libavutil 57. 17.100 / 57. 17.100
libavcodec 59. 18.100 / 59. 18.100
libavformat 59. 16.100 / 59. 16.100
libavdevice 59. 4.100 / 59. 4.100
libavfilter 8. 24.100 / 8. 24.100
libswscale 6. 4.100 / 6. 4.100
libswresample 4. 3.100 / 4. 3.100
libpostproc 56. 3.100 / 56. 3.100
Input #0, matroska,webm, from 'D:\mov\Dolby-Vision-Tools\audio.mka':
Metadata:
encoder : libebml v1.4.2 + libmatroska v1.6.4
Duration: 00:00:40.13, start: 0.000000, bitrate: 5341 kb/s
Stream #0:0(eng): Audio: truehd, 48000 Hz, 7.1, s32 (24 bit) (default)
Metadata:
BPS : 5273043
DURATION : 00:00:40.133327136
NUMBER_OF_FRAMES: 48160
NUMBER_OF_BYTES : 26452882
_STATISTICS_WRITING_APP: mkvmerge v67.0.0 ('Under Stars') 64-bit
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Output #0, mp4, to 'D:\mov\Dolby-Vision-Tools\audio.mp4':
Metadata:
encoder : Lavf59.16.100
Stream #0:0(eng): Audio: truehd (mlpa / 0x61706C6D), 48000 Hz, 7.1, s32 (24 bit) (default)
Metadata:
BPS : 5273043
DURATION : 00:00:40.133327136
NUMBER_OF_FRAMES: 48160
NUMBER_OF_BYTES : 26452882
_STATISTICS_WRITING_APP: mkvmerge v67.0.0 ('Under Stars') 64-bit
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Press [q] to stop, [?] for help
size= 26024kB time=00:00:40.13 bitrate=5312.0kbits/s speed= 311x
video:0kB audio:25833kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.740430%
IsoMedia import Dolby_Conductor_Lossless_ATMOS-thedigitaltheater.mkv_ - 1 - h264, English, 1080p23.999_DoVi.mp4 - track ID 1 - Video (size 1920 x 1080)
IsoMedia import audio.mp4 - track ID 1 - Audio (SR 48000 - 2 channels)
0.500 secs Interleaving
Missing argument value for -add - please check usage
the script has completed...
Press any key to continue . . .
There is a bug for long or spaced folder using 8-1-1 as input file.
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]?8
*****************
* CHOOSE A MODE *
*****************
.
1) MODE.1= Single-Track (p5, p8, p7)
2) MODE.2= Dual-Track (p7)
3) MODE.3= Demuxer (p5, p8, p7)
4) MODE.4= back to main menu
Choice? [1,2,3,4]?1
********************
* CHOOSE A WORFLOW *
********************
1) Workflow.1= ANY VIDEO + ANY AUDIO(lossless audio included) + SRT subtitle
2) Workflow.2= Bluray Disc to Profile 8 + AC3
3) Workflow.3= Bluray Disc to Profile 8 + EC3
4) Workflow.4= MKV Profile 7 to Profile 8 + AC3
5) Workflow.5= MKV Profile 7 to Profile 8 + EC3
6) Workflow.6= HDR10 or HDR10plus to DoVi Profile 8 + AC3
7) Workflow.7= HDR10 or HDR10plus to DoVi Profile 8 + EC3
8) Workflow.8= back to main menu
Choice? [1,2,3,4,5,6,7,8]?1
------------------------------------------------------------------------------------------------------
-- Input can be MKV/M2TS/TS/HEVC/H265 - SRT/AC3/EC3/AAC/DTS/DTSHD/TrueHD
-- Dual subtitles/audio support , If no subtitles/audio, just press enter to skip (PGS :not supported)
-- Lossless audio muxing only works if your video/audio input are demuxed (hevc/h265/THD/DTS)
-- if input is MKV/TS/M2TS, audio will be lossy. demux it for lossless audio.
-- Do not use this workflow for the Profile 8 iTunes web-dl (they have fps header issues)
------------------------------------------------------------------------------------------------------
Drag and drop your DoVi HEVC file and press enter...
"F:\TEST\DOLBY ATMOS\TRUEHD\test\Dolby_Conductor_Lossless_ATMOS-thedigitaltheater.mkv_ - 1 - h264, English, 1080p23.999.h264"
Drag and drop your audio file and press enter...
"F:\TEST\DOLBY ATMOS\TRUEHD\test\Dolby_Conductor_Lossless_ATMOS-thedigitaltheater.thd+ac3"
Drag and drop your audio file #2 and press enter...
Drag and drop your SRT subtitle file(optional) and/or press enter...
Select a dolby vision profile (5,7 or 8) and press enter...
8
muxing into a MP4 DoVi file. Be patient, it can take a while. 40min+ on slow HDD!!!
Output file had been existed, please using '--overwrite' if you want to overwrite it
mkvmerge v67.0.0 ('Under Stars') 64-bit
Error: The file 'F:\TEST\DOLBY' could not be opened for reading: open file error.
ffmpeg version 5.0.1-full_build-www.gyan.dev Copyright (c) 2000-2022 the FFmpeg developers
built with gcc 11.2.0 (Rev7, Built by MSYS2 project)
configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-bzlib --enable-lzma --enable-libsnappy --enable-zlib --enable-librist --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2 --enable-libdav1d --enable-libdavs2 --enable-libuavs3d --enable-libzvbi --enable-librav1e --enable-libsvtav1 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxvid --enable-libaom --enable-libopenjpeg --enable-libvpx --enable-mediafoundation --enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi --enable-liblensfun --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-libshaderc --enable-vulkan --enable-libplacebo --enable-opencl --enable-libcdio --enable-libgme --enable-libmodplug --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libshine --enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc --enable-libilbc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite --enable-libmysofa --enable-librubberband --enable-libsoxr --enable-chromaprint
libavutil 57. 17.100 / 57. 17.100
libavcodec 59. 18.100 / 59. 18.100
libavformat 59. 16.100 / 59. 16.100
libavdevice 59. 4.100 / 59. 4.100
libavfilter 8. 24.100 / 8. 24.100
libswscale 6. 4.100 / 6. 4.100
libswresample 4. 3.100 / 4. 3.100
libpostproc 56. 3.100 / 56. 3.100
D:\mov\Dolby-Vision-Tools\audio.mka: No such file or directory
IsoMedia import Dolby_Conductor_Lossless_ATMOS-thedigitaltheater.mkv_ - 1 - h264, English, 1080p23.999_DoVi.mp4 - track ID 1 - Video (size 1920 x 1080)
[Importer] Cannot load filter for input file "D:\mov\Dolby-Vision-Tools\audio.mp4"
Failure while importing media: Requested URL is not valid or cannot be found
Error importing D:\mov\Dolby-Vision-Tools\audio.mp4: Requested URL is not valid or cannot be found
Missing argument value for -add - please check usage
Could Not Find D:\mov\Dolby-Vision-Tools\audio.mp4
Could Not Find D:\mov\Dolby-Vision-Tools\audio.mka
the script has completed...
Press any key to continue . . .