Compare commits

...

2 Commits

Author SHA1 Message Date
e9f62b4a9c Pipe ffmpeg stream directly to dovi_tool 2023-01-10 15:51:57 -06:00
7d6d0b2111 Uncomment handbrake line 2023-01-10 15:42:05 -06:00

View File

@ -1,12 +1,6 @@
::@echo off
:: Delayed expansion has to be enabled, to dynamically assign values for variables using "!VariableName!"
::setlocal enabledelayedexpansion
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
::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 temp/hdr.hevc >> temp/log.txt
dovi_tool extract-rpu temp/hdr.hevc -o "temp/RPU.bin" >> 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 temp/handbrake.mkv -c:v copy temp/nonhdr.hevc >> temp/log.txt