DataBrighten

    Sample AVI videos

    2files · 4.0 MB in all · CC0

    Two AVI files made from the same test pattern as our MP4 samples: a 10-second 640×360 video with MPEG-4 Part 2 video (tagged XVID) and MP3 audio, and a 5-second Motion JPEG file with no audio track. Free, no sign-up. Updated 28 November 2026.

    textnumberdateyes/no
    Files2to download
    Total size4.0 MBall files
    Format.avivideo/x-msvideo
    LicenceCC0use for anything

    What these files are

    Two AVI files made from the same test pattern as our MP4 samples: a 10-second 640×360 video with MPEG-4 Part 2 video (tagged XVID) and MP3 audio, and a 5-second Motion JPEG file with no audio track.

    Every file was generated by our own code, so nothing in them is copied from anyone, and we release them under CC0: use them for anything. The facts in the table were read back from each file after it was written, not typed in by hand.

    About the format

    AVI (Audio Video Interleave) was introduced by Microsoft in 1992. It is a RIFF file, like WAV: it starts with the bytes RIFF, then a size, then the form type AVI followed by a space. The hdrl list describes the streams, the movi list holds the interleaved audio and video chunks, and an idx1 index at the end lets a player seek. The original format limits how large a file can grow, which the OpenDML extension (AVI 2.0) lifts. AVI has no standard way to store B-frames cleanly, so MPEG-4 Part 2 files such as Xvid and DivX use workarounds that some players handle better than others.

    These files open in VLC, Windows Media Player, MPV and FFmpeg. A web server should send them with the header Content-Type: video/x-msvideo.

    2 files to download

    FileSizeWhat it is
    sample-10s-640x360.avi2.3 MB10 seconds, 640×360, 30 fps, MPEG-4 Part 2 (Xvid tag) + MP3
    duration s: 10.03; video: mpeg4; width: 640; height: 360; fps: 30.0; audio: mp3; sample rate: 44100; channels: mono
    sample-5s-mjpeg-no-audio.avi1.6 MB5 seconds, 640×360, 25 fps, Motion JPEG, no audio track
    duration s: 5.0; video: mjpeg; width: 640; height: 360; fps: 25.0

    MIME type: video/x-msvideo. Total 4.0 MB.

    Good for testing

    • Upload forms and converters that still have to accept AVI
    • Converting AVI to MP4 with FFmpeg or HandBrake
    • Players and thumbnailers that read older codecs
    • Handling a video file with no audio stream

    Check a file

    ffmpeg -hide_banner -i sample-10s-640x360.avi   # prints the container, codecs and duration
    ffmpeg -i sample-10s-640x360.avi -c:v libx264 -c:a aac converted.mp4

    Compare the SHA-256 checksum to make sure the download is complete and unchanged (sha256sum file on Linux, shasum -a 256 file on macOS, certutil -hashfile file SHA256 on Windows):

    FileSHA-256
    sample-10s-640x360.avi2f3b0dafa32ca5458d17a0c6f7924a4d40d939a14451bcc845378925103e8e0e
    sample-5s-mjpeg-no-audio.avif3fa5a6aba7e8632a2742728a08ecc44240d5d02e076f061b4a2642d9a86fcde