How to Convert gif to Video

By Xah Lee. Date: . Last updated: .

You need to have ffmpeg installed. It's usually installed on linux.

If you don't have ffmpeg, try avconv. For some years around 2015, avconv is rename of ffmpeg.

Convert Gif to Webm

# convert from gif to webm video. ubuntu 16.04
ffmpeg -f gif -i cat.gif cat.webm

Convert Gif to MP4

# convert from gif to mp4 video. ubuntu 16.04
ffmpeg -f gif -i cat.gif cat.mp4

If you have a question, put $5 at patreon and message me.

Image/Video Tutorial

  1. ImageMagick
  2. Convert WEBP to JPG
  3. Convert gif to Video
  4. Convert Video mov webm mp4
  5. View meta info in Image Files
  6. What's Gamma
  7. What's HDRI Image