Click to See Complete Forum and Search --> : FFMPEG - First frame of a video


elementaluk
04-29-2005, 03:22 AM
Hey does anyone know how to convert the first frame of a video into an image using FFMPEG (command line).

I keep getting crap looking images with:

ffmpeg -i test.mpg -y -vframes 1 -an -sameq -f gif test.gif

It works but looks really bad, does anyone know how to get ffmpeg to spit out a decent image?

bradgrafelman
04-30-2005, 11:10 PM
I've never heard of 'ffmpeg' before, but taking a wild guess, I'd say your problem is that you're using a GIF image type.

Aren't GIF's usually set at 256 colors? Can you try a higher quality, like JPEG, BMP, PNG, etc.?