Body: <p>I'm trying to generate a GIF thumbnail out of a video, similar to what youtube thumbnail works when we hover the mouse on a thumbnail as a video preview.</p>
  
  <p>Is there any ways to do it with FFmpeg? Say I want to generate a 2-3 second GIF out of a video. How can I do that? Based on what I see from youtube, apparently it takes one frame out of multiple consecutive frames, not all of them.</p>
  
  <p>I'm not really concerned if that GIF is a good representative of the video as that is more semantic problem to investigate.</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-05-28T20:04:30.180Z
Comments.Text: .You want to pick every Nth frame and compose a GIF?
Comments.UserDisplayName: Gyan
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-05-28T21:12:47.290Z
Comments.Text: @Gyan That. Plus another approach can be pick multiple consecutive I-frames (or every Nth I-frame) and compose a GIF.
Comments.UserDisplayName: angel_30
Tags: <video><ffmpeg><video-editor>
Title: GIF video thumbnail with FFmpeg
UserDisplayName: angel_30
ThreadText: # GIF video thumbnail with FFmpeg
  
  (Asked by: username_0 on 2019-05-28)
  
  I'm trying to generate a GIF thumbnail out of a video, similar to what youtube thumbnail works when we hover the mouse on a thumbnail as a video preview.
  
  Is there any ways to do it with FFmpeg? Say I want to generate a 2-3 second GIF out of a video. How can I do that? Based on what I see from youtube, apparently it takes one frame out of multiple consecutive frames, not all of them.
  
  I'm not really concerned if that GIF is a good representative of the video as that is more semantic problem to investigate.
  
  **Tags:** video, ffmpeg, video-editor
  
  > **Comments:**
  > **username_1**: .You want to pick every Nth frame and compose a GIF?  
  > **username_0**: @username_1 That. Plus another approach can be pick multiple consecutive I-frames (or every Nth I-frame) and compose a GIF.  
  
  ---
  
  ## 0 answers
  
  