ffmpeg -i VTS_01_1_0001_Joined2.avi VTS_01_1_0001_Joined2.flv
Stream #0.1: Audio: ac3, 48000 Hz, stereo, s16, 192 kb/s [libmp3lame @ 0x13540f0] flv does not support that sample rate, choose from (44100, 22050, 11025).
ffmpeg -i VTS_01_1_0001_Joined2.avi -ar 44100 VTS_01_1_0001_Joined2.flv
ffmpeg -i VTS_01_1_WMV\ V9.flv -ss 00:00:30 -vframes 1 /tmp/VTS_01_1_WMV\ V9.jpg
ffmpeg -i VTS_01_1_WMV\ V9.flv -ss 00:00:30 -r 1 -vframes 10 /tmp/VTS_01_1_WMV\ V9_%03d.jpg
For extracting images from a video:
ffmpeg -i foo.avi -r 1 -s WxH -f image2 foo-%03d.jpeg
This will extract one video frame per second from the video and will
output them in files named foo-001.jpeg, foo-002.jpeg, etc. Images will
be rescaled to fit the new WxH values.
Yasmina příklad
ffmpeg -i tribal1.flv -ss 55 -t 1 -r 1 -f image2 -s 320x240 thumbs/tribal.jpg
for i in `seq 1 6`; do ffmpeg -i video_00$i.flv -ss 55 -t 1 -r 1 -f image2 -s 320x240 thumbs/video_00$i.jpg; done
If you want to extract just a limited number of frames, you can use the
above command in combination with the -vframes or -t option, or in
combination with -ss to start extracting from a certain point in time.
ffmpeg -i VTS_01_1_0001_Joined2.avi -qscale 10 -s cif -ar 22050 -ac 1 VTS_01_1_0001_Joined2.flv
ffmpeg -i VTS_01_1_0001_Joined2.avi -qscale 10 -s cif -ar 22050 -ac 1 VTS_01_1_0001_Joined2.flv
ffmpeg -i bellydance_orient_show_yasmina2010.flv -vframes 1 -ss 00:01:54 thumbs/bellydance_orient_show_yasmina2010.jpg