<p>I am using this command to scale video <code>ffmpeg -i input.avi -vf scale=720:480 output.avi</code>. I want to add black background instead of stretching the video.</p>

CC BY-SA 4.0
2021-02-22T12:17:13.673Z
Guys i need this. Else my product manager is gonna fire me. There is no sprints in my company only 'i want this feature by this evening'
a0x2
CC BY-SA 4.0
2021-02-22T14:03:00.327Z
I'm sorry for you, but this SE site is not that active and you may not get an answer in time. If you're in a hurry try posting on stackoverflow as they seem to accept ffmpeg questions too and may respond faster. I can't help you since I know too little about ffmpeg. Maybe this question helps you, as it's a bit similar: https://video.stackexchange.com/questions/21839/adding-blurred-background-to-portrait-videos-with-ffmpeg
Matt
CC BY-SA 4.0
2021-02-22T20:26:15.767Z
Check out this similar question: https://superuser.com/questions/991371/ffmpeg-scale-and-pad
rauberdaniel
<ffmpeg>
How to scale video without stretching it?
a0x2
# How to scale video without stretching it?

(Asked by: username_0 on 2021-02-22)

I am using this command to scale video `ffmpeg -i input.avi -vf scale=720:480 output.avi`. I want to add black background instead of stretching the video.

**Tags:** ffmpeg

> **Comments:**
> **username_0**: Guys i need this. Else my product manager is gonna fire me. There is no sprints in my company only 'i want this feature by this evening'  
> **username_1**: I'm sorry for you, but this SE site is not that active and you may not get an answer in time. If you're in a hurry try posting on stackoverflow as they seem to accept ffmpeg questions too and may respond faster. I can't help you since I know too little about ffmpeg. Maybe this question helps you, as it's a bit similar: https://video.stackexchange.com/questions/21839/adding-blurred-background-to-portrait-videos-with-ffmpeg  
> **username_2**: Check out this similar question: https://superuser.com/questions/991371/ffmpeg-scale-and-pad  

---

## 0 answers

