Created
June 12, 2022 08:12
-
-
Save YHaruoka/374f3487bd470b0b7dd7fbdfd9a039d2 to your computer and use it in GitHub Desktop.
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
ffmpeg -i input.mp4 -vf pad=w=iw+40:h=ih+40:x=20:y=20:color=white output_pad_white.mp4 | |
ffmpeg -i input.mp4 -vf pad=w=iw+40:h=ih+40:x=20:y=20:color=black output_pad_black.mp4 | |
ffmpeg -i output_pad_black.mp4 -s 1920x1080 output_pad_black_resized.mp4 | |
pause |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment