Convert Y4M to WEBP

Turn Y4M 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 Y4M files on the dialor turn it to pick what to do

A looping animation from your video.You get one animated WebP at 15 frames per second, up to 640 pixels wide.

  1. What you get

    One animated WebP that loops. It uses quality 75 and is at most 640 pixels wide unless you change those settings. The frame rate is 15 frames per second by default.

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

  2. What it changes

    The sound is dropped. The result is a picture that moves, with no audio track.

    Compression is lossy, so some detail is lost. Anything wider than the width limit shrinks and keeps its shape. Anything narrower stays as it is, so nothing is enlarged.

  3. Options

    Set Max width or Max height to change the size. Both only shrink, and neither enlarges a video.

    Set Frame rate to change how many frames each second holds. Fewer frames make a smaller file and choppier motion, and 10 to 15 is common for animated pictures. Set Quality higher to keep more detail, though above 90 the file grows quickly while the picture barely changes.

    Set Start at to cut seconds from the beginning. Set Stop at 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.

  4. Failures

    A file that cannot be parsed stops with input_corrupted.

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

YUV4MPEG

Raw uncompressed video frames with a small header, the exchange format of codec testing.

Extensions
.y4m
MIME type
video/x-yuv4mpeg
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 Y4M to WEBP conversion through the API, for your app or your agent.

terminal
$ cv convert clip.y4m clip.webp
$ cv convert clip.y4m clip.webp

Questions.What people ask about Y4M to WEBP.

01OF 04

No. The sound is dropped, and the WebP holds only the moving picture.

Yes. The animated WebP loops.

Yes. Set Start at and Stop at. Stop at counts from the start of the original, so it must be later than Start at.

Lower Frame rate for fewer frames, or lower Quality to keep less detail. You can also set Max width or Max height to shrink the picture. For more on this, see compress WEBP.

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