Body: <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>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2021-02-22T12:17:13.673Z
Comments.Text: 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'
Comments.UserDisplayName: a0x2
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2021-02-22T14:03:00.327Z
Comments.Text: 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
Comments.UserDisplayName: Matt
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2021-02-22T20:26:15.767Z
Comments.Text: Check out this similar question: https://superuser.com/questions/991371/ffmpeg-scale-and-pad
Comments.UserDisplayName: rauberdaniel
Tags: <ffmpeg>
Title: How to scale video without stretching it?
UserDisplayName: a0x2
ThreadText: # 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
  
  