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
    6 Things You Didn’t Know About Firefox OS

    Firefox OS is all over the tech news and for good reason:  Mozilla's finally given web developers the platform that they need to create apps the way they've been creating them for years -- with CSS, HTML, and JavaScript.  Firefox OS has been rapidly improving...

  • By
    fetch API

    One of the worst kept secrets about AJAX on the web is that the underlying API for it, XMLHttpRequest, wasn't really made for what we've been using it for.  We've done well to create elegant APIs around XHR but we know we can do better.  Our effort to...

Incredible Demos

Discussion

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