How to Reverse a Video

By  on  

One of my favorite media utilities is ffmpeg. This command line utility allows us to do some pretty amazing stuff like;

Every once in a while I see a meme or funny video that reverses a video for effect. Since ffmpeg does just about everything I can imagine, I turned to it.

To reverse a video, use the following ffmpeg command:

ffmpeg -i my-video.mp4 -vf reverse my-video.mp4

Remember that you can simply change the video format via the output video's file extension, so you could export to anything from a webm to an animated GIF!

Recent Features

  • By
    Facebook Open Graph META Tags

    It's no secret that Facebook has become a major traffic driver for all types of websites.  Nowadays even large corporations steer consumers toward their Facebook pages instead of the corporate websites directly.  And of course there are Facebook "Like" and "Recommend" widgets on every website.  One...

  • By
    Regular Expressions for the Rest of Us

    Sooner or later you'll run across a regular expression. With their cryptic syntax, confusing documentation and massive learning curve, most developers settle for copying and pasting them from StackOverflow and hoping they work. But what if you could decode regular expressions and harness their power? In...

Incredible Demos

Discussion

    Wrap your code in <pre class="{language}"></pre> tags, link to a GitHub gist, JSFiddle fiddle, or CodePen pen to embed!