Sample 6-second MP4 video, 640 × 360
A six-second synthetic test pattern with a frame counter, encoded as H.264 in an MP4 container with the index at the start of the file.
Download
sample-video-640x360.mp4
333 KB340,793 bytes
Download MP4 sampleCreated in your browser in a few seconds, then checked against the SHA-256 checksum. The file is not uploaded anywhere. No sign-up.
- Type
- video/mp4
- SHA-256
408fc0f9a9d2cdee274e56bd22771712b0c4e206baaeaa4e92094cf84ba79dbf- Delivery
- Created in your browser from static generator assets (how it works).
Why test with this file
A small clip for testing HTML video players, upload previews and transcoding jobs.
| Dimensions | 640 × 360 px |
|---|---|
| Duration | 6.0 s |
| Frame rate | 30 fps |
| Video codec | H.264 (AVC), Main profile |
| Audio | No audio track |
| Fast start | Yes (moov before mdat) |
What to check
After your application has processed sample-video-640x360.mp4, confirm that:
- Playback starts before the whole file has downloaded.
- Seeking to the middle works, which requires range requests on the server.
- A poster frame or thumbnail is extracted from the video.
First bytes of the file
The first 64 bytes of sample-video-640x360.mp4 as a hex dump: offset, bytes, then the same bytes as text. The MP4 signature is 66 74 79 70 at offset 4.
00000000 00 00 00 20 66 74 79 70 69 73 6f 6d 00 00 02 00 |... ftypisom....|
00000010 69 73 6f 6d 69 73 6f 32 61 76 63 31 6d 70 34 31 |isomiso2avc1mp41|
00000020 00 00 05 73 6d 6f 6f 76 00 00 00 6c 6d 76 68 64 |...smoov...lmvhd|
00000030 00 00 00 00 e5 7b 69 80 e5 7b 69 80 00 00 03 e8 |.....{i..{i.....|Preview
Creates the file in your browser and shows it here.
Technical details
| File name | sample-video-640x360.mp4 |
|---|---|
| Format | MP4 (MPEG-4 Part 14 video) |
| Extension | .mp4 |
| MIME type | video/mp4 |
| Size | 340,793 bytes (333 KB) |
| Kind | Binary |
| Signature | 66 74 79 70 at offset 4 |
| SHA-256 | 408fc0f9a9d2cdee274e56bd22771712b0c4e206baaeaa4e92094cf84ba79dbf |
| Created | 2026-10-21 |
| Validation | See the listed size and SHA-256. Small downloads are checked in the browser; verify streamed downloads manually. A hash match does not prove parser compatibility. |
| Preview | Available on this page |
| Source | Generated in your browser by this site's generator; not copied from elsewhere |
| Licence | Free to use, modify and redistribute (terms) |
| Category | Video |
Check the stated structure and checksum against your application requirements. As with any download, scan the file with your own security tools before opening it. How files are made and checked
Verify your copy
This file is created in your browser, so it has no direct URL for curl or wget. The generator is designed to produce reproducible bytes. After saving, compare the checksum with the SHA-256 value above.
sha256sum sample-video-640x360.mp4 # Linux
shasum -a 256 sample-video-640x360.mp4 # macOSOn Windows, run Get-FileHash sample-video-640x360.mp4 -Algorithm SHA256 in PowerShell. For scripts and pipelines, save the file once and keep your own copy.
About MP4
The standard container for web and mobile video, usually holding H.264 video.
Where it fits
- Web development
Placeholder images, media, data and documents for building and demonstrating web interfaces.
- File upload testing
Test an upload form or endpoint with files of every size and type it should accept, and several it should refuse.