Changes between Version 2 and Version 3 of Create a thumbnail image every X seconds of the video


Ignore:
Timestamp:
May 6, 2013, 12:54:56 PM (3 years ago)
Author:
richardpl
Comment:

add variable frame rate example wiht select filter

Legend:

Unmodified
Added
Removed
Modified
  • Create a thumbnail image every X seconds of the video

    v2 v3  
    2222}}} 
    2323 
     24This will create one thumbnail image every I-frame, named thumb0001.bmp, thumb0002.bmp, thumb0003.bmp, ... 
     25{{{ 
     26ffmpeg -i input.flv -f image2 -vf select= "'eq(pict_type,I)'" -vsync vfr thumb%04d.png 
     27}}} 
     28 
    2429'''Explanation:''' 
    2530By 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 :)