1 Jun 02:00
Re: grab a specific frame and save uncompressed
<ripl <at> aol.com>
2008-06-01 00:00:24 GMT
2008-06-01 00:00:24 GMT
-----Original Message----- From: emanuele fumagalli <emanuele.fumagalli <at> babelgum.com> Hi all, I'm looking for a way to grab a specific frame number with ffmpeg. Now I'm using ffmpeg -y -i mallard.mp4 -ss 00:00:07.500 -vframes 1 -an test%d.jpg But the resulting jpg is compressed, is there a way to have it lossless? Besides I'm not sure I'm getting the frame I want, is there a way to specify the exact frame number? Will I have the closest I frame or the exact frame I required? _______________________________________________ You can output to bmp using the -vcodec bmp option. I usually export a couple of seconds to be sure I get the frame I want. Then I just delete the extras. I don't think it matters what kind of frame it is because, IIRC, FFmpeg will process from the start of the file to the stop point set by the -vframes or -t options. BTW: I normally output to png or tiff instead of jpeg. They just look better to me. Rip

RSS Feed