Video sample files
MP4, MOV, MKV and WebM video files in exact sizes for testing players, uploads, transcoding and range requests.
Formats in this category
| Format | What it is | Sizes |
|---|---|---|
| MP4 sample files.mp4 video/mp4 | The standard container for web and mobile video, usually holding H.264 video. | 100 KB to 20 MB |
| MOV sample files.mov video/quicktime | The QuickTime container that iPhones and cameras record: the parent of MP4, and structured the same way. | 100 KB to 5 MB |
| MKV sample files.mkv video/x-matroska | An open container that holds almost any codec, with many audio and subtitle tracks in one file. | 100 KB to 5 MB |
| WebM sample files.webm video/webm | A royalty-free video format for the web: VP8, VP9 or AV1 video in a restricted Matroska container. | 100 KB to 5 MB |
About these files
Video is where upload systems meet their limits: files are large, transfers are slow and processing is expensive. Testing with files of known size and duration is the only way to see how timeouts, progress reporting and transcoding queues behave.
The MP4, MOV and MKV samples hold the same H.264 test pattern in three containers, and the WebM samples hold it as VP9. All of them keep their index at the front, so playback and seeking work without downloading the whole file.
Ready-made samples
Hand-designed files with realistic content or a specific edge case.
| File | Format | Size | Contents | Download |
|---|---|---|---|---|
| Sample MP4 video, 640 × 360, 6 secondssample-video-640x360.mp4 | MP4 | 330 KB338,208 bytes | 640 × 360 px | Download MP4 |
| Sample MP4 video, 1280 × 720 (720p)sample-video-1280x720.mp4 | MP4 | 813 KB832,271 bytes | 1,280 × 720 px | Download MP4 |
| Sample MP4 video, 1920 × 1080 (1080p)sample-video-1920x1080.mp4 | MP4 | 1.59 MB1,665,226 bytes | 1,920 × 1,080 px | Download MP4 |
Popular downloads by size
Jump straight to a file. Every size is exact to the byte.
Or browse every format at one size: 100 KB, 200 KB, 500 KB, 1 MB, 2 MB, 5 MB, 10 MB, 20 MB.
What to test
- File upload testing
Test an upload form or endpoint with files of every size and type it should accept, and several it should refuse.
- Download testing
Files of exact size for testing download speed, range requests, resuming and integrity.
- Performance testing
Large, predictable inputs for measuring throughput, memory use and processing time.
Related categories
Video files: questions
- Why is there no audio track?
- The samples are deliberately simple: one video track. If you need to test audio handling, use the MP3, M4A, WAV and FLAC samples.
- Is there a 720p or 1080p sample video?
- Yes. The sized files are 640 × 360. The curated library has six-second MP4 clips at 1280 × 720 and 1920 × 1080.
Engineering test checklist for video sample files
When designing automated integration suites for video pipelines, QA engineers must validate three distinct layers: binary container framing, metadata extraction accuracy, and resource-bounded parsing under concurrent load.
| Verification layer | Target assertion for video | Recommended test fixture or tool |
|---|---|---|
| 1. Signature & MIME check | Confirm backend inspects leading magic bytes rather than trusting the client Content-Type header for video uploads | Magic-Byte File Inspector & Spoofed-Extension Fixtures |
| 2. Boundary byte sizes | Test minimum valid header size, 1 MB default proxy limit, 10 MB application ceiling, and 50 MB+ streaming transfers | Size Buckets (1 KB–1 GB) & In-Browser Generator |
| 3. Corrupt payload handling | Verify that truncated streams or malformed headers in video return HTTP 400/422 instead of crashing the worker | Broken-File QA Suite & errors-400.json |
| 4. Checksum reproducibility | Assert that round-trip storage in cloud object storage preserves the exact byte length and SHA-256 digest | SHA-256 Checksum Directory |
Common failure points in video ingestion workflows
- Buffering entire files in process memory: Node.js, Python, and Java services that read an entire uploaded video fixture into a contiguous heap buffer before checking its header signature risk Out-Of-Memory (OOM) terminations when concurrent users upload 20 MB to 100 MB files. Read the first 4,096 bytes from the stream to validate magic bytes before streaming the body to object storage.
- Character encoding and metadata sanitization: Filenames and embedded metadata fields inside video containers can contain precomposed (NFC) or decomposed (NFD) Unicode sequences, spaces, or missing extensions. Combine the format fixtures above with our edge-case filename samples and the A to Z Format Index to cover every parser branch.
- Cross-platform viewer and codec parity: A video file that opens on a developer's macOS laptop may fail inside a minimal Alpine or Debian Linux container if required shared libraries or font tables are absent. Test parser behavior inside your exact production container image during CI using the copy-ready recipes on CLI & CI Automation.