Convert MJPEG to WEBP

Turn MJPEG videos into WEBP. A looping animated WebP at 15 frames per second, at most 640 pixels wide and quality 75 unless asked otherwise.

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 animated WebP from your camera stream.Each MJPEG becomes one animated picture. The sound is dropped.

  1. What you get

    One animated WebP that loops. It plays at 15 frames per second, is at most 640 pixels wide, and uses quality 75 unless you change these.

    WebP is Google's web image format. It supports lossy and lossless modes, transparency and animation.

  2. What it leaves behind

    The sound. WebP is an image format, so any audio in the MJPEG is dropped.

    Quality 75 uses lossy compression, so some detail is lost. Raise Quality to keep more detail. Above 90 the file grows quickly while the picture barely changes.

  3. Options

    Set Max width (px) or Max height (px) to change the size. Both shrink anything larger and keep its shape. Smaller pictures are never enlarged.

    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.

    To use only part of the clip, set Start at (s) to cut the beginning. Set Stop at (s) to end earlier. Stop at counts from the start of the original, so it must be later than Start at.

  4. Failed conversions

    If the file cannot be parsed, the conversion stops with input_corrupted.

    To work with the result afterwards, you can resize WEBP or compress WEBP.

MJPEG and WEBP.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 640
  3. 03 · quality

    Quality

    How much detail lossy compression keeps. Higher keeps more detail and makes a bigger file. Above 90 the file grows quickly while the picture barely changes.

    1 to 100 default 75
  4. 04 · 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
  5. 05 · trim_start

    Start at (s)

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

    0 to 86400
  6. 06 · 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 60 default 15

The formats

From · MJPEG

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
To · WEBP

WebP

Google's web image format with lossy and lossless modes, alpha and animation. Smaller than JPEG and PNG.

Extensions
.webp
MIME type
image/webp
Kind
Images

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

terminal
$ cv convert clip.mjpeg clip.webp
$ cv convert clip.mjpeg clip.webp

Questions.What people ask about MJPEG to WEBP.

01OF 04

No. WebP is an image format, so the sound is dropped.

Yes. The WebP loops.

Yes. Set Start at (s) to cut the beginning and Stop at (s) to end earlier. Both count in seconds, and decimals such as 1.5 work for Start at.

The file could not be parsed. The conversion stops with input_corrupted in that case.

More conversions.Other ways in and out of MJPEG and WEBP.