Convert MJPEG to APNG
Turn MJPEG 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 MJPEG files on the dialor turn it to pick what to do
A looping animation from your MJPEG video.Every frame keeps its full color. The sound is dropped.
What you get
One APNG that loops. By default it runs at 10 frames per second and is at most 480 pixels wide. Every frame is in full color without loss.
APNG supports full-color animation with alpha. The file is often larger than a GIF.
What it leaves behind
The sound is dropped. The APNG holds only the picture.
Anything narrower than the width limit stays as it is, so nothing is enlarged.
Size, speed and length
Set Max width (px) or Max height (px) to shrink the frames. The shape is kept, and nothing is ever enlarged.
Set Frame rate (fps) to change how many frames play each second. 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 (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, so it must be later than Start at (s).
When it stops
If the MJPEG file could not be parsed, the conversion stops with
input_corrupted.For other conversions, see every MJPEG conversion or every APNG conversion.
MJPEG 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
Motion JPEG
A stream of JPEG frames, what many webcams and IP cameras send.
- Extensions
- .mjpeg .mjpg
- MIME type
- video
/x -motion -jpeg - Kind
- Video
Animated PNG
Animated PNG, full-color animation with alpha.
- Extensions
- .apng
- MIME type
- image
/apng - Kind
- Images
In your code.The same MJPEG to APNG conversion through the API, for your app or your agent.
$ cv convert clip.mjpeg clip.apng$ cv convert clip.mjpeg clip.apngQuestions.What people ask about MJPEG to APNG.
No. The sound is dropped, and the APNG holds only the picture.
Every frame is kept in full color without loss, so the file is often larger than a GIF.
Yes. Set Start at (s) to cut seconds from the beginning, and Stop at (s) to end at a given second of the original.
Yes. The animation loops.