Convert MPG to APNG
Turn MPG videos into APNG. A looping animated PNG at 10 frames per second and at most 480 pixels wide unless asked otherwise, every frame in full color without loss, so the file is often larger than a GIF.
Converted in an isolated sandbox on our serversDeleted after 24 hours
Drop MPG files on the dialor turn it to pick what to do
A looping animation from your video.Ten frames per second, full color, no sound.
What you get
One APNG that loops. It runs at 10 frames per second and is at most 480 pixels wide unless you ask for something else. Every frame is kept in full color without loss.
Because nothing is lost per frame, the file is often larger than a GIF would be. The sound in the MPG is dropped, since an animated picture has no audio.
Size, speed and length
Set Max width or Max height to shrink the picture. The shape is kept, and anything already smaller stays as it is, so nothing is enlarged. Max width starts at 480.
Set Frame rate to change how many frames each second holds. Fewer frames make a smaller file and choppier motion. 24 to 30 looks natural, and 10 to 15 is common for animated pictures.
Set Start at to cut seconds from the beginning, and Stop at to end at a given second of the original. Stop at counts from the start of the original, so it must be later than Start at.
When it fails
If the file cannot be parsed, the conversion stops with
input_corrupted. To go the other way, use APNG to MPG.
MPG and APNG.What each format is, and the options this conversion takes.
- 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 - 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 - 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 - 04 · trim_start
Start at (s)
Cuts this many seconds from the beginning. Decimals such as 1.5 work.
0 to 86400 - 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
MPEG Video
MPEG-1 and MPEG-2 video, the formats of VCDs and DVDs.
- Extensions
- .mpg .mpeg .vob
- MIME type
- video
/mpeg - Kind
- Video
Animated PNG
Animated PNG, full-color animation with alpha.
- Extensions
- .apng
- MIME type
- image
/apng - Kind
- Images
In your code.The same MPG to APNG conversion through the API, for your app or your agent.
$ cv convert clip.mpg clip.apng$ cv convert clip.mpg clip.apngQuestions.What people ask about MPG to APNG.
No. The sound is dropped, because the output is an animated picture.
Every frame is kept in full color without loss. That takes more space than a GIF usually needs.
Yes. Set Start at and Stop at to pick the seconds you want. Stop at counts from the start of the original.
No. Max width and Max height only shrink pictures. Anything smaller than the limit stays as it is.