Convert MP4 to GIF

Turn MP4 videos into GIF. A looping GIF at 10 frames per second and at most 480 pixels wide unless asked otherwise, with one 256-color palette for the whole clip.

Converted in an isolated sandbox on our serversDeleted after 24 hours

Drop MP4 files on the dialor turn it to pick what to do

A looping GIF made from your MP4 video.The clip plays on repeat at 10 frames per second, at most 480 pixels wide.

  1. What you get

    One GIF that loops. Unless you change the settings, it runs at 10 frames per second and is at most 480 pixels wide. The whole clip shares one 256-color palette.

    GIF is limited to 256 colors per frame, so colors in the video are reduced to fit the palette.

  2. What it leaves behind

    The sound. GIF holds images only, so the audio track is dropped.

    A video that is already narrower than the width limit stays at its size. Nothing is enlarged.

  3. Shaping the clip

    Set Start at (s) to cut seconds from the beginning. Set Stop at (s) to end at a given second of the original. It counts from the start of the original, not from where trimming starts, so it must be later than Start at (s).

    Set Frame rate (fps) to change the motion. Fewer frames make a smaller file and choppier motion. 24 to 30 looks natural, and 10 to 15 is common for animated pictures.

    Set Max width (px) or Max height (px) to change the size. Larger sides shrink and the shape is kept.

    A damaged video stops with input_corrupted.

MP4 and GIF.What each format is, and the options this conversion takes.

  1. 01 · max_height

    Max height (px)

    Shrinks anything taller than this, keeping its shape. Anything shorter stays as it is, so nothing is ever enlarged.

    1 to 20000
  2. 02 · max_width

    Max width (px)

    Shrinks anything wider than this, keeping its shape. Anything narrower stays as it is, so nothing is ever enlarged.

    1 to 20000 default 480
  3. 03 · trim_end

    Stop at (s)

    Stops at this second of the original. It counts from the start of the original, not from where trimming starts, so it must be later than Start at.

    0 to 86400
  4. 04 · trim_start

    Start at (s)

    Cuts this many seconds from the beginning. Decimals such as 1.5 work.

    0 to 86400
  5. 05 · video.fps

    Frame rate (fps)

    Frames per second. Fewer frames make a smaller file and choppier motion. 24 to 30 looks natural, and 10 to 15 is common for animated pictures.

    1 to 50 default 10

The formats

From · MP4

MP4 Video

The most compatible video container, usually H.264 video with AAC audio.

Extensions
.mp4 .m4v .f4v
MIME type
video/mp4
Kind
Video
To · GIF

GIF

Indexed-color images with simple animation. Limited to 256 colors per frame.

Extensions
.gif
MIME type
image/gif
Kind
Images

In your code.The same MP4 to GIF conversion through the API, for your app or your agent.

terminal
$ cv convert clip.mp4 clip.gif
$ cv convert clip.mp4 clip.gif

Questions.What people ask about MP4 to GIF.

01OF 04

No. GIF cannot hold audio, so the sound is dropped.

Yes. It is a looping GIF.

Yes. Set Start at (s) and Stop at (s) to pick the part you want. Stop at (s) counts from the start of the original.

The video file is damaged and cannot be read. Try the original file or export it again.

More conversions.Other ways in and out of MP4 and GIF.