using ffmpeg to pad a video to make it the right shape

Опубликовано: 05 Апрель 2026
на канале: A Forum
642
10

Hi I just go through the examples in the documentation so that you can see how the padding command works. One reason to use the pad command is if you want to take a video and you want it to make the video a different size or shape so you need to put some padding around it. That's one use but there can be many others.

here is the link for the documentation:
https://ffmpeg.org/ffmpeg-all.html#Ex...

00:00 intro
00:19 documentation
00:40 violet pad
01:13 padding double the size of video
01:21 using sar expr
01:40 making size 16 by 9 and centering video
01:52 make square video and center
02:03 padding around outside and center video
02:08 thankyou for watching

Have a nice day