I am using ffmpeg to create a video using images, its creating video for uniform images (ie all the images should be same pixel ratio). It doesn't work for images that vary in frame size: it is missing some images in the output.

I am using this command to create a video in Windows:

ffmpeg -r 1/5 -i img%03d.jpg -c:v libx264  video.mp4

These are the images and their frame sizes:

  • img001.jpg 350X250
  • img002.jpg 1280X768
  • img003.jpg 1280X768
  • img004.jpg 720X480
  • img005.jpg 720X480
  • img006.jpg 1000X750

Using these images as the input ffmpeg excludes img004.jpg and img006.jpg.

Any command option to create video for all the uneven frame sizes?

migrated from stackoverflow.com Feb 21 '15 at 19:58

This question came from our site for professional and enthusiast programmers.

  • Please include the complete console output from your command. – llogan Feb 21 '15 at 18:08

Ffmpeg is a framework use to convert (encode or decode ) video from one format to another format. we can also use it for scaling and cropping image

1) Image Scaling

2) Cropping

visit :-http://www.oodlestechnologies.com/blogs/Crop-and-scale-image-using-ffmpeg

  • I doubt whether your post answers the question asked here. Please add detailed steps in your answer rather than simply posting a link. – Renju Chandran chingath Mar 3 '15 at 11:30
  • I'm tempted to flag this as spam/self-promotion. Link only answer, the question is not specifically addressed at all, and the user is associated with the link to for the "Offshore Software and Web Development company". – llogan Mar 4 '15 at 0:21

Your Answer

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