Convert APNG to MP4

Turn APNG images into MP4. Every frame with its own timing, the hold on the last frame included, as H.264 video at 50 frames per second unless video.fps says otherwise.

Converted in an isolated sandbox on our serversDeleted after 24 hours

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

An animated PNG as an MP4 video.Every frame keeps its own timing, and the video plays at 50 frames per second.

  1. What you get

    One MP4 file with H.264 video. Every frame of the APNG is kept with its own timing, and the hold on the last frame is included.

    The video runs at 50 frames per second unless you change it. Set Frame rate (fps) to any value from 1 to 120.

  2. What changes

    Transparent areas become black, because the video has no alpha channel to hold them.

    The video does not loop by itself. An APNG can repeat, but the MP4 plays once and stops unless the player is set to repeat it.

  3. Options

    Set Speed to play the video faster or slower. A value of 2 is twice as fast and 0.5 is half as fast. The range is 0.25 to 4.

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

  4. When it stops

    The conversion stops with input_corrupted when the file could not be parsed.

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

  1. 01 · speed

    Speed

    Plays faster or slower. 2 is twice as fast and 0.5 half as fast. Voices keep their pitch.

    0.25 to 4
  2. 02 · 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 120 default 50

The formats

From · APNG

Animated PNG

Animated PNG, full-color animation with alpha.

Extensions
.apng
MIME type
image/apng
Kind
Images
To · 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

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

terminal
$ cv convert photo.apng photo.mp4
$ cv convert photo.apng photo.mp4

Questions.What people ask about APNG to MP4.

01OF 04

No. The video does not loop by itself. It plays once unless your player is set to repeat it.

They become black. The MP4 cannot keep transparency.

Yes. Set Speed to a value from 0.25 to 4. A value of 2 plays twice as fast and 0.5 plays half as fast.

Yes. MP4 to APNG goes the other way.

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