jarvisbox

GIF 转 MP4

将动态 GIF 转为 MP4 视频 — 动态效果相同,文件体积大幅缩小。

100% client-side · ffmpeg.wasm · no upload

Pick a GIF file to begin.

How to convert GIF to MP4

  1. Pick your .gif file.
  2. Pick a quality preset. CRF 23 is a balanced default; CRF 28 is smaller.
  3. Keep yuv420p on if you need playback on iOS Safari and most embedded players.
  4. Press Convert to MP4 and download the result.

Common use cases

Related: GIF Maker · Animated WebP Maker · Video to GIF · All animation tools

常见问题

Will the MP4 loop automatically?
The MP4 itself does not loop — the player has to. In HTML, add <code>autoplay loop muted playsinline</code> on the <code>&lt;video&gt;</code> element.
What if the GIF has a non-even width?
H.264 requires even dimensions; this tool pads odd widths/heights by one pixel so encoding never fails on rare sizes.
Why is the first run slow?
ffmpeg.wasm is ~25 MB and is downloaded once, then cached for instant subsequent runs.

Last updated:

反馈这个工具的问题