Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- echo Start %TIME%
- mkdir temp
- echo Start %TIME%>>ffmpeg.log
- for /f %%i in (files.txt) do (
- echo ================ Call ffmpeg on %i% ================ >> ffmpeg.log
- call ffmpeg.exe -y -i input/%%i -vf "pad=max(iw\,ih):ow:(ow-iw)/2:(oh-ih)/2" temp/%%i.OUT.png 2>>ffmpeg.log
- )
- echo ================ Concat ================ >> ffmpeg.log
- call ffmpeg.exe -y -f concat -i format.txt -vf scale=1280x1280 -vsync vfr -pix_fmt yuv420p Output.mp4 2>>ffmpeg.log
- echo Done %TIME%
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement