Created
December 12, 2023 22:17
-
-
Save ahbanavi/6f1ab67b3212711982eed5a3aa3f250b to your computer and use it in GitHub Desktop.
ffmpeg stuff :) just drag and drop videos to the `.bat` file
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 %%A in (%*) do ( | |
ffmpeg -i "%%A" -vcodec hevc_nvenc "%%~nA.x265%%~xA" | |
) | |
pause |
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 %%A in (%*) do ( | |
ffmpeg -i "%%A" -vcodec libx264 -crf 30 "%%~nA.x264%%~xA" | |
) | |
pause |
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 %%A in (%*) do ( | |
ffmpeg -i "%%A" -vcodec libx265 -crf 30 "%%~nA.x265%%~xA" | |
) | |
pause |
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 %%A in (%*) do ( | |
ffmpeg -i "%%A" -c:v h264_nvenc -b:v 5M -t 02:20 -c:a aac -filter_complex "scale=1920:-1,fps=30" "%%~nA.twitter%%~xA" | |
) | |
pause |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment