Matroska Video MIME Type

Learn what video/x-matroska identifies, why video/matroska replaced it, how to open MKV files, and how Poly supports them.

MIME type details for video/x-matroska

In active use
MIME typevideo/x-matroska
Extensions
.mkv
Alternate versions
video/matroska
First standardized2002
Created byMatroska project
Browser supportFirefox
Example applicationsVLC media player, MKVToolNix
Poly supportYes. Poly recognizes `.mkv` files and supports decodable video and audio for preview, search, metadata, and agent use.
Indexed by PolyYes. Poly indexes the filename, available technical metadata, spoken transcript, and sampled visual content. Transcripts require usable audio.
Preview in PolyYes. Poly provides a thumbnail, timeline previews, and in-app playback when the file's streams can be decoded.
Poly agentYes. The Poly agent can use supported visual content, transcript, and metadata. Results depend on decodable streams and audible speech.

What does video/x-matroska mean?

The video/x-matroska MIME type identifies Matroska video files, normally with the .mkv extension. Matroska is a container, not a video codec. One MKV can hold video, multiple audio tracks, subtitles, chapters, tags, and attachments.12

That flexibility is useful for movies, multilingual releases, recorded presentations, and preservation masters. It also means the extension alone cannot tell you whether a particular device can play the file. A player must support the Matroska container and every codec needed by its tracks.

video/x-matroska is now a deprecated alias. RFC 9559 registered video/matroska as the standard name in 2024, with .mkv as its extension and no required or optional parameters.13 Existing software and collections still use the older x- spelling, so compatible applications often recognize both.

How to identify an MKV file

Matroska is built on EBML, the Extensible Binary Meta Language. A file starts with an EBML header whose element ID is 1A 45 DF A3, but that byte sequence is not unique to Matroska. Reliable identification also checks that the header's document type is matroska and validates the following structure.24

The IANA registration therefore lists no standalone magic number for video/matroska.1 Renaming another video to .mkv changes only its filename. It does not create a Matroska container.

Common Matroska extensions describe different kinds of content:

ExtensionTypical contentRegistered MIME type
.mkvVideo, often with audio and subtitlesvideo/matroska
.mkaAudio-only Matroskaaudio/matroska
.mk3dStereoscopic videovideo/matroska-3d
.mksSubtitle-only MatroskaNo current IANA registration

Use video/x-matroska or its replacement video/matroska for .mkv, not for every file based on Matroska.13

History and standardization

The Matroska project began on December 6, 2002 as a fork of the Multimedia Container Format project. It chose EBML so the container could evolve without making older readers reject every unfamiliar element.25

Matroska version 4 is the current format version. Versions 1 through 3 are no longer maintained, but versioning rules are designed so newer files can remain usable by older readers when they avoid unsupported features.2

In October 2024, the IETF published RFC 9559 on the Standards Track. The RFC defines the container structure and established video/matroska as the registered media type, making video/x-matroska its deprecated alias.12

How to open a video/x-matroska file

For local playback, VLC lists Matroska among its supported input formats.6 MKVToolNix is useful when you need to inspect tracks, create an MKV, change container metadata, or extract a stream without treating the whole file as one video track.7

Native browser support is more dependent on both browser and codec. Firefox 145 added MKV support for commonly used combinations including AVC, HEVC, VP8, VP9, AV1, AAC, Opus, and Vorbis.8 Other browser and device combinations may accept only some Matroska files.

If an MKV plays video without sound, or sound without video, inspect its individual codecs and selected tracks. The container may be valid even when one stream is unsupported.

Matroska support in Poly

Poly recognizes .mkv files as video/x-matroska. For supported streams, you can:

  • Browse with a representative thumbnail and timeline previews.
  • Play the video in Poly and jump to a relevant moment.
  • Find it by filename, spoken transcript, and sampled visual content.
  • Review available details such as duration, dimensions, frame rate, codecs, color information, and audio tracks.
  • Ask the Poly agent about supported visual content, speech, and metadata.

Speech search and transcript-based answers require a usable audio track with audible speech. Silent video can still benefit from visual search. Playback and content-aware features depend on the codecs carried by the MKV.

See Supported File Types for the compact video feature comparison.

MKV compared with WebM

WebM is based on Matroska, but it deliberately narrows the permitted codecs and features for web delivery.3 An .mkv file and a .webm file can share the same underlying EBML structure without being interchangeable.

PropertyMatroska MKVWebM
Main goalFlexible multimedia containerWeb-focused media delivery
Typical extension.mkv.webm
MIME typevideo/matroskavideo/webm
Codec choiceBroad and extensibleRestricted by the WebM specification
Chapters, attachments, and track optionsBroad supportMore constrained profile

Changing .mkv to .webm is safe only when the file already meets WebM's requirements and is remuxed correctly. Otherwise, compatible tracks must be selected or transcoded.

Converting MKV to MP4 or WebM

Choose a destination based on where the result must play:

GoalPractical choiceWhat to verify
Broad device playbackMP4 with widely supported video and audio codecsVideo, audio, subtitles, duration, and synchronization
Web deliveryWebM with a permitted codec combinationTarget-browser support and subtitle behavior
Preserve qualityRemux compatible streams without re-encodingDestination-container codec support
Keep every track and attachmentRetain the original MKVPlayer support for all included features

Remuxing changes the container without changing compatible encoded streams, so it is fast and does not introduce generation loss. Transcoding decodes and re-encodes a track, which can improve compatibility but may reduce quality. Keep the original until you have checked every required audio, subtitle, chapter, and attachment.

Treat MKV files from unknown sources as untrusted input. Matroska can carry attachments and many codec payloads. RFC 9559 says readers must not execute attachments and should validate any attachment they use or extract.2

Footnotes

  1. Internet Assigned Numbers Authority. video/matroska Media Type Registration. The registration names .mkv, lists video/x-matroska as a deprecated alias, and defines no media-type parameters or magic number. 2 3 4 5
  2. RFC Editor. RFC 9559: Matroska Media Container Format Specification. IETF Standards Track specification for the container, versioning, tracks, chapters, attachments, tags, and security considerations. 2 3 4 5 6
  3. Matroska Project. Matroska Media Container Homepage. Format variants and the relationship between Matroska and WebM. 2 3
  4. RFC Editor. RFC 8794: Extensible Binary Meta Language. EBML header structure and document-type identification.
  5. Library of Congress. Matroska Multimedia Container. Format history, identifiers, adoption, and preservation context.
  6. VideoLAN. VLC Features. Supported input containers include Matroska.
  7. MKVToolNix. Matroska Tools for Linux, Unix, and Windows. First-party description of tools for creating, altering, and inspecting Matroska files.
  8. MDN Web Docs. Firefox 145 Release Notes for Developers. Matroska support and the listed codec combinations.
© Poly Corp. 2026