Convert MPG to WEBP

Turn MPG videos into WEBP. A looping animated WebP at 15 frames per second with square pixels and the interlaced fields merged, at most 640 pixels wide and quality 75 unless asked otherwise.

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 animated picture from your video.One WEBP file with no sound, at 15 frames per second.

  1. What you get

    A single animated WebP that loops. It plays at 15 frames per second, at most 640 pixels wide, with quality 75 unless you change those settings.

    The pixels are made square and the interlaced fields are merged. The sound is dropped, because the output is an image.

  2. What you can change

    Set Max width or Max height to change the size. Both only shrink. A video that is already narrower or shorter stays as it is, and nothing is enlarged.

    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 Quality to choose how much detail lossy compression keeps. Above 90 the file grows quickly while the picture barely changes.

  3. Cutting a part

    Set Start at to cut seconds from the beginning, and decimals such as 1.5 work. Set Stop at to end at a 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.

    If the file cannot be parsed, the conversion stops with input_corrupted. For more on the formats, see every MPG conversion or every WEBP conversion.

MPG 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 · MPG

MPEG Video

MPEG-1 and MPEG-2 video, the formats of VCDs and DVDs.

Extensions
.mpg .mpeg .vob
MIME type
video/mpeg
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 MPG to WEBP conversion through the API, for your app or your agent.

terminal
$ cv convert clip.mpg clip.webp
$ cv convert clip.mpg clip.webp

Questions.What people ask about MPG to WEBP.

01OF 04

No. The sound is dropped. The output is an image.

Yes. The WebP loops.

Yes. Set Start at and Stop at to pick the part. Stop at counts from the start of the original.

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

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