PDA

View Full Version : [all variants] FFmpeg Can't create jpeg thumbnails in Intrepid


pt123
January 30th, 2009, 03:28 PM
n Hardy using the medibuntu packages one was able to create thumbnails from an xvid file

ffmpeg -i "testfile.avi" -r .01 -y ~/ss_%d_yy.jpg

now this doesn't work on Intrepid using the unstripped ffmpeg libraries in Intrepid because medibuntu doesn't provide ffmpeg versions

but png files work
ffmpeg -i "testfile.avi" -r .01 -y ~/ss_%d_yy.png

I prefer jpg to png as the filesizes are much smaller.

Am I doing something wrong, or is this the way it i:(

FakeOutdoorsman
January 30th, 2009, 04:48 PM
Works fine for me using ffmpeg in Intrepid from the repository without the unstripped libraries:
ffmpeg -i input.avi output%d.jpg
What errors does ffmpeg give with your original command? What are you trying to achieve with "-r .01"?

pt123
January 30th, 2009, 04:58 PM
r is so you don't end up trashing your hard disk
it takes thumbnails at every frames per second

so 0.1 would give around 40 thumbnails for a 40 minute video than the million your command would do.