From 609cce7dd09a8a0ac3b58bbfcb5d0cc7794b1f27 Mon Sep 17 00:00:00 2001 From: bissen21 Date: Sat, 14 Jan 2023 10:52:46 -0600 Subject: [PATCH] Convert to DV Profile 8 --- 4K DV Compress.bat | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/4K DV Compress.bat b/4K DV Compress.bat index 434b07d..4c74f66 100644 --- a/4K DV Compress.bat +++ b/4K DV Compress.bat @@ -1,9 +1,11 @@ +mkdir temp + HandBrakeCLI -i %1 -o temp/handbrake.mkv -f av_mkv -m -e x265_10bit --encoder-preset slower -q 20 --encoder-profile auto --all-audio -E copy --audio-copy-mask aac,eac3,dts,ac3,truehd,dtshd,mp3 --crop-mode auto --auto-anamorphic --all-subtitles > temp/log.txt -ffmpeg.exe -i %1 -c:v copy -f hevc - | dovi_tool extract-rpu - -o "temp/RPU.bin">> temp/log.txt +ffmpeg.exe -i %1 -c:v copy -f hevc - | dovi_tool -m 2 --crop extract-rpu - -o "temp/RPU.bin" >> temp/log.txt ffmpeg.exe -i temp/handbrake.mkv -c:v copy temp/nonhdr.hevc >> temp/log.txt dovi_tool.exe inject-rpu -i temp/nonhdr.hevc --rpu-in "temp/RPU.bin" -o temp/hdrcompressed.hevc >> temp/log.txt -"%ProgramFiles%\MKVToolNix\mkvmerge.exe" --output DVCompressed.mkv temp/hdrcompressed.hevc -D temp/handbrake.mkv >> temp/log.txt +"%ProgramFiles%\MKVToolNix\mkvmerge.exe" --output DVCompressed8.mkv temp/hdrcompressed.hevc -D temp/handbrake.mkv >> temp/log.txt