[FFmpeg-user] Newbie questions

Roger Pack rogerdpack2 at gmail.com
Wed Jul 25 20:02:23 CEST 2012

> - From that I extracted and saved 25000 png images, all 1920 x 30 pixels
> but each starting at point x from the original image where x=x+1
> - Then I used the following to create a movie of it:
> c:\mytemp>ffmpeg -f image2 -i  c:\mytemp\images\image%d.png
> c:\mytemp\video\video.mpg
> Questions:
> 1) What is the maximum frame rate I can use? Currently although it is
> smooth, it takes about 33 seconds to go from right to left since it is only
> moving at one pixel at a time. I want it to take about 12 seconds

You can use any frame rate you want, probably.

> 2) Should I use PNG format images or choose something else (ASP.NET lets me
> choose the image format to Save As)?

Shouldn't matter, PNG might be "less lossy" than jpeg.

> 3) I want to embed the movie on a webpage. What then is the best video
> format for that?

flv ?

> 4) Are there any other things I should do to optimize the quality,
> smoothness and file size? Currently the movie is 92 MB.

You can specify an output video codec, like libx264.

More information about the ffmpeg-user mailing list