Changes between Version 2 and Version 3 of Create a thumbnail image every X seconds of the video
- Timestamp:
- May 6, 2013, 9:54:56 AM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Create a thumbnail image every X seconds of the video
v2 v3 22 22 }}} 23 23 24 This will create one thumbnail image every I-frame, named thumb0001.bmp, thumb0002.bmp, thumb0003.bmp, ... 25 {{{ 26 ffmpeg -i input.flv -f image2 -vf select= "'eq(pict_type,I)'" -vsync vfr thumb%04d.png 27 }}} 28 24 29 '''Explanation:''' 25 30 By telling FFmpeg to set the output file's FPS option (frames per second) to some very low value, we made FFmpeg drop a lot of frames at the output, in order to achieve such a low frame rate, effectively having our thumbnails generated every X seconds :)
