Resize A Video To A Specific Size With Padding Using ffmpeg
-
[]
Write this up
ffmpeg -i "input.mp4" -vf "scale=w=1920:h=1080:force_original_aspect_ratio=1,pad=1920:1080:(ow-iw)/2:(oh-ih)/2" "output.mp4"
~ fin ~
Write this up
ffmpeg -i "input.mp4" -vf "scale=w=1920:h=1080:force_original_aspect_ratio=1,pad=1920:1080:(ow-iw)/2:(oh-ih)/2" "output.mp4"