Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

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

You must log in to answer this question.