# What is GIFV?

GIFV is the name Imgur introduced in 2014 for uploaded GIFs that it converts to MP4 or WebM video and plays back like a looping GIF. The `.gifv` extension is a naming convention for that presentation, not a distinct codec or container.

<span aria-hidden="true" id="how-it-works"></span>

## How GIFV works

Imgur announced the name in October 2014 together with a change that converts uploaded GIF files into WebM or MP4, depending on browser support, and marks the converted versions with a `.gifv` extension. The announcement says the extension signals a GIF-like experience and defines no file structure for it; in the comments, the post’s author described a `.gifv` link as an HTML5 page with a `video` tag that plays MP4. The pattern itself is not specific to Imgur: encode the animation as video, then present it with a `video` element that autoplays, loops, stays muted, and plays inline, so that it behaves like an animated image. The saving comes from the encoding. Each GIF frame is a set of LZW-compressed indexes into a color table of at most 256 entries, which WebKit calls a very expensive way to encode animation compared with a video codec such as H.264.

<span aria-hidden="true" id="key-facts"></span>

## Key facts

1. What does a `.gifv` URL return? Not a file in a GIFV format, because Imgur’s announcement defines none. It says converted videos are denoted with the extension, and the post’s author described the link as an HTML5 page that plays an MP4. Software that needs the media itself has to find the underlying MP4 or WebM resource; treating the `.gifv` response as an image or as a video file fails. This describes Imgur in 2014, and other sites are free to use the suffix differently.
2. Which attributes make a video behave like a GIF, and what happens without them? `autoplay`, `loop`, `muted`, and `playsinline`. Chrome always allows muted autoplay but allows autoplay with sound only under conditions such as earlier user interaction with the site. Under the policy WebKit introduced with iOS 10, a video autoplays without a user gesture only if it is muted or has no audio track, pauses when it is no longer visible on screen, and on iPhone enters fullscreen when playback starts unless `playsinline` is present.
3. How much smaller is the video? It depends on the clip and the encoder settings, and the published figures are single examples: Imgur showed a 50 MB GIF that became a 3.4 MB video, web.dev shows a 3.7 MB GIF that became a 551 KB MP4 and a 341 KB WebM, and WebKit reported that GIFs can cost up to twelve times the bandwidth of H.264 video. None of these is a guarantee for a particular file, so measure your own output.
4. What does replacing an `img` with a `video` cost? The result is no longer an image. web.dev’s conversion example crops GIFs with odd dimensions because the H.264 encoder it uses needs an even width and height. Contexts that accept only images cannot show the video, which is why WebKit’s example keeps the original GIF inside the `video` element and swaps it in when no source is supported. One statement in web.dev’s guide is out of date for Chrome: it says a `video` element without a poster image is not a Largest Contentful Paint candidate, but Chrome’s metrics changelog records that since Chrome 116 a video can become a candidate, timed at its first presented frame.

<span aria-hidden="true" id="when-it-matters"></span>

## When GIFV matters

Developers use GIFV-style delivery to reduce downloads and improve playback for silent looping animations. They must provide formats and fallback behavior compatible with target browsers and embedding contexts.

<span aria-hidden="true" id="transloadit"></span>

## How Transloadit helps with GIFV

Transloadit’s `/video/encode` Robot accepts animated GIFs as input and can encode them to video formats such as MP4, which is the conversion step behind GIFV-style delivery.

The output is an ordinary video file, not a `.gifv` file. The `video` markup that makes it autoplay, loop, and stay muted belongs to your own page.

* [The /video/encode Robot→](/docs/robots/video-encode.md)
* [Demo: convert GIF to MP4→](/demos/video-encoding/gif-to-mp4.md)

[Explore Transloadit’s file formats & compression capabilities](/docs/supported-formats.md)

<span aria-hidden="true" id="references"></span>

## Sources

* [Imgur blog (archived): Introducing GIFV, October 2014](https://web.archive.org/web/20141230053608/http://imgur.com/blog/2014/10/09/introducing-gifv/)
* [WebKit blog: New video policies for iOS (muted autoplay and playsinline)](https://webkit.org/blog/6784/new-video-policies-for-ios/)
* [Chrome for Developers: Autoplay policy in Chrome](https://developer.chrome.com/blog/autoplay)
* [web.dev: Replace animated GIFs with video for faster page loads](https://web.dev/articles/replace-gifs-with-videos)
* [Chromium metrics changelog: Largest Contentful Paint change in Chrome 116 (videos)](https://chromium.googlesource.com/chromium/src/+/refs/heads/main/docs/speed/metrics%5Fchangelog/2023%5F08%5Flcp.md)
* [GIF89a specification: color tables and LZW image data](https://www.w3.org/Graphics/GIF/spec-gif89a.txt)

[← Gaussian Blur](/glossary/gaussian-blur.md)[Global Server Load Balancing →](/glossary/global-server-load-balancing.md)

More in file formats & compression

* [F4V](/glossary/f4v.md)
* [File Structures](/glossary/file-structures.md)
* [Fragmented MP4](/glossary/fragmented-mp4.md)
* [ICNS File](/glossary/icns-file.md)
* [Interlaced GIF](/glossary/interlaced-gif.md)
* [J2C File](/glossary/j2c-file.md)

[All 505 terms](/glossary.md)

## Turn media knowledge into a working pipeline

Connect uploads, processing, AI, storage, and delivery through one declarative API — with the encoding stack, scaling, and format churn handled for you.

[Try Transloadit for free](/c/signup/)
