Sample TS video
A 10-second 640×360 MPEG transport stream with H.264 video and AAC audio: the same packaging used by broadcast TV and by the segments of an HLS live stream. Free, no sign-up. Updated 28 November 2026.
What these files are
A 10-second 640×360 MPEG transport stream with H.264 video and AAC audio: the same packaging used by broadcast TV and by the segments of an HLS live stream.
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 transport stream (ISO/IEC 13818-1) is cut into fixed 188-byte packets, each starting with the sync byte 0x47 and a packet identifier (PID). Tables called the PAT and PMT tell a reader which PIDs carry video and audio. Because every packet is the same size and the stream can be joined at any point, TS is used for broadcast TV, IPTV and the .ts segments of HLS.
These files open in VLC, MPV, FFmpeg and HLS players such as hls.js. A web server should send them with the header Content-Type: video/mp2t; related extensions: .m2ts and .mts (Blu-ray and AVCHD use 192-byte packets).
1 file to download
| File | Size | What it is |
|---|---|---|
| sample-10s-640x360.ts | 649 KB | 10 seconds, 640×360, 30 fps, H.264 + AAC in an MPEG transport stream duration s: 10.02; video: h264; width: 640; height: 360; fps: 30.0; audio: aac; sample rate: 44100; channels: mono |
MIME type: video/mp2t. Total 649 KB.
Good for testing
- HLS segmenters and players
- Broadcast and IPTV tools
- Remuxing TS to MP4 without re-encoding
- Parsers that must find the 0x47 sync byte every 188 bytes
Check a file
ffmpeg -hide_banner -i sample-10s-640x360.ts
python -c "b=open('sample-10s-640x360.ts','rb').read(); print(len(b) % 188, all(b[i] == 0x47 for i in range(0, len(b), 188)))"Compare 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.ts | effe46f06b2e803d6c53698688a417ac0552875bac56cd0689414d75c2ba8d41 |