FFmpeg – CONVERT PARTICULAR FRAME TO JPG


SYNTAX

ffmpeg -i video.flv -an -ss 00:00:03 -t 00:00:01 -r 1 -y -s 320×240 video%d.jpg

DISPLAYED RESULT

FFmpeg version Sherpya-r14277, Copyright (c) 2000-2008 Fabrice Bellard, et al.
libavutil version: 49.7.0
libavcodec version: 51.60.0
libavformat version: 52.17.0
libavdevice version: 52.0.0
built on Jul 18 2008 11:12:48, gcc: 4.2.4 [Sherpya]

Seems stream 0 codec frame rate differs from container frame rate: 1000.00 (1000
/1) -> 25.00 (25/1)
Input #0, flv, from ‘video.flv’:
Duration: 00:04:54.50, start: 0.000000, bitrate: 48 kb/s
Stream #0.0: Video: flv, yuv420p, 320×240, 25.00 tb(r)
Stream #0.1: Audio: mp3, 22050 Hz, mono, 48 kb/s
Output #0, image2, to ‘video%d.jpg’:
Stream #0.0: Video: mjpeg, yuvj420p, 320×240, q=2-31, 200 kb/s, 1.00 tb(c)
Stream mapping:
Stream #0.0 -> #0.0
Press [q] to stop encoding
frame= 1 fps= 0 q=4.6 Lsize= -0kB time=1.00 bitrate= -0.2kbits/s
video:11kB audio:0kB global headers:0kB muxing overhead -100.191638%

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s