Sample MP4 video, 640 × 360, 6 seconds
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
330 KB338,208 bytes
Download MP4 sampleDirect download. No sign-up and no waiting.
- Type
- video/mp4
- SHA-256
6f022911d62fe2d1a281a0aa0a4188e619cd90ca666210958c1897089c37c02a- Direct URL
https://sampletestfiles.com/downloads/samples/sample-video-640x360.mp4
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 5f 6d 6f 6f 76 00 00 00 6c 6d 76 68 64 |..._moov...lmvhd|
00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 03 e8 |................|Preview
Displays the file in your browser.
Technical details
| File name | sample-video-640x360.mp4 |
|---|---|
| Format | MP4 (MPEG-4 Part 14 video) |
| Extension | .mp4 |
| MIME type | video/mp4 |
| Size | 338,208 bytes (330 KB) |
| Kind | Binary |
| Signature | 66 74 79 70 at offset 4 |
| SHA-256 | 6f022911d62fe2d1a281a0aa0a4188e619cd90ca666210958c1897089c37c02a |
| Created | 2026-10-10 |
| Validation | Exact size, signature bytes and structure checked when the file was generated |
| Preview | Available on this page |
| Source | Generated for this site; not copied from elsewhere |
| Licence | Free to use, modify and redistribute (terms) |
| Category | Video |
Validated for expected format and integrity. As with any download, scan the file with your own security tools before opening it. How files are made and checked
Download from the command line and verify
Fetch the file with curl, then compare its checksum with the SHA-256 value above.
curl -o sample-video-640x360.mp4 'https://sampletestfiles.com/downloads/samples/sample-video-640x360.mp4'
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. A matching value proves that the download is complete and unaltered.
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.