1s Color AVI
1s Color AVI is a Audio Video Interleave sample generated for file format testing. It can be used to test downloads, parsers, previews, and file type detection.
color-1s.aviVideo
Audio Video Interleave is a video format commonly identified by .avi. Use the listed signatures, MIME types, and structure notes to validate files beyond the extension.
52 49 46 46 RIFFSIGNATURE = bytes.fromhex("52494646")
OFFSET = 0
def is_avi(path: str) -> bool:
with open(path, "rb") as f:
f.seek(OFFSET)
head = f.read(len(SIGNATURE))
return head == SIGNATUREconst SIGNATURE = [0x52, 0x49, 0x46, 0x46];
const OFFSET = 0;
// bytes: a Uint8Array / Buffer holding the start of the file
export function isAvi(bytes) {
return SIGNATURE.every((byte, i) => bytes[OFFSET + i] === byte);
}package fileid
import "bytes"
var isaviSignature = []byte{0x52, 0x49, 0x46, 0x46}
const isaviOffset = 0
func IsAvi(b []byte) bool {
end := isaviOffset + len(isaviSignature)
if len(b) < end {
return false
}
return bytes.Equal(b[isaviOffset:end], isaviSignature)
}const SIGNATURE: &[u8] = &[0x52, 0x49, 0x46, 0x46];
const OFFSET: usize = 0;
fn is_avi(bytes: &[u8]) -> bool {
bytes.get(OFFSET..OFFSET + SIGNATURE.len()) == Some(SIGNATURE)
}<?php
$signature = "\x52\x49\x46\x46";
$offset = 0;
function is_avi(string $bytes): bool {
global $signature, $offset;
return substr($bytes, $offset, strlen($signature)) === $signature;
}Audio Video Interleave is used for video previews, encoding checks, responsive UI testing, and upload flows. Container format and codecs are separate concerns, so leading bytes alone do not prove playability.
Media files can still stress decoders through corrupt metadata, extreme dimensions, long durations, or unusual chunks. Read size, dimensions, and duration before processing.
11 samples help test duration handling, playback startup, metadata reads, and download behavior.
1s Color AVI is a Audio Video Interleave sample generated for file format testing. It can be used to test downloads, parsers, previews, and file type detection.
color-1s.aviCloud Flight AVI 0.5s is a Audio Video Interleave sample based on Wikimedia Commons, 160 x 284, 0.5s. It can be used to test downloads, parsers, previews, and file type detection.
01-flight-over-clouds.avi9bacd84254db1f020e974d34a6acf40d57bc86dc7a69ba4e8bd4122d10efa0e7Cloud Flight AVI 1s is a Audio Video Interleave sample based on Wikimedia Commons, 240 x 426, 1s. It can be used to test downloads, parsers, previews, and file type detection.
02-flight-over-clouds.avi29980286d0c22d8a0418c482847f1ba80100a063f9943f0ac5e5ba1cf09a1aceCloud Flight AVI 1.5s is a Audio Video Interleave sample based on Wikimedia Commons, 320 x 568, 1.5s. It can be used to test downloads, parsers, previews, and file type detection.
03-flight-over-clouds.avid448039c1c8b5ed42d67c4a9be4fee29842f3b463a247c3fb7f7d0cbd223f534Cloud Flight AVI 2s is a Audio Video Interleave sample based on Wikimedia Commons, 480 x 854, 2s. It can be used to test downloads, parsers, previews, and file type detection.
04-flight-over-clouds.avi0f4b6d85a95e8bd68c5b9893bc90326a59d8fcaba904a3abae0fbf63c3a7d5a3Cloud Flight AVI 3s is a Audio Video Interleave sample based on Wikimedia Commons, 640 x 1138, 3s. It can be used to test downloads, parsers, previews, and file type detection.
05-flight-over-clouds.avief8d0f98bf110b00aec9fcb9815f18807926e2cbaceba6a45497aa498eaf0018Cloud Flight AVI 4s is a Audio Video Interleave sample based on Wikimedia Commons, 720 x 1280, 4s. It can be used to test downloads, parsers, previews, and file type detection.
06-flight-over-clouds.avi58d53a18c96c5673196ee9dd416cd8fe67030180a57ead0094e9437051e5da37Cloud Flight AVI 5s is a Audio Video Interleave sample based on Wikimedia Commons, 854 x 1518, 5s. It can be used to test downloads, parsers, previews, and file type detection.
07-flight-over-clouds.avi1d10e9598ce4b4c74b95b70262b202edd93e63c6d82244771bd2896e625ad076Cloud Flight AVI 6s is a Audio Video Interleave sample based on Wikimedia Commons, 960 x 1706, 6s. It can be used to test downloads, parsers, previews, and file type detection.
08-flight-over-clouds.avieae4a9a28d58e32bf327d776e653ed931b6550b855b0b007484c9b08337dd130Cloud Flight AVI 8s is a Audio Video Interleave sample based on Wikimedia Commons, 1080 x 1920, 8s. It can be used to test downloads, parsers, previews, and file type detection.
09-flight-over-clouds.avi8e7a0150bf6176e49160fd2931151f21cde6a441ffeb99e0194e43ecd6a2be4aNASA Clouds AVI is a Audio Video Interleave sample based on NASA Image and Video Library, 480 x 270, 2s. It can be used to test downloads, parsers, previews, and file type detection.
nasa-clouds-orbit.avi126b9edfd4162627d8f70b6ea509af92e1b6bf0ffc99347d3d97820ff1f1320aAudio Video Interleave files begin with the byte signature 52 49 46 46 ("RIFF"). Detect the format by reading these leading bytes rather than trusting the file extension alone.
The MIME type for Audio Video Interleave is video/x-msvideo.
Audio Video Interleave files use the .avi extension. The extension is a convention only and does not guarantee the file contents, so combine it with signature and structure checks.