Initial Commit
This commit is contained in:
commit
4e76f101ba
15
4K DV Compress.bat
Normal file
15
4K DV Compress.bat
Normal file
@ -0,0 +1,15 @@
|
||||
::@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
|
||||
|
||||
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 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
|
1
4k to 1080p tonemap.bat
Normal file
1
4k to 1080p tonemap.bat
Normal file
@ -0,0 +1 @@
|
||||
ffmpeg.exe -i %1 -map 0 -c:a copy -c:s copy -vf zscale=-1:1080,zscale=t=linear:npl=100,format=gbrpf32le,zscale=p=bt709,tonemap=tonemap=hable:desat=0,zscale=t=bt709:m=bt709:r=tv,format=yuv420p -c:v libx265 -crf 20 -preset slower output.mkv
|
BIN
HandBrakeCLI.exe
Normal file
BIN
HandBrakeCLI.exe
Normal file
Binary file not shown.
BIN
dovi_tool.exe
Normal file
BIN
dovi_tool.exe
Normal file
Binary file not shown.
BIN
ffmpeg.exe
Normal file
BIN
ffmpeg.exe
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user