I'm trying to grab a single frame from a video. So far I am using the command: /usr/src/ffmpeg/ffmpeg -y -i videofile.wmv -an -r 1 -t 1 -s 640x480 frame.gif Which returns a very low-quality gif; Is there any way to get a higher-quality still (preferably in jpg format)? Thanks all, -Wes
I'm trying to grab a single frame from a video. So far I am using the command: /usr/src/ffmpeg/ffmpeg -y -i videofile.wmv -an -r 1 -t 1 -s 640x480 frame.gif
Which returns a very low-quality gif; Is there any way to get a higher-quality still (preferably in jpg format)?
To have jpg format just use a .jpg extension on your output filename. I've been happy with the stills I'm grabbing, using basically the same command (*). But my input is from a raw avi file, and I'm outputting at 128x96. If switching to jpg doesn't help, perhaps the poor quality you see is simply due to the quality/compression used in the input file? Darren *: ffmpeg -i my.avi -r 0.08 -s 128x96 my%03d.jpg
On Fri, Apr 22, 2005 at 08:14:14AM +0900, Darren Cook wrote:
I'm trying to grab a single frame from a video. So far I am using the command: /usr/src/ffmpeg/ffmpeg -y -i videofile.wmv -an -r 1 -t 1 -s 640x480 frame.gif
Which returns a very low-quality gif; Is there any way to get a higher-quality still (preferably in jpg format)?
To have jpg format just use a .jpg extension on your output filename.
I've been happy with the stills I'm grabbing, using basically the same command (*). But my input is from a raw avi file, and I'm outputting at 128x96. If switching to jpg doesn't help, perhaps the poor quality you see is simply due to the quality/compression used in the input file?
Darren
*: ffmpeg -i my.avi -r 0.08 -s 128x96 my%03d.jpg
before the output file add -qscale N to control ther quality, where N is replaced by a number in the range 1..31 (1=good, 31=crap). rich
participants (3)
-
dalias@aerifal.cx -
darren@dcook.org -
kai@cmgwork.com