Add language flag to SRT file. Add non-DV 4k compress.

This commit is contained in:
Adam Bissen 2023-01-29 10:12:41 -06:00
parent db5d0a1075
commit 9249fab72a
2 changed files with 8 additions and 1 deletions

7
4K Compress.bat Normal file
View File

@ -0,0 +1,7 @@
@SET TITLE=%~1
mkdir "../%TITLE%/temp"
HandBrakeCLI -i "../%TITLE%/%TITLE% - 4k.mkv" -o "../%TITLE%/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 > "../%TITLE%/temp/log.txt"
"%ProgramFiles%\MKVToolNix\mkvmerge.exe" --output "../%TITLE%/%TITLE% - 4k Subs.mkv" -S --no-chapters "../%TITLE%/temp/handbrake.mkv" --default-track-flag 0:no --language en "../%TITLE%/%TITLE%.en.srt" -A -D -B -T -M --no-global-tags "../%TITLE%/temp/handbrake.mkv" >> "../%TITLE%/temp/log.txt"

View File

@ -10,4 +10,4 @@ ffmpeg.exe -i "../%TITLE%/temp/handbrake.mkv" -c:v copy "../%TITLE%/temp/nonhdr.
dovi_tool.exe inject-rpu -i "../%TITLE%/temp/nonhdr.hevc" --rpu-in "../%TITLE%/temp/RPU.bin" -o "../%TITLE%/temp/hdrcompressed.hevc" >> "../%TITLE%/temp/log.txt" dovi_tool.exe inject-rpu -i "../%TITLE%/temp/nonhdr.hevc" --rpu-in "../%TITLE%/temp/RPU.bin" -o "../%TITLE%/temp/hdrcompressed.hevc" >> "../%TITLE%/temp/log.txt"
"%ProgramFiles%\MKVToolNix\mkvmerge.exe" --output "../%TITLE%/%TITLE% - 4k DVP8 Subs.mkv" "../%TITLE%/temp/hdrcompressed.hevc" -D -S -B -T --no-chapters -M --no-global-tags "../%TITLE%/temp/handbrake.mkv" --default-track-flag 0:no "../%TITLE%/%TITLE%.en.srt" -D -A "../%TITLE%/temp/handbrake.mkv" >> "../%TITLE%/temp/log.txt" "%ProgramFiles%\MKVToolNix\mkvmerge.exe" --output "../%TITLE%/%TITLE% - 4k DVP8 Subs.mkv" "../%TITLE%/temp/hdrcompressed.hevc" -D -S -B -T --no-chapters -M --no-global-tags "../%TITLE%/temp/handbrake.mkv" --default-track-flag 0:no --language en "../%TITLE%/%TITLE%.en.srt" -D -A "../%TITLE%/temp/handbrake.mkv" >> "../%TITLE%/temp/log.txt"