Convert APNG to WEBM
Turn APNG images into WEBM. Every frame with its own timing, the hold on the last frame included, as VP9 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 a WebM video.Every frame keeps its timing, and the video plays at 50 frames per second by default.
What you get
One WebM file with VP9 video. Every frame of the APNG keeps its own timing, and the hold on the last frame is included.
The video runs at 50 frames per second unless you set Frame rate (fps) to another value.
What changes
Transparent areas become black, because the video has no transparency. The video does not loop by itself, so a player has to be set to repeat it.
Options
Set Frame rate (fps) to a value from 1 to 120. Fewer frames make a smaller file and choppier motion. 24 to 30 looks natural, and 10 to 15 is common for animated pictures.
Set Speed to play the video faster or slower. 2 is twice as fast and 0.5 is half as fast. The range is 0.25 to 4.
If it fails
A file that cannot be parsed stops the conversion with
input_corrupted. This means the APNG itself is damaged or is not a readable APNG.To go the other way, use WEBM to APNG.
APNG and WEBM.What each format is, and the options this conversion takes.
- 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 - 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
Animated PNG
Animated PNG, full-color animation with alpha.
- Extensions
- .apng
- MIME type
- image
/apng - Kind
- Images
WebM Video
The open web video container, VP9 or AV1 video with Opus audio.
- Extensions
- .webm .weba
- MIME type
- video
/webm - Kind
- Video
In your code.The same APNG to WEBM conversion through the API, for your app or your agent.
$ cv convert photo.apng photo.webm$ cv convert photo.apng photo.webmQuestions.What people ask about APNG to WEBM.
Yes. Every frame keeps its own timing, and the hold on the last frame is included.
They become black. The video has no transparency.
No. The video does not loop by itself, so you need to set your player to repeat it.
The file could not be parsed. The conversion stops with this code in that case.