Convert AVI to MPG

Turn AVI videos into MPG. MPEG-2 video with MPEG audio at 48 kHz in an MPEG program stream, for DVD tools and old players.

Converted in an isolated sandbox on our serversDeleted after 24 hours

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

An MPG file for DVD tools and old players.MPEG-2 video and MPEG audio, in one program stream file.

  1. What you get

    One MPG file with MPEG-2 video and MPEG audio at 48 kHz, packed in an MPEG program stream. This is the form DVD tools and old players expect.

  2. Changing the picture and length

    Set Max width or Max height to shrink a large video. The shape stays the same, and a video that is already smaller is not enlarged. Set Rotate to turn the result by 90, 180 or 270 degrees clockwise.

    Set Start at to cut seconds from the beginning. Set Stop at 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 Frame rate to change the frames per second. Fewer frames make a smaller file and choppier motion. Set Speed to play faster or slower, from 0.25 to 4 times. Voices keep their pitch.

  3. Sound

    The sound is kept and converted to MPEG audio. Turn on Mute to drop the sound track and keep only the picture.

  4. When it stops

    If the AVI cannot be parsed, the conversion stops with input_corrupted. To go the other way, use MPG to AVI.

AVI and MPG.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
  8. 08 · video.mute

    Mute

    Drops the sound track and keeps only the picture.

The formats

From · AVI

AVI Video

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

Extensions
.avi .divx .xvid
MIME type
video/x-msvideo
Kind
Video
To · 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

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

terminal
$ cv convert clip.avi clip.mpg
$ cv convert clip.avi clip.mpg

Questions.What people ask about AVI to MPG.

01OF 04

Yes. Turn on Mute, and the MPG keeps only the picture.

Yes. Set Start at to cut the beginning and Stop at to end at a second of the original. Stop at must be later than Start at.

Yes. Set Speed between 0.25 and 4. A value of 2 is twice as fast, and voices keep their pitch.

The file could not be parsed. The conversion stops at that point.

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