video/x-msvideo AVI Common
Identifies AVI video files — an older Windows-native container format, largely superseded for modern web video.
What it's for
video/x-msvideo identifies AVI (Audio Video Interleave) files — an older Windows-native video container format dating back to the early 1990s. Like MOV and MP4, AVI is a container that can hold various different codecs internally, but its age and comparatively less efficient/flexible design mean it's largely been superseded by MP4 and WebM for modern web video, remaining relevant today mostly for legacy content and certain older or Windows-specific software workflows rather than anything you'd choose deliberately for new web-facing video.
Format & syntax
Content-Type: video/x-msvideo
No parameters. The x- prefix in the MIME type is a historical convention indicating an "experimental" or non-IANA-standardized type at the time it came into common use — a naming pattern seen in several older, informally-established MIME types (application/x-tar, application/x-www-form-urlencoded being other examples) that predate more formal registration processes.
How it's used in practice
- Legacy video content and archives — older video files, particularly ones originating from Windows-based recording or editing software from past decades, are commonly encountered in AVI format when dealing with archival or legacy content migration.
- Certain older screen-recording and capture software defaults — some older Windows-based screen recording and video capture tools historically defaulted to AVI output, a pattern less common in current software but still relevant when processing older recordings.
- Specific broadcast/professional video workflows — some professional video production contexts, particularly ones with established legacy tooling, still work with AVI containers for particular workflow or compatibility reasons tied to older systems.
- Video format conversion pipelines handling varied user uploads — applications accepting general video uploads occasionally still receive AVI files from users with older source material, requiring transcoding to a modern web-friendly format for actual playback.
Common mistakes & gotchas
- Assuming AVI plays natively in modern browsers — unlike MP4 and WebM, AVI generally isn't natively supported by browsers' built-in
<video>element playback, meaning AVI files typically need to be transcoded to MP4 or WebM before they can be played directly on the web. - AVI's format limitations causing streaming/seeking difficulties — AVI's older container design wasn't built with modern web streaming considerations in mind, making features like efficient seeking or progressive streaming less well-suited compared to more modern containers designed with web delivery specifically in mind.
- Variable codec support within AVI files causing compatibility issues — because AVI can contain many different, sometimes quite old or obscure codecs, even software that nominally "supports AVI" may fail to correctly decode a specific file depending on which codec was actually used internally.
- Choosing AVI for new video content creation today — there's essentially no compelling reason to choose AVI as an output format for new video content in 2026; MP4 (broadest compatibility) or WebM (open format, good compression) are both meaningfully better choices for any new video work.
Comparison & FAQ
| Type | Purpose | Key difference from video/x-msvideo |
|---|---|---|
| video/mp4 | Modern, universally supported video container | Native browser playback support and much better suited to modern web delivery than AVI |
| video/webm | Modern, open-format video container | Also natively browser-supported, unlike AVI, with generally better compression efficiency |
Can browsers play AVI video files directly?
Generally no — unlike MP4 and WebM, most browsers don't natively support AVI playback in the <video> element, meaning AVI content typically needs transcoding to a modern format for web delivery.
Why would I still encounter AVI files today?
Mostly through legacy content, older screen recordings, or archival video migrated from older Windows-based systems — it's not a format anyone would deliberately choose for new content given better modern alternatives.
Should I transcode AVI uploads to MP4?
Yes, generally — if your application needs to play back user-uploaded AVI content on the web, transcoding to MP4 (or WebM) server-side is the practical approach, since AVI itself lacks reliable native browser playback support.
Why do different AVI files behave inconsistently even in software that "supports" AVI?
AVI is a container that can hold many different, sometimes quite old or obscure video codecs internally — software supporting the AVI container format broadly doesn't guarantee it can decode every specific codec that might be used inside a particular AVI file.