Created
November 6, 2017 08:29
-
-
Save iwatake2222/68cc8163087e48b5b74e4366de605908 to your computer and use it in GitHub Desktop.
Resize movie image size using ffmpeg
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
rem @echo off | |
setlocal ENABLEDELAYEDEXPANSION | |
set FFMPEG="C:\\asd\\tool\\ffmpeg-20170827-ef0c6d9-win64-static\\bin\\ffmpeg" | |
set /a HEIGHT=1080 | |
cd /d %~dp1 | |
for %%f in (%1\*.mp4) do ( | |
%FFMPEG% -y -i %%f -vf scale=-1:%HEIGHT% %%f_out.mp4 | |
) | |
pause |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment