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.
You can use the dovi_tool in cli:
dovi_tool_path mux --bl BL.hevc --el EL.hevc -o ST-DL.hevc
or if you don't want to mess with command lines, mux the layers to TS/M2TS with tsmuxer and then mux with mkvtoolnix.
EDIT: I just added support for raw hevc in workflow 4-2 in the latest beta.
dovi_tool_path mux --bl BL.hevc --el EL.hevc -o ST-DL.hevc
or if you don't want to mess with command lines, mux the layers to TS/M2TS with tsmuxer and then mux with mkvtoolnix.
EDIT: I just added support for raw hevc in workflow 4-2 in the latest beta.
-
DylanValenti
- Posts: 36
- Joined: Sat Dec 19, 2020 9:42 pm
Re: Dolby Vision now possible through MP4 Mux.
Thanks it works perfectly!
If I could get some opinions on something that would be great:
There is a film I’m interested in that has 2 separate releases. One with DV in MEL and a higher bitrate. The other is in DV FEL with a lower bitrate. Should I do the DV FEL with lower bitrate or the DV MEL with higher bitrate?
If I could get some opinions on something that would be great:
There is a film I’m interested in that has 2 separate releases. One with DV in MEL and a higher bitrate. The other is in DV FEL with a lower bitrate. Should I do the DV FEL with lower bitrate or the DV MEL with higher bitrate?
-
RESET_9999
- Posts: 2421
- Joined: Mon Aug 05, 2019 7:12 pm
Re: Dolby Vision now possible through MP4 Mux.
I'm not sure if that would work? are the two BL exactly the same? it must be 1:1 identical to work because the FEL is created by analyzing the BL encode and the master and any difference is recorded in the EL.
Code: Select all
-h [ --help ] Show this help.
--toolset-dir arg (=D:\DoVi_Scripts\tools\DEE)
Toolset installation directory.
-l [ --license ] arg (=D:\DoVi_Scripts\tools\DEE\license.lic)
Toolset license file.
--print-all arg (=0) Enable log printing. Values: 0|1.
--progress arg (=0) Show progress in percentage. Values: 0|1.
--overwrite arg (=0) Allow overwriting existing files. Values: 0|1.
--temp-dir arg (=D:\DoVi_Scripts\tools\DEE)
Directory to store temporary files.
--keep-temp arg (=0) Keep temporary files after execution. Values: 0|1.
--ffmpeg arg (=ffmpeg) FFmpeg executable.
--dvesverifier arg Dolby Vision ES Verifier executable. If not specified, the script will skip the verification step.
--input-format arg Input format followed by format-specific options. Use "--morehelp input-format" for more details.
Values: jpeg2000_list|jpeg2000_mxf|prores_list|prores_mov|tiff_list.
-i [ --input ] arg Input file with mezzanine video. Input directory for list-based inputs.
-m [ --input-metadata ] arg Optional input metadata file. If not specified, the application attempts to extract metadata from
the input.
-b [ --output-bl ] arg Base-layer output file in HEVC format.
-e [ --output-el ] arg Enhancement-layer output file in HEVC format.
--metadata-offset arg (=0) Offset added to each frame index, when accessing frame metadata from the source.
--start arg (=0s) Start position in 'xs' format, where 'x' represents seconds or 'xf' format, where 'x' is a frame
number.
--duration arg (=-1) Duration in 'xs' format, where 'x' represents seconds or 'xf' format, where 'x' is a frame number.
'-1' means "end of file".
--end arg (=-1) End position in 'xs' format, where 'x' represents seconds or 'xf' format, where 'x' is a frame
number. '-1' means "end of file".
--encoder arg HEVC encoder. Values: x265|beamr|impact.
--preset arg Encoder preset. If not specified, selected encoder's default preset is used. Use "--morehelp preset"
for more details.
--data-stream arg (=0) Use data streaming instead of temporary files, wherever possible. Values: 0|1.
--yuv-buffer-size arg (=-1) YUV buffer size in bytes. '-1' means "assign automatically". Relevant only if 'data-stream' is
enabled.
-p [ --encoder-pass-num ] arg (=2) Number of encoder passes. Values: 1|2.
--use-case arg Desired use-case. A combination of content mapping type and enhancement-layer type (fel - full
enhancement-layer, mel - minimal enhancement-layer). Values: no_mapping_with_mel|no_mapping_with_fel
|map_to_1000_nits_with_fel|map_to_1000_nits_with_mel|map_to_600_nits_with_fel.
--morehelp arg Show more help about selected topic. Values: input-format|preset.
Code: Select all
-h [ --help ] Show this help.
-l [ --license ] arg (=D:\DoVi_Scripts\tools\DEE\license.lic)
License file.
--loglevel arg (=info) Logging level followed by log customization options. Use
"--morehelp loglevel" for more details. Values:
debug|error|info|quiet|warning.
--overwrite arg (=0) Allow overwriting existing files. Values: 0|1.
--progress arg (=0) Show progress in percentage. Values: 0|1.
--cc arg (=1) Enable concurrent processing. Use "--morehelp cc" for more
details. Values: 0|1.
--show-frames arg (=none) Show more details about processed video frames. Values:
all|counters|decoder|demuxer|none|resizer|transformer.
-m [ --input-metadata ] arg Optional input metadata file. If not specified, the
application attempts to extract metadata from the input.
-r [ --output-rpu ] arg Output RPU file.
-o [ --output ] arg Output YUV enhancement-layer file (10-bit 420 planar).
--el-type arg (=full) Enhancement-layer type. Values: full|minimal.
--L5 arg (=auto) Dolby Vision level 5 metadata. Use "--morehelp L5" for more
details.
--max-scene-frames arg (=255) Maximum number of frames processed as a single scene
[1:255]. Use "--morehelp max-scene-frames" for more
details.
--duration arg (=-1) Duration (in frames). Value '-1' means "up to the last
frame".
--input-format arg Input format followed by format-specific options. Use
"--morehelp input-format" for more details. Values:
jpeg2000_list|jpeg2000_mxf|prores_list|prores_mov|raw|tiff_
list.
-i [ --input ] arg Input file or input directory, in case of list-based input.
--decoder arg Decoder plugin and decoder options to be used. If not
specified, the application attempts to select plugin
automatically. Use "--morehelp decoder" for more details.
--resize-options arg Resize options. Syntax: "option1=value1:option2=value2".
Use "--morehelp resize-options" for more details.
--it arg Name of image transformer plugin to be used followed by
configuration parameters. Use "--morehelp it" for more
details.
--metadata-offset arg (=0) Offset added to each frame index, when accessing frame
metadata from the source.
--start arg (=0) Start frame.
--input-bl-format arg Base-layer's input format followed by format-specific
options. Use "--morehelp input-bl-format" for more details.
Values: raw.
--input-bl arg Input base-layer file.
--morehelp arg Show more help about selected topic. Values:
cc|input-bl-format|input-format|max-scene-frames|plugins|re
size-options|L5|decoder|it|loglevel.
--temp-dir arg (=C:\Users\david) Directory to store temporary files.
--keep-temp arg (=0) Keep temporary files after execution. Values: 0|1.
--plugin-dir arg (=D:\DoVi_Scripts\tools\DEE)
Directory containing compatible plugins.-
DylanValenti
- Posts: 36
- Joined: Sat Dec 19, 2020 9:42 pm
Re: Dolby Vision now possible through MP4 Mux.
Oh no it definitely wouldn’t work, I would have to choose one or the other. Just asking if I should prioritize FEL and choose that release or prioritize bitrate. But they both have DVRESET_9999 wrote: Fri Jul 05, 2024 7:26 pm I'm not sure if that would work? are the two BL exactly the same? it must be 1:1 identical to work because the FEL is created by analyzing the BL encode and the master and any difference is recorded in the EL.
Code: Select all
-h [ --help ] Show this help. --toolset-dir arg (=D:\DoVi_Scripts\tools\DEE) Toolset installation directory. -l [ --license ] arg (=D:\DoVi_Scripts\tools\DEE\license.lic) Toolset license file. --print-all arg (=0) Enable log printing. Values: 0|1. --progress arg (=0) Show progress in percentage. Values: 0|1. --overwrite arg (=0) Allow overwriting existing files. Values: 0|1. --temp-dir arg (=D:\DoVi_Scripts\tools\DEE) Directory to store temporary files. --keep-temp arg (=0) Keep temporary files after execution. Values: 0|1. --ffmpeg arg (=ffmpeg) FFmpeg executable. --dvesverifier arg Dolby Vision ES Verifier executable. If not specified, the script will skip the verification step. --input-format arg Input format followed by format-specific options. Use "--morehelp input-format" for more details. Values: jpeg2000_list|jpeg2000_mxf|prores_list|prores_mov|tiff_list. -i [ --input ] arg Input file with mezzanine video. Input directory for list-based inputs. -m [ --input-metadata ] arg Optional input metadata file. If not specified, the application attempts to extract metadata from the input. -b [ --output-bl ] arg Base-layer output file in HEVC format. -e [ --output-el ] arg Enhancement-layer output file in HEVC format. --metadata-offset arg (=0) Offset added to each frame index, when accessing frame metadata from the source. --start arg (=0s) Start position in 'xs' format, where 'x' represents seconds or 'xf' format, where 'x' is a frame number. --duration arg (=-1) Duration in 'xs' format, where 'x' represents seconds or 'xf' format, where 'x' is a frame number. '-1' means "end of file". --end arg (=-1) End position in 'xs' format, where 'x' represents seconds or 'xf' format, where 'x' is a frame number. '-1' means "end of file". --encoder arg HEVC encoder. Values: x265|beamr|impact. --preset arg Encoder preset. If not specified, selected encoder's default preset is used. Use "--morehelp preset" for more details. --data-stream arg (=0) Use data streaming instead of temporary files, wherever possible. Values: 0|1. --yuv-buffer-size arg (=-1) YUV buffer size in bytes. '-1' means "assign automatically". Relevant only if 'data-stream' is enabled. -p [ --encoder-pass-num ] arg (=2) Number of encoder passes. Values: 1|2. --use-case arg Desired use-case. A combination of content mapping type and enhancement-layer type (fel - full enhancement-layer, mel - minimal enhancement-layer). Values: no_mapping_with_mel|no_mapping_with_fel |map_to_1000_nits_with_fel|map_to_1000_nits_with_mel|map_to_600_nits_with_fel. --morehelp arg Show more help about selected topic. Values: input-format|preset.Code: Select all
-h [ --help ] Show this help. -l [ --license ] arg (=D:\DoVi_Scripts\tools\DEE\license.lic) License file. --loglevel arg (=info) Logging level followed by log customization options. Use "--morehelp loglevel" for more details. Values: debug|error|info|quiet|warning. --overwrite arg (=0) Allow overwriting existing files. Values: 0|1. --progress arg (=0) Show progress in percentage. Values: 0|1. --cc arg (=1) Enable concurrent processing. Use "--morehelp cc" for more details. Values: 0|1. --show-frames arg (=none) Show more details about processed video frames. Values: all|counters|decoder|demuxer|none|resizer|transformer. -m [ --input-metadata ] arg Optional input metadata file. If not specified, the application attempts to extract metadata from the input. -r [ --output-rpu ] arg Output RPU file. -o [ --output ] arg Output YUV enhancement-layer file (10-bit 420 planar). --el-type arg (=full) Enhancement-layer type. Values: full|minimal. --L5 arg (=auto) Dolby Vision level 5 metadata. Use "--morehelp L5" for more details. --max-scene-frames arg (=255) Maximum number of frames processed as a single scene [1:255]. Use "--morehelp max-scene-frames" for more details. --duration arg (=-1) Duration (in frames). Value '-1' means "up to the last frame". --input-format arg Input format followed by format-specific options. Use "--morehelp input-format" for more details. Values: jpeg2000_list|jpeg2000_mxf|prores_list|prores_mov|raw|tiff_ list. -i [ --input ] arg Input file or input directory, in case of list-based input. --decoder arg Decoder plugin and decoder options to be used. If not specified, the application attempts to select plugin automatically. Use "--morehelp decoder" for more details. --resize-options arg Resize options. Syntax: "option1=value1:option2=value2". Use "--morehelp resize-options" for more details. --it arg Name of image transformer plugin to be used followed by configuration parameters. Use "--morehelp it" for more details. --metadata-offset arg (=0) Offset added to each frame index, when accessing frame metadata from the source. --start arg (=0) Start frame. --input-bl-format arg Base-layer's input format followed by format-specific options. Use "--morehelp input-bl-format" for more details. Values: raw. --input-bl arg Input base-layer file. --morehelp arg Show more help about selected topic. Values: cc|input-bl-format|input-format|max-scene-frames|plugins|re size-options|L5|decoder|it|loglevel. --temp-dir arg (=C:\Users\david) Directory to store temporary files. --keep-temp arg (=0) Keep temporary files after execution. Values: 0|1. --plugin-dir arg (=D:\DoVi_Scripts\tools\DEE) Directory containing compatible plugins.
-
RESET_9999
- Posts: 2421
- Joined: Mon Aug 05, 2019 7:12 pm
Re: Dolby Vision now possible through MP4 Mux.
You should prioritize the best quality. Extract a couple of FEL-baked screenshots in the workflow (7-1) and compare the quality with the other release.
like this one: https://slow.pics/c/h6Denlev
like this one: https://slow.pics/c/h6Denlev
-
Rororororo
- Posts: 28
- Joined: Tue May 12, 2020 1:23 am
Re: Dolby Vision now possible through MP4 Mux.
@RESET_9999
I'm just checking to see what's new in v.2.0.9 and see it provides some new info in 2-2 etc
I'm just checking to see what's new in v.2.0.9 and see it provides some new info in 2-2 etc
If I understand correctly, I can fix it with "Fix Scene_Refresh_Flag=S"?1st Frame is a Scene Cut: NO(fix with 2-1-1)
Consecutive Scene Cuts: NO (good)
ASUS BW-16D1HT 3.10
Ugoos AM6B Plus
Ugoos AM6B Plus
-
RESET_9999
- Posts: 2421
- Joined: Mon Aug 05, 2019 7:12 pm
Re: Dolby Vision now possible through MP4 Mux.
the DV metadata (RPU) usually starts with a scene cut flag and this is why when you sync a RPU, you don't remove or duplicate the first frame. Instead, you use the 2nd frame.
It doesn't seem to cause any playback issue but yes, you can edit it with workflow 2-1-1
It doesn't seem to cause any playback issue but yes, you can edit it with workflow 2-1-1
-
Rororororo
- Posts: 28
- Joined: Tue May 12, 2020 1:23 am
Re: Dolby Vision now possible through MP4 Mux.
When injecting P7 MEL CMv4.0 to BL would it be possible to add a workflow to output it straight as P8 mkv? I mean without using 4-1 after 1-1
ASUS BW-16D1HT 3.10
Ugoos AM6B Plus
Ugoos AM6B Plus
-
RESET_9999
- Posts: 2421
- Joined: Mon Aug 05, 2019 7:12 pm
Re: Dolby Vision now possible through MP4 Mux.
I dont see a use case for that ? Why did you extract the P7 rpu in the first place if you wanted a p8 rpu? just process the original P7 rip into 4-1?
I never had to inject a P7 rpu to a different BL.
I never had to inject a P7 rpu to a different BL.
-
Rororororo
- Posts: 28
- Joined: Tue May 12, 2020 1:23 am
Re: Dolby Vision now possible through MP4 Mux.
I meant P7 with WEB CMv4.0 bloc from 2-6RESET_9999 wrote: Sun Jul 07, 2024 12:05 pm I dont see a use case for that ? Why did you extract the P7 rpu in the first place if you wanted a p8 rpu? just process the original P7 rip into 4-1?
I never had to inject a P7 rpu to a different BL.
ASUS BW-16D1HT 3.10
Ugoos AM6B Plus
Ugoos AM6B Plus
-
RESET_9999
- Posts: 2421
- Joined: Mon Aug 05, 2019 7:12 pm
Re: Dolby Vision now possible through MP4 Mux.
In that case, just inject the synced cmv4.0 P5 rpu with (1-1) as you would do for any P8 hybrid release. The script will convert P5 to P8.
That's what I do for the MEL P7 movie I want to add the cmv4.0 bloc, no need to transfer the cmv4.0 to P7 for those movies if what you want is P8.
-
Rororororo
- Posts: 28
- Joined: Tue May 12, 2020 1:23 am
Re: Dolby Vision now possible through MP4 Mux.
The more you know, thanks!RESET_9999 wrote: Sun Jul 07, 2024 2:48 pmIn that case, just inject the synced cmv4.0 P5 rpu with (1-1) as you would do for any P8 hybrid release. The script will convert P5 to P8.
That's what I do for the MEL P7 movie I want to add the cmv4.0 bloc, no need to transfer the cmv4.0 to P7 for those movies if what you want is P8.
One thing I noticed, after converting P5 to P8 (Dune: Part Two), the Metafier reports a lot of positive Level 8 lift values. Can these warnings be safely ignored?
Code: Select all
WARNING: Positive Level8 lift value at shot: UniqueID = cde4f9ee-e827-4cc9-80d6-e0a583667ac6 @[6926-7019]
WARNING: Positive Level8 lift value at shot: UniqueID = ee1d2741-c522-43bf-a66e-21e96d1fe3d9 @[7055-7101]
WARNING: Positive Level8 lift value at shot: UniqueID = 2e295c16-58cb-4243-9c30-c4725f4c89b6 @[7381-7434]
WARNING: Positive Level8 lift value at shot: UniqueID = df9739dc-3b5b-4fd8-b46f-bcfa6183d72e @[7634-7857]
WARNING: Positive Level8 lift value at shot: UniqueID = b688ce45-b34a-45e6-8624-26864f72ea11 @[8460-8546]
WARNING: Positive Level8 lift value at shot: UniqueID = fb10dc96-8668-44b5-8b4c-81ea88848eed @[8639-8719]
(...)ASUS BW-16D1HT 3.10
Ugoos AM6B Plus
Ugoos AM6B Plus
-
RESET_9999
- Posts: 2421
- Joined: Mon Aug 05, 2019 7:12 pm
Re: Dolby Vision now possible through MP4 Mux.
those warnings are normal and they are for the colorist who did the metadata.
metafier has two modes:
mode 0 in the script = find offset values over 2048
mode 1 in the script = find offset values over 2100 which causes raised black bars.
but the thing is any offset positive value(over 2048) is ignored by the HDMI players so DV cannot have raised letterbox anyway.
I did some positive lift test files here: https://drive.google.com/drive/u/1/fold ... fx6vRYDEfs
Metafier warnings are fine, errors are not.
metafier has two modes:
mode 0 in the script = find offset values over 2048
mode 1 in the script = find offset values over 2100 which causes raised black bars.
but the thing is any offset positive value(over 2048) is ignored by the HDMI players so DV cannot have raised letterbox anyway.
I did some positive lift test files here: https://drive.google.com/drive/u/1/fold ... fx6vRYDEfs
Metafier warnings are fine, errors are not.
-
FonduemangVI
- Posts: 5
- Joined: Tue Apr 18, 2023 12:13 pm
Re: Dolby Vision now possible through MP4 Mux.
I just had a chance to check Mando and I can't see any sync issue. Can you provide a particular timestamp?staknhalo wrote: Tue Jun 25, 2024 7:37 pmwhatever problems watching at the computer/windows platform aside - is that the best windows store dv player then outside of any official dv pcs player etc?
Framestor Mando S02E08 Hybrid UHD out of sync too - prob all the (d+ or iT/D?) stuffRESET_9999 wrote: Tue Jun 18, 2024 5:04 pmand it's only because I know him personally and I know that he always does all the necessary checks.
Some older framestor releases are wrong and I just checked the Captain America hybrid is still available on BHD even though it's a VERY different grade and the RPU is not even in sync with the BL.
Same for their Black Widow release and others.
You can pm the list of hybrids you're not sure and I can have a look if i can find them.
-
mulucy
- Posts: 145
- Joined: Tue Jan 07, 2020 7:08 pm
Re: Dolby Vision now possible through MP4 Mux.
Life is busy, havent been able to monitor the development of DV. Can someone explain why is it a big deal CMv2.9 vs. CMv4.0? I see the latter mentioned a lot here. I read the official document, but dont understand why its a big deal. Thanks!