AVI to MPEG Converter

Generate the exact FFmpeg command to convert AVI files to MPEG-1 or MPEG-2, with bitrate and frame-rate controls, plus a format comparison table.

FFmpeg Command Builder

Generated Command

ffmpeg -i input.avi -c:v mpeg2video -b:v 4000k -c:a mp2 -b:a 128k output.mpg

Replace input.avi with your actual file path. FFmpeg must be installed — download free from ffmpeg.org.

Common Presets

AVI vs MPEG — Format Comparison

Attribute AVI MPEG-2
Developed by Microsoft (1992) ISO / IEC
Typical use Legacy recordings, CCTV DVD, broadcast TV
Common codecs Xvid, DivX, MPEG-4 mpeg2video, MP2 audio
DVD authoring Not supported Supported
Broadcast use Not supported Standard
Legacy hardware Windows software only Excellent
Max resolution No hard limit Up to 1080i

Install FFmpeg

Copied!

Summary

Generate the exact FFmpeg command to convert AVI files to MPEG-1 or MPEG-2, with bitrate and frame-rate controls, plus a format comparison table.

How it works

  1. Choose your target format: MPEG-1 (broad legacy compatibility) or MPEG-2 (DVD and broadcast quality).
  2. Set the video bitrate — higher values produce better quality and larger files.
  3. Optionally choose an audio bitrate and frame rate, or keep the source values.
  4. Click "Build Command" to generate the FFmpeg command in the output panel.
  5. Copy the command and run it in a terminal on your computer with FFmpeg installed.
  6. FFmpeg transcodes the AVI and writes the .mpg output to the same directory.

Use cases

  • Convert legacy AVI recordings from camcorders or CCTV systems to MPEG-2 for DVD authoring.
  • Prepare Xvid or DivX AVI files for broadcast or legacy video editing workflows.
  • Archive old AVI footage in MPEG-1 format for maximum playback compatibility on aging hardware.
  • Supply MPEG clips to NLEs or disc authoring tools that do not accept AVI containers.
  • Convert training or presentation AVI videos to MPEG for systems that require MPEG input.
  • Replace proprietary conversion software with a free, scriptable FFmpeg workflow.
  • Convert high-bitrate AVI captures to MPEG-2 for distribution on disc or broadcast systems.

Frequently Asked Questions

Last updated: 2026-06-11 · Reviewed by Nham Vu