Last active
July 3, 2021 20:05
-
-
Save ljsabc/d7ce60b79ca522f5f6de5f415d52ad88 to your computer and use it in GitHub Desktop.
iPhone HEVC Batch FFMPEG Compression Toolkit
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
For /R "input" %%G In (*.mov *.mp4) Do ( | |
Echo %%G | |
HEVC30LP.bat %%G | |
move input\%%~nxG_output.mov output\%%~nG.mov | |
"exiftool.exe" -tagsFromFile %%G -ExtractEmbedded -all:all -overwrite_original output\%%~nG.mov | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
ffmpeg -y -i %1 -vcodec libx265 -crf 26 -r 30 -preset veryslow -tag:v hvc1 -acodec copy %1_output.mov |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment