Sample MPEG videos
Two MPEG program stream files: a 10-second 640×360 MPEG-2 video with MPEG-1 Layer II (MP2) audio, laid out like a DVD VOB, and a 10-second 352×240 MPEG-1 file at the classic Video CD size. Free, no sign-up. Updated 28 November 2026.
What these files are
Two MPEG program stream files: a 10-second 640×360 MPEG-2 video with MPEG-1 Layer II (MP2) audio, laid out like a DVD VOB, and a 10-second 352×240 MPEG-1 file at the classic Video CD size.
Every file was generated by our own code, so nothing in them is copied from anyone, and we release them under CC0: use them for anything. The facts in the table were read back from each file after it was written, not typed in by hand.
About the format
An MPEG program stream (MPEG-PS) is a sequence of packs; each starts with the start code 00 00 01 BA and carries packets of video and audio. MPEG-1 (1993) was designed for Video CD at about 1.5 Mbit/s; MPEG-2 (ISO/IEC 13818) added interlaced video and higher bitrates and is the format of DVD-Video, whose VOB files are MPEG-2 program streams. The audio here is MPEG-1 Audio Layer II, the older sibling of MP3.
These files open in VLC, MPV, Windows Media Player and FFmpeg. A web server should send them with the header Content-Type: video/mpeg; related extensions: .mpeg, .vob (DVD).
2 files to download
| File | Size | What it is |
|---|---|---|
| sample-10s-640x360.mpg | 2.1 MB | 10 seconds, 640×360, 30 fps, MPEG-2 video + MPEG-1 Layer II audio, program stream duration s: 10.01; video: mpeg2video; width: 640; height: 360; fps: 30.0; audio: mp2; sample rate: 44100; channels: mono |
| sample-10s-mpeg1.mpg | 1.5 MB | 10 seconds, 352×240 (SIF), MPEG-1 video + MPEG-1 Layer II audio duration s: 9.99; video: mpeg1video; width: 352; height: 240; fps: 30.0; audio: mp2; sample rate: 44100; channels: mono |
MIME type: video/mpeg. Total 3.6 MB.
Good for testing
- Converters and archives that receive DVD or camcorder footage
- Players that must handle MPEG-2 and MP2 audio
- Container detection for .mpg and .mpeg uploads
Check a file
ffmpeg -hide_banner -i sample-10s-640x360.mpg
xxd -l 4 sample-10s-640x360.mpg # 00 00 01 ba is a pack headerCompare the SHA-256 checksum to make sure the download is complete and unchanged (sha256sum file on Linux, shasum -a 256 file on macOS, certutil -hashfile file SHA256 on Windows):
| File | SHA-256 |
|---|---|
| sample-10s-640x360.mpg | 399c79fa5c8f7c6acb91dbc6a56b05b42c85513c3d8c4e4e3f17f4e236b7268a |
| sample-10s-mpeg1.mpg | 5f8e4738d3657609835adca820fcfda5026efb250cae92c29b50fbaed79313a1 |