MKV to TS Converter

Re-encode an MKV movie as an H.264 and AAC transport stream, right in your browser.

or drop files here

MK

MKV Format

Matroska video

An open container built on EBML that can carry several video, audio and subtitle streams, with chapters and tags.

  • Several streams in one file
  • Chapters and tags
  • No fixed codec
  • Media type video/matroska
TS

TS Format

MPEG transport stream

A system format from ISO/IEC 13818-1 that multiplexes separately coded video and sound, designed with broadcast and error-prone links in mind.

  • Timestamps for decoder buffering
  • Several programs in one stream
  • Broadcast distribution
  • Media type video/mp2t

How to convert MKV to TS

Follow these steps to convert MKV to TS online.

    1

    Choose your MKV file, or several at once.

    2

    Wait while the converter turns each file into TS.

    3

    Download each new TS file. Your original file isn't changed.

What to know before converting MKV to TS

  • The video is re-encoded as H.264 and the sound as AAC, inside a transport stream.
  • Large frames are scaled down and fast frame rates lose frames.
  • No stream mapping is passed, so FFmpeg's defaults pick the tracks.
  • Several files run one after another, each downloading as its own .ts.

About MKV files

What is an MKV file?

The Matroska format (MKV) rests on EBML, a binary layout descended from XML, and developed out of the older MCF project. Inside one file you can find many video, audio and subtitle tracks, plus chapter marks and tags. Its media type, registered with IANA, is video/matroska.

Matroska prescribes no compression method and no fixed quality level, so two .mkv files may hold unrelated codecs and behave differently on the same device.

Programs that open MKV files

  • Windows, Mac and Linux: ffplay plays it through FFmpeg's Matroska demuxer, and mpv offers audio and subtitle stream selection.
  • Mobile: VLC, in its Android and iOS versions, plays most movie formats.

MKV and TS compared

A TS file holds an MPEG transport stream, defined as a system format in ISO/IEC 13818-1. It interleaves separately coded video and sound, with timestamps that coordinate decoder buffering, and can bundle several programs. Broadcast distribution is an important use. The usual extension is .ts and the media type is video/mp2t. An MKV can carry several streams plus chapters and tags.

The page decodes the MKV and encodes it afresh: H.264 with the ultrafast preset, zero-latency tuning and CRF 30, plus AAC sound at 96 kbps, wrapped as an MPEG transport stream. A deinterlace filter runs, frames above 1920 pixels on the longer side are shrunk, 30 fps is the most it keeps, and widths and heights round down to even values.

Other ways to convert MKV to TS

  • FFmpeg, new encode: run ffmpeg -i movie.mkv -c:v libx264 -c:a aac -f mpegts movie.ts to make an H.264 and AAC transport stream.
  • FFmpeg, stream copy: run ffmpeg -i movie.mkv -map 0:v:0 -map 0:a:0 -c copy -f mpegts movie.ts to keep the first video and the first audio untouched. Their codecs must fit TS.
  • tsMuxer: run tsMuxeR movie.mkv to list the tracks, write the ones you want into a .meta file with lines such as V_MPEG4/ISO/AVC, movie.mkv, track=1, then run tsMuxeR project.meta movie.ts.

Problems with MKV files

  • Wrong language: an MKV can hold several audio or subtitle streams, and a player such as mpv lets you choose the right one.
  • Seeking is slow or jumpy: cues sit apart from the media clusters in Matroska, so when they are missing or damaged, finding a position gets harder.
  • A player opens it but shows nothing: knowing the container says nothing about the codecs, and your player may lack the one inside.

Frequently Asked Questions

Everything you need to know about our converter

How do I convert MKV to TS?

Does this just rewrap the MKV, or re-encode it?

How large can the video be?

Will the file look worse than my MKV?

Are interlaced videos handled?

Which audio track ends up in the TS?

Why is the TS file bigger or smaller than the MKV?

What can open the .ts file afterwards?