Xvid to MP4

Convert Xvid to MP4 online for free. Modernize legacy video with H.264 compression for universal device support.

Initializing... drag & drop files here

Supports: XVID

OptionsAdvanced Options - Our defaults are optimized for the best results. We recommend you keeping the defaults unless you have a specific need.
Show All Options
File Compression
Preset
Video resolution
Trim

How to Convert Xvid to MP4 Online

  1. Upload Your Xvid File: Drag and drop or click "Add Files" to select Xvid-encoded videos — typically .avi files from older camcorders, ripped DVDs, or downloaded archives. Batch is supported; drop in a whole folder of legacy clips.
  2. Pick a Quality Preset and Compression Mode: Default is "Quality Preset: Very High (Recommended)", which produces an H.264 MP4 visually indistinguishable from the source. Under "File Compression," switch to "Constant Quality" and set CRF (18 = visually lossless, 23 = balanced default, 28 = smaller files), target a percentage of the original via "Target file size (%)", enter an exact "Specific file size" in MB, or pick "Constant Bitrate" / "Variable Bitrate" if you need a fixed Mbps rate.
  3. Resize or Trim if Needed: Under "Video resolution," keep the original, pick a preset (1080p, 720p, 480p, 360p), enter custom width × height, or scale by percentage — useful for upscaling old 480p Xvid for modern displays. Under "Trim," select "Time Range" and enter start time + duration in HH:MM:SS to extract a segment.
  4. Convert and Download: Click Convert. Files process in your browser session — no sign-up, no watermark, no upload to a third-party server.

Why Convert Xvid to MP4?

Xvid is an open-source implementation of MPEG-4 Part 2 Advanced Simple Profile (ASP), first released in 2001 and most commonly stored inside an AVI container. Its last stable release (1.3.7) shipped in December 2019, and modern devices have largely moved on. MP4 (ISO/IEC 14496-14) with H.264 is the universal successor — better compression, far broader hardware support, and proper streaming. Converting Xvid to MP4 is the single most common modernization path for legacy video libraries:

  • iPhones, iPads, and Apple TV refuse to play Xvid AVI — Apple has never shipped MPEG-4 Part 2 / Xvid decode in iOS, and there is no official codec pack. Converting to H.264 MP4 makes the same content play in the native Photos and Files apps with zero install.
  • Smart TVs and streaming sticks (Roku, Chromecast, Fire TV, Apple TV) — many newer models removed Xvid/DivX support or never had it. H.264 MP4 plays on every certified device made since roughly 2010.
  • 30-50% smaller files at the same visual quality — H.264 is significantly more efficient than MPEG-4 Part 2 thanks to better motion compensation, in-loop deblocking, and CABAC entropy coding. A 700 MB Xvid AVI typically re-encodes to a 350-450 MB MP4 with no perceptible quality loss.
  • Web browsers and HTML5 <video> — no major browser plays Xvid in AVI natively. MP4 (H.264 + AAC) is the baseline format for <video> tags, social uploads, and embeds across Chrome, Firefox, Edge, and Safari.
  • Modern editors prefer MP4 input — DaVinci Resolve, CapCut, Premiere, Shotcut, and Final Cut Pro all import H.264 MP4 cleanly. Xvid AVI often requires a remux or transcode step before the timeline will scrub smoothly.
  • Cloud and messaging services — Google Drive, Dropbox, and OneDrive preview MP4 in-browser but not Xvid AVI. Discord, WhatsApp, and Gmail all attach MP4 reliably; Xvid AVI often falls back to a download-only attachment.

Xvid AVI vs MP4 (H.264) at a Glance

Property Xvid (in AVI) MP4 (H.264)
Codec spec MPEG-4 Part 2 ASP (2001) MPEG-4 Part 10 / H.264 AVC (2003)
Container spec Microsoft AVI (RIFF, 1992) ISO/IEC 14496-14 (MPEG-4 Part 14)
Compression efficiency Baseline 30-50% smaller at equivalent quality
iPhone / iPad / Apple TV Not supported Native playback
Modern smart TV / streaming stick Inconsistent (often unsupported) Universal
Browser HTML5 <video> Not supported Supported in Chrome, Firefox, Edge, Safari
Streaming / progressive download Poor (AVI not designed for it) Designed for it (moov atom + fragmentation)
B-frames in container Requires "packed bitstream" hack Native
Subtitles / chapters / multi-audio Limited / clunky Full support
Active development Last release Dec 2019 (v1.3.7) Actively maintained (HEVC/AV1 are successors)

Compression Mode Quick Guide

Mode What it does Best for
Quality Preset (Very High → Low) Picks a CRF value behind the scenes Most users — set and forget
Constant Quality (CRF 18-28) Fixed perceptual quality, variable size Archiving — set CRF 20 for visually lossless
Target file size (%) Output is X% of input size Quick "make it smaller" passes
Specific file size (MB) Exact MB cap Hitting a hard upload limit
Constant Bitrate (CBR) Fixed Mbps throughout Streaming where bitrate is capped
Variable Bitrate (VBR) Bitrate adapts to scene complexity Best size/quality balance for general playback

Frequently Asked Questions

Will the MP4 be smaller than the original Xvid AVI?

Almost always, yes — typically 30-50% smaller at the same visual quality. H.264 has access to CABAC entropy coding, in-loop deblocking, and more flexible B-frame structures that MPEG-4 Part 2 lacks. A 1.4 GB Xvid AVI movie usually re-encodes to 700-900 MB MP4 at CRF 20 with no visible quality difference. If you want to preserve the exact original size, set CRF to 18 or pick "Quality Preset: Highest."

Why won't my Xvid AVI play on my iPhone or Apple TV?

iOS and tvOS have never shipped MPEG-4 Part 2 / Xvid decode — Apple's Photos, Files, and TV apps simply refuse to open it. The fix is to convert to H.264 MP4, which iOS, iPadOS, macOS, and tvOS all play natively in every built-in app. Side-loading apps like VLC for iOS can play Xvid, but you'll still hit walls when sharing, AirDropping, or syncing to Apple TV.

Should I keep the AVI container or move to MP4?

Move to MP4. AVI was designed by Microsoft in 1992 around a one-frame-in-one-frame-out model that doesn't cleanly handle modern codec features like B-frames — Xvid worked around this with a "packed bitstream" hack, but H.264 and newer codecs have no equivalent workaround. MP4 (ISO/IEC 14496-14) was designed from the start for modern codecs, streaming, multiple audio tracks, chapters, and subtitles.

My Xvid file is in an .avi extension — is that the same thing?

Almost always, yes. Xvid is the codec; AVI is the container. The vast majority of files labeled "Xvid" are .avi files containing an Xvid (or DivX) video stream and an MP3 or AC3 audio stream. XConvert auto-detects the codec inside your AVI and converts it. If you have AVI files using a different codec, see AVI to MP4 — the same converter handles both.

What CRF value should I pick?

CRF 18 is visually lossless (the encoder will use whatever bitrate it needs to make the output indistinguishable from the source). CRF 23 is the x264 default — a strong balance of size and quality. CRF 28 produces noticeably smaller files with mild but visible quality loss. For modernizing a legacy Xvid library where source quality is already imperfect, CRF 20-22 is usually the sweet spot.

Can I batch convert an entire folder of Xvid AVI files?

Yes. Drop in as many files as you want and apply the same settings to all, or configure per-file options. Each file converts in parallel within your browser session and downloads individually or as a ZIP. There is no fixed cap on the number of files in a batch.

Will I lose the audio track or subtitles?

Audio is preserved — XConvert re-encodes it to AAC inside the MP4 by default, or you can keep the original MP3 / AC3 stream depending on the source. AVI's subtitle support is weak (most Xvid releases ship subtitles as separate .srt / .sub files alongside the video). Those external subtitle files are not embedded in the MP4 — keep them next to the converted file, or merge them in a separate step.

Does this work for DivX files too?

Yes. DivX and Xvid are both implementations of MPEG-4 Part 2 ASP and are functionally interchangeable inside AVI containers. The same converter handles both — see DivX to MP4 for the DivX-specific landing page if you prefer.

What if I need a different output container?

If you want MKV (better for multiple audio/subtitle tracks) or another modern container, see Xvid to MKV or Xvid to MOV. For further size reduction after converting, compress MP4 supports H.265/HEVC and AV1 re-encoding.

Rate Xvid to MP4 Tool

Rating: 4.8 / 5 - 110 reviews