Initializing... drag & drop files here
Supports: XVID
.avi, sometimes .mkv). Batch upload is supported, so you can re-encode an entire archive in one job.Xvid implements MPEG-4 Part 2 Advanced Simple Profile, a codec ratified in 1999–2001 and widely used for DivX-style AVI rips through the 2000s. HEVC (H.265, ISO/IEC 23008-2 / ITU-T H.265) was ratified in 2013 and supersedes both Xvid's MPEG-4 ASP and the H.264 generation that followed it. Re-encoding old Xvid libraries to HEVC reclaims significant disk space and brings legacy video into the codec ecosystem that current phones, TVs, and streaming pipelines actually accelerate in hardware.
.mp4 or .mkv container plays in Safari 11+, Edge, and natively in iOS/macOS.| Property | Xvid | HEVC (H.265) |
|---|---|---|
| Codec base | MPEG-4 Part 2 ASP (1999) | ISO/IEC 23008-2 / H.265 (2013) |
| Typical container | .avi, sometimes .mkv |
.mp4, .mkv, .mov |
| Bit depth | 8-bit | 8/10-bit (Main 10), up to 16-bit ext. |
| Max resolution (practical) | SD / 1080p in practice | Up to 8192×4320 (8K) |
| Compression vs H.264 | Worse (older generation) | 25–50% smaller at same quality |
| File size at same quality | Largest | 50–70% smaller than Xvid |
| Hardware decoding | Software only on most modern devices | Apple A9+ (2015), Intel Skylake+ (2015), most 2017+ TVs |
| Encode speed | Fast (lightweight codec) | Slower (more analysis per frame) |
| License model | GPL v2 (free) | Royalty-bearing (multiple patent pools) |
| Best for | Legacy DivX/Xvid AVI playback | Archival, modern devices, 4K/HDR |
The x265 encoder used under the hood follows libx265 conventions. Lower CRF = better quality + larger file. Slower preset = better compression at the same CRF (so smaller file, longer encode).
| CRF | Visual quality | Typical use |
|---|---|---|
| 18–22 | Visually lossless / near-master | Color grading, intermediate masters |
| 23–25 | Transparent for 1080p | High-quality archive |
| 26–28 | Excellent; widely-used default | Standard archival, streaming |
| 29–32 | Good; visible softening on detail | Mobile playback, low storage |
| 33+ | Noticeable artifacts | Tiny preview / proxy |
Preset order (fastest → slowest): ultrafast, superfast, veryfast, faster, fast, medium (default), slow, slower, veryslow, placebo. The xconvert "Quality Preset" dropdown maps to this scale; "Very High (Recommended)" sits in the slower-but-not-extreme region for a balance of file size and encoding time.
Almost always — typically 40–65% smaller at visually equivalent quality. Because HEVC's compression gain over MPEG-4 ASP (Xvid's underlying spec) is even larger than the 25–50% gain it has over H.264, an old 700 MB Xvid AVI rip usually re-encodes to roughly 250–400 MB at CRF 23–26. Files already heavily compressed (low-bitrate, blocky source) sometimes only shrink modestly because the artifacts themselves are expensive to encode.
CRF 23–25 is a safe transparent zone for 1080p HEVC; CRF 26–28 gives a strong size reduction with quality loss most viewers won't notice. If you want a defensible archival default, pick CRF 24. If you want the smallest file that still looks "fine" on a phone, CRF 28 with a slow preset is the common pick. Don't pick CRF below 18 for re-encodes — you're not adding quality back, only padding the file.
iPhone 6s and later (Apple A9, September 2015), iPad Pro and later, Apple TV 4K, macOS High Sierra (10.13)+, Android phones from the Snapdragon 820 generation onward, Windows 10/11 with the HEVC Video Extensions installed, and most 2017+ smart TVs (Samsung, LG, Sony, TCL, Hisense). Browsers: Safari 11+ on macOS/iOS plays HEVC natively; Chrome, Edge, and Firefox added HEVC playback in 2023–2024 but require hardware support on the device. VLC has natively decoded HEVC since 2.2.0 (February 2015) on every platform.
Audio is re-muxed (or re-encoded if the output container needs it). Typical Xvid AVIs carry MP3, AC-3, or AAC audio; the converter keeps the audio stream parameters appropriate for the output container. If you need lossless audio passthrough or a specific codec (AAC for iOS, Opus for self-hosted), that's controlled by the audio settings, not the video codec choice.
Pick MP4 for maximum app and browser compatibility (iOS Files, Photos.app, Safari, embedded players). Pick MKV for archival flexibility — multiple audio tracks, subtitles, and chapter markers. Don't put HEVC back into AVI: AVI was designed for the MPEG-4 ASP / DivX/Xvid era and lacks proper support for HEVC's parallelization and timing. Most modern players reject or stutter on HEVC-in-AVI. See convert HEVC to MP4 for re-containering.
For long-term archive of an Xvid library, HEVC is the safest 2026 choice — universal hardware support, mature encoders, much smaller files than H.264. Pick H.264 instead only if you specifically need playback on a pre-2015 device, an ancient browser, or a low-end embedded player. AV1 beats HEVC by another ~20–30% in compression but encoding is 5–20× slower and hardware decode is still not universal — fine for streaming distribution, less ideal for "convert this archive once."
Re-encoding any lossy codec to another lossy codec is generationally lossy in theory, but at CRF 23–25 the second-generation HEVC is visually indistinguishable from the Xvid source for all but pathological cases (very dark scenes, fine grain). The encoder spends bits hiding compression artifacts from the source, so practical losses are minimal. If you have the original master file (camera footage, DVD/Blu-ray rip, etc.), encode from that instead of from the Xvid intermediate.
Yes. Set "Trim" to Time Range with a start time and duration to extract a clip. Set "Video resolution" to a preset (1080p, 720p) or a percentage to downscale — useful when re-encoding an old upscaled Xvid back to its native resolution. Both happen during the single encode pass, so you don't pay quality for two trips through the codec.
Both are MPEG-4 Part 2 ASP encoders. Xvid is open-source (GPL v2); DivX is proprietary. The bitstreams are interoperable — a DivX-encoded AVI plays in any Xvid-compatible decoder and vice versa. For conversion to HEVC the distinction doesn't matter; the decoder just sees MPEG-4 ASP video. If your file is .divx or DivX-AVI, the same conversion path works.
For other Xvid endpoints see Xvid to MP4, Xvid to MKV, or compress Xvid. To shrink an existing HEVC file further, use compress HEVC. For AVI sources where Xvid isn't the codec, AVI to HEVC handles MPEG-2, DivX, and H.264-in-AVI as well.