Convert Y4M to AVI

Turn Y4M videos into AVI. MPEG-4 Part 2 video in an AVI file without sound, for old players and editors.

Converted in an isolated sandbox on our serversDeleted after 24 hours

Drop Y4M files on the dialor turn it to pick what to do

Old players get a silent AVI.MPEG-4 Part 2 video in an AVI file, for old players and editors.

  1. What you get

    One AVI file with MPEG-4 Part 2 video. The file has no sound, so it suits old players and editors that want plain video in the original Microsoft container.

    The input is a Y4M file, which holds raw uncompressed video frames with a small header. The AVI is the output of that video in a different container and codec.

  2. Changing the picture

    Set Max width or Max height to shrink video that is larger than the value you give. The shape stays the same, and smaller video is never enlarged. Set Rotate to turn the result clockwise by 90, 180 or 270 degrees.

    Set Frame rate (fps) to choose how many frames each second holds. Fewer frames make a smaller file and choppier motion. A value from 24 to 30 looks natural.

  3. Cutting and timing

    Set Start at (s) to cut seconds from the beginning, and decimals such as 1.5 work. Set Stop at (s) to end at a second of the original. It counts from the start of the original, so it must be later than Start at.

    Set Speed to play faster or slower. A value of 2 is twice as fast and 0.5 is half as fast.

  4. When it stops

    If the Y4M file cannot be parsed, the conversion stops with input_corrupted. For the reverse direction, see AVI to Y4M.

Y4M and AVI.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.

    16 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.

    16 to 20000
  3. 03 · rotate

    Rotate

    Turns the result clockwise by a quarter, a half or three quarters.

    90 · 180 · 270
  4. 04 · speed

    Speed

    Plays faster or slower. 2 is twice as fast and 0.5 half as fast. Voices keep their pitch.

    0.25 to 4
  5. 05 · 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
  6. 06 · trim_start

    Start at (s)

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

    0 to 86400
  7. 07 · 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 120

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

AVI Video

Microsoft's original video container. Old, large and still around.

Extensions
.avi .divx .xvid
MIME type
video/x-msvideo
Kind
Video

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

terminal
$ cv convert clip.y4m clip.avi
$ cv convert clip.y4m clip.avi

Questions.What people ask about Y4M to AVI.

01OF 04

No. The AVI holds video only, without sound.

Set Max width or Max height to reduce the picture's width and height. Set Frame rate (fps) lower to get a smaller file, at the cost of choppier motion.

Yes. Set Start at (s) to cut from the beginning and Stop at (s) to end at a chosen second of the original.

The file could not be parsed. The conversion stops with input_corrupted when that happens.

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