Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Does anyone know how to use ffmpeg?

i got a list of files (video1.jpg, video2.jpg ... video10.jpg) that i want to convert to a .flv file so it displays like a slideshow. Does anyone know the command line statement for that?

i'm currently running on ubuntu 10.04

share|improve this question

migrated from stackoverflow.com Jul 16 '10 at 0:51

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

2 Answers 2

What I've done in the past is...

ls *.jpg > files.txt
mencoder -nosound -ovc lavc -lavcopts vcodec=mpeg4 -o test.avi -mf type=jpeg:fps=20 mf://@files.txt
ffmpeg -i test.avi test.flv
share|improve this answer

Try this:

ffmpeg -f image2 -i video%d.jpg video.mpg

Scanged from http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.