Sample MKV video files for testing, free, CC0 and hotlinkable

mkv/720p-5s.mkv carries H.264 video and AAC audio at 1280x720, the codecs of mp4/720p-5s.mp4, so between the two the container is the only variable: a player, thumbnailer or upload validator that handles the MP4 and fails on the MKV has a Matroska problem, not a codec problem. mkv/vp9-opus-720p-5s.mkv turns that round, with the VP9 and Opus of webm/720p-5s-vp9.webm in general Matroska, for sniffers that tie VP9 to the .webm extension or Matroska to H.264.

mkv/multi-audio-2-tracks-720p-5s.mkv has two audio tracks, measured at 440 Hz and 880 Hz, so a converter or player that only ever takes the first track is caught by the tone it plays. mkv/with-subtitles-720p-5s.mkv adds an SRT (subrip) subtitle track, which a remux that drops or mis-maps text tracks loses. mkv/with-chapters-720p-5s.mkv adds 3 chapters to its Matroska chapter list, for seek menus and chapter navigation that need something to show.

5 files. The same list as JSON: https://loremfile.dev/mkv/index.json

MKV files
FileSizePropertiesDescription
720p-5s.mkv 2 MB (1,971,254 bytes) 1280x720, 5.021 s, h264, aac 1280x720 at 30 fps, five seconds, H.264 plus AAC in Matroska.
Snippets
<video src="https://loremfile.dev/mkv/720p-5s.mkv" controls></video>
curl -O https://loremfile.dev/mkv/720p-5s.mkv
multi-audio-2-tracks-720p-5s.mkv 2.1 MB (2,052,109 bytes) 1280x720, 5.021 s, h264, aac 1280x720 at 30 fps, five seconds, H.264 with two AAC audio tracks: 440 Hz on the first and 880 Hz on the second, so a player or converter that only ever takes track one is easy to catch.
Snippets
<video src="https://loremfile.dev/mkv/multi-audio-2-tracks-720p-5s.mkv" controls></video>
curl -O https://loremfile.dev/mkv/multi-audio-2-tracks-720p-5s.mkv
vp9-opus-720p-5s.mkv 621.3 KB (621,281 bytes) 1280x720, 5.008 s, vp9, opus 1280x720 at 30 fps, five seconds, VP9 video with Opus audio in general Matroska rather than WebM: the codecs of webm/720p-5s-vp9.webm in the container that also holds H.264, for players and sniffers that tie VP9 to the .webm extension.
Snippets
<video src="https://loremfile.dev/mkv/vp9-opus-720p-5s.mkv" controls></video>
curl -O https://loremfile.dev/mkv/vp9-opus-720p-5s.mkv
with-chapters-720p-5s.mkv 2 MB (1,971,331 bytes) 1280x720, 3 chapters, 5.021 s, h264 1280x720 H.264 plus AAC, five seconds, with three equal chapters in the Matroska chapter list, for seek menus and chapter navigation.
Snippets
<video src="https://loremfile.dev/mkv/with-chapters-720p-5s.mkv" controls></video>
curl -O https://loremfile.dev/mkv/with-chapters-720p-5s.mkv
with-subtitles-720p-5s.mkv 2 MB (1,971,511 bytes) 1280x720, 5.021 s, h264, aac 1280x720 H.264 plus AAC, five seconds, with an embedded SRT subtitle track of two cues, for players and converters that drop or mis-map text tracks.
Snippets
<video src="https://loremfile.dev/mkv/with-subtitles-720p-5s.mkv" controls></video>
curl -O https://loremfile.dev/mkv/with-subtitles-720p-5s.mkv

Every MKV file in one command, each checked against its hash: npx loremfile get --format mkv, or loremfile get --format mkv after pip install loremfile.

File names follow the naming grammar. Verify a download against sha256sums.txt.