Sample AVI Files — Download Test AVI Videos (Xvid MPEG-4)
Audio Video Interleave · .avi · MIME type video/x-msvideo
Download a sample AVI file — Microsoft's 1992 container, encoded here with MPEG-4 Part 2 (Xvid-compatible) video and MP3 audio, which is what most real AVI files from the DivX/Xvid era contain. Browsers cannot play AVI, so these files are for testing ingestion, transcoding and legacy-media migration rather than playback.
AVI is still common in archives, surveillance systems and older cameras. It has no native support for modern codecs, streaming or subtitles, but every transcoder reads it — and your upload pipeline should too.

Download sample AVI files
| File | Details | Size | Download |
|---|---|---|---|
sample-video-480x270-1mb.avi | 480 × 270 · 10 s · 30 fps · MPEG4 · MP3 audio · 847 kbps | 1.1 MB | |
sample-video-1280x720-2mb.avi | 1280 × 720 · 10 s · 30 fps · MPEG4 · MP3 audio · 1615 kbps | 2.0 MB |
Use these files from the command line or CI
Every URL is stable and CORS-open. Pin the SHA-256 in your test and you will know the moment a fixture changes.
# Download one file curl -O https://pnb-website-bucket.s3.us-east-2.amazonaws.com/samples/videos/avi/sample-video-480x270-1mb.avi # Verify it (SHA-256 is listed for every file above) shasum -a 256 sample-video-480x270-1mb.avi # Machine-readable index of every sample file curl https://pnb-website-bucket.s3.us-east-2.amazonaws.com/samples/index.json | jq '.files[] | select(.format=="avi")'
AVI format at a glance
| Full name | Audio Video Interleave |
|---|---|
| Extensions | .avi |
| MIME type | video/x-msvideo |
| Introduced | Microsoft Video for Windows, 1992 |
| Container | RIFF |
| Codecs here | MPEG-4 Part 2 (xvid FourCC) + MP3 |
| Browser playback | None |
| Magic bytes | 52 49 46 46 … 41 56 49 20 (RIFF…AVI ) |
What people test with sample AVI files
- Legacy archive migration to MP4
- Transcoder input coverage
- Surveillance and older camera footage handling
Frequently asked questions
Why does my browser download the AVI instead of playing it?
No browser has an AVI decoder. Web applications convert AVI to MP4 on the server; if yours does not, the browser has no choice but to offer the file as a download.
Are these AVI files safe to download?
Yes. Every file is generated by our own open script from scratch — nothing is scraped or user-uploaded — and contains no scripts, macros or executables. The SHA-256 of each file is published on this page so you can verify what you received.
Can I use the sample AVI files commercially?
Yes. They are free for any purpose, including commercial products, test suites, demos and redistribution, with no attribution required. There is nothing to license and no one to ask.
Can I hotlink these files or use them in CI?
Yes. Every link is a stable direct URL over HTTPS with Access-Control-Allow-Origin: * and long cache headers, so curl, wget, fetch() and test runners can pull them directly. A JSON index of every file is linked from each page (see the command-line section).
Related sample files
Testing a file pipeline? We build them.
Uploads, conversions, previews, document processing and media workflows are the kind of production systems Pine & Birch designs and runs for clients — which is why we needed these files in the first place.
See how we can help