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 sample

Direct 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.

Dimensions640 × 360 px
Duration6.0 s
Frame rate30 fps
Video codecH.264 (AVC), Main profile
AudioNo audio track
Fast startYes (moov before mdat)

What to check

After your application has processed sample-video-640x360.mp4, confirm that:

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 namesample-video-640x360.mp4
FormatMP4 (MPEG-4 Part 14 video)
Extension.mp4
MIME typevideo/mp4
Size338,208 bytes (330 KB)
KindBinary
Signature66 74 79 70 at offset 4
SHA-2566f022911d62fe2d1a281a0aa0a4188e619cd90ca666210958c1897089c37c02a
Created2026-10-10
ValidationExact size, signature bytes and structure checked when the file was generated
PreviewAvailable on this page
SourceGenerated for this site; not copied from elsewhere
LicenceFree to use, modify and redistribute (terms)
CategoryVideo

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 # macOS

On 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.

MP4 format reference

Where it fits

Related files

All curated sample files