Sample AVI video files for testing — free, CC0, hotlinkable

AVI is an old Microsoft container that still turns up in upload forms, archives and camera exports. Real AVI files rarely carry H.264. They carry MPEG-4 Part 2 video, the codec family of Xvid and DivX, often with MP3 audio. avi/640x480-5s.avi uses exactly that combination, so it tests whether a decoder or thumbnailer quietly assumes H.264.

The clip is 640x480 at 30 frames per second and five seconds long. Like every video here it is generated synthetically, with no real footage, so it is safe to publish, share and commit to a test suite.

Use it for upload validation, transcoding pipelines, media servers that must accept legacy files, and format sniffers that recognise the RIFF header with an AVI form type. For a modern container with comparable content, see MP4 or MKV.

1 file. The same list as JSON: https://loremfile.dev/avi/index.json

AVI files
FileSizePropertiesDescription
640x480-5s.avi 1.7 MB 640x480, 5.04 s, mpeg4, mp3 640x480 at 30 fps, five seconds, MPEG-4 Part 2 video with MP3 audio.
Snippets
curl -O https://loremfile.dev/avi/640x480-5s.avi
<video src="https://loremfile.dev/avi/640x480-5s.avi" controls></video>

File names follow the naming grammar. Verify a download against sha256sums.txt.