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.

I'm using Cumulus Clips to upload some videos from work to other work people.

When I use the following thumbnail command with a WMV file, all is good.

/usr/bin/ffmpeg -i /home/USERNAME/public_html/URL/video/cc-content/uploads/flv/IIcPkfU9qu7MuuMrb5uY.flv -ss 427 -s 480x360 -r 1 -t 1 -vframes 1 -vcodec mjpeg -f mjpeg /home/USERNAME/public_html/URL/video/cc-content/uploads/thumbs/IIcPkfU9qu7MuuMrb5uY.jpg

And the resulting stream mapping is:

Stream mapping:
Stream #0.0 -> #0.0
Press [q] to stop, [?] for help
frame=    1 fps=  0 q=5.5 Lsize=      23kB time=00:00:01.00 bitrate= 187.9kbits/s    
video:23kB audio:0kB global headers:0kB muxing overhead 0.000000%

However, when I try an AVI (which is the most important file format to work), the stream mapping is:

Stream mapping:
Stream #0.0 -> #0.0
Press [q] to stop, [?] for help
frame=    0 fps=  0 q=0.0 Lsize=       0kB time=00:00:00.00 bitrate=   0.0kbits/s    
video:0kB audio:0kB global headers:0kB muxing overhead -nan%

In the resulting logs, all values are identical for both file types until the very last line with thumbnail stream mapping.

I have tried to solve this for 3 days, unsuccessfully and cannot find an option that will work for AVI files.

How do I get ffmpeg to generate useful thumbnails from AVI files?

share|improve this question
SUCESS! The code was using an internal formula to determine the -ss value. While I had tried changing it before, it was the combination of stuff and calling the -ss at 1, thus (im guessing) overriding the internal code. The final verdict of thumbnail capture for avi files in Cumulus Clips using ffmpeg 0.7.13 = -ss 1 -s 480x360 -r 1 -t 1 -an -vframes 1 -pix_fmt yuvj420p -f mjpeg –  Jennifer Jun 13 '13 at 22:51
what comes with it in a softalicious download: -s 640x480 -t 1 -r 1 -f mjpg –  Jennifer Jun 13 '13 at 22:52
You are encouraged to self-answer below with your findings/solution. –  Karan Jun 13 '13 at 23:47

Your Answer


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

Browse other questions tagged or ask your own question.