Answers.Body: <p>How much of a speedup do you need? And what does 'blending' mean to you? Collapsing a longish section of video into a shortish one, no matter how you do it, will involve dropping some frames. Consider keeping a (say) five second 'handle' on the end of one action clip, and similar at the beginning of the next. Then delete everything in between and do a two-second dissolve between the clips. Or whatever durations look appealing to you.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-05-06T22:42:52.180Z
Answers.Text: Thanks for the reply. I ended up writing a Python wrapper around ffmpeg that identifies frames with a low amount of change between them that then blends (averages) those frames instead of dropping them like ffmpeg mpdecimate does. It ends up being kind of a cool effect.
Answers.UserDisplayName: xnx
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-05-05T21:12:24.773Z
Answers.LastActivityDate: 2024-05-05T21:12:24.773Z
Answers.UserDisplayName: Jim Mack
Body: <p>I have a long video clip of driving that I would like to speed up. The video is a mix of driving (where there's a lot of movement in the scene) and waiting at stoplights (where there is almost no movement). What tool or technique could I use to blend frames with low motion to speed up the video? ffmpeg mpdecimate comes close, but it drops frames instead of blending them.</p>
  
Tags: <time-lapse>
Title: Automatically blending low motion frames to speed up a video
UserDisplayName: xnx
ThreadText: # Automatically blending low motion frames to speed up a video
  
  (Asked by: username_0 on 2024-04-18)
  
  I have a long video clip of driving that I would like to speed up. The video is a mix of driving (where there's a lot of movement in the scene) and waiting at stoplights (where there is almost no movement). What tool or technique could I use to blend frames with low motion to speed up the video? ffmpeg mpdecimate comes close, but it drops frames instead of blending them.
  
  **Tags:** time-lapse
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2024-05-05. Score: 0
  
  How much of a speedup do you need? And what does 'blending' mean to you? Collapsing a longish section of video into a shortish one, no matter how you do it, will involve dropping some frames. Consider keeping a (say) five second 'handle' on the end of one action clip, and similar at the beginning of the next. Then delete everything in between and do a two-second dissolve between the clips. Or whatever durations look appealing to you.
  
  > **Comments:**
  > **username_0**: Thanks for the reply. I ended up writing a Python wrapper around ffmpeg that identifies frames with a low amount of change between them that then blends (averages) those frames instead of dropping them like ffmpeg mpdecimate does. It ends up being kind of a cool effect.  
  
  ---
  
  