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.

  • 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
    Feb 22 '21 at 12:17
  • 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: video.stackexchange.com/questions/21839/…
    – Matt
    Feb 22 '21 at 14:03
  • 1
    Check out this similar question: superuser.com/questions/991371/ffmpeg-scale-and-pad Feb 22 '21 at 20:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.