Changes between Version 1 and Version 2 of Create a thumbnail image every X seconds of the video
- Timestamp:
- Nov 19, 2012, 10:55:25 AM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Create a thumbnail image every X seconds of the video
v1 v2 8 8 But, what if you want to extract thumbnails periodically? This will create one thumbnail image every second, named out1.png, out2.png, out3.png, ... 9 9 {{{ 10 ffmpeg -i input.flv -f image2 - r1 out%d.png10 ffmpeg -i input.flv -f image2 -vf fps=fps=1 out%d.png 11 11 }}} 12 12 … … 14 14 ''(%03d means that ordinal number of each thumbnail image should be formatted using 3 digits)'' 15 15 {{{ 16 ffmpeg -i myvideo.avi -f image2 - r1/60 img%03d.jpg16 ffmpeg -i myvideo.avi -f image2 -vf fps=fps=1/60 img%03d.jpg 17 17 }}} 18 18 19 19 This will create one thumbnail image every 10 minutes, named thumb0001.bmp, thumb0002.bmp, thumb0003.bmp, ... 20 20 {{{ 21 ffmpeg -i test.flv -f image2 - r1/600 thumb%04d.bmp21 ffmpeg -i test.flv -f image2 -vf fps=fps=1/600 thumb%04d.bmp 22 22 }}} 23 23
