TS to MKV Converter
Re-encode a TS recording as an H.264 and AAC Matroska file in your browser.
or drop files here
TS Format
MPEG transport stream
A container standardized in MPEG-2 Systems (ISO/IEC 13818-1) for broadcasting. It splits video, audio and data into small fixed-size packets so streams survive transmission errors.
- digital TV recordings
- 188-byte packets
- HLS segments
MKV Format
Matroska video
An open, free container format that can hold unlimited video, audio, picture and subtitle tracks in one file. WebM is a subset of Matroska.
- many tracks
- chapters and metadata
- open standard
How to convert TS to MKV
Follow these steps to convert TS to MKV online.
Choose your TS file, or several at once.
Wait while the converter turns each file into MKV.
Download each new MKV file. Your original file isn't changed.
Related Tools
MKV to TS
Convert MKV files to TS format
TS to AIFF
Convert TS files to AIFF format
TS to AMR
Convert TS files to AMR format
TS to ASF
Convert TS files to ASF format
TS to AU
Convert TS files to AU format
TS to CAF
Convert TS files to CAF format
TS to FLAC
Convert TS files to FLAC format
TS to FLV
Convert TS files to FLV format
TS to MPEG
Convert TS files to MPEG format
TS to MTS
Convert TS files to MTS format
TS to OGG
Convert TS files to OGG format
TS to WAV
Convert TS files to WAV format
TS to WEBM
Convert TS files to WEBM format
ASF to MKV
Convert ASF files to MKV format
AVCHD to MKV
Convert AVCHD files to MKV format
AVI to MKV
Convert AVI files to MKV format
DIVX to MKV
Convert DIVX files to MKV format
F4V to MKV
Convert F4V files to MKV format
HEVC to MKV
Convert HEVC files to MKV format
MPG to MKV
Convert MPG files to MKV format
MTS to MKV
Convert MTS files to MKV format
OGV to MKV
Convert OGV files to MKV format
VOB to MKV
Convert VOB files to MKV format
WebM to MKV
Convert WebM files to MKV format
What to know before converting TS to MKV
- The video is re-encoded as H.264 and the audio as AAC at 96 kb/s.
- The picture stays within 1920 px and 30 fps; a faster source loses frames but keeps its length.
- An odd width or height loses 1 px.
- For a copy without re-encoding, use FFmpeg -c copy or mkvmerge.
About TS files
What is a TS file?
A TS file holds an MPEG-2 transport stream, a system format from the ISO/IEC 13818-1 standard. Instead of defining a picture codec, it interleaves video and sound that were coded separately, cut into 188-byte packets. Several programs with their own clocks can share one stream.
Broadcast distribution and error-prone transmission are the important uses, and HLS streaming segments and Blu-ray and camcorder recordings rely on it too. Timestamps in the stream coordinate presentation and decoder buffering. The usual extension is .ts, with video/mp2t as the registered media type.
Programs that open TS files
- Windows, Mac and Linux: FFmpeg reads transport streams, and on the Mac you use it from the command line.
- Windows, Mac and Linux: VLC media player lists TS as one of its input formats.
- Mobile: On a phone, VLC for Android lists TS input; decoding still depends on the media in the stream.
TS and MKV compared
- Extensions: .ts and .mkv.
- Purpose: TS suits broadcasting and survives transmission errors. Matroska is an open container for any number of video, audio, picture and subtitle tracks, and chapters and tags belong to its design.
- Codecs: neither container prescribes a codec; Matroska doesn't fix a compression method or quality level.
On this page the video is rewritten as H.264 and the audio as AAC at 96 kb/s, with the picture held to 1920 px and 30 fps. IANA registers video/matroska as the media type for Matroska video.
Other ways to convert TS to MKV
- FFmpeg:
ffmpeg -i broadcast-segment.ts -c copy broadcast-segment.mkvcopies the streams without re-encoding. - HandBrakeCLI:
HandBrakeCLI -i recorder-input.ts -o recorder-output.mkv -f av_mkv -e x264encodes the video with x264 into Matroska. HandBrake lists TS among the sources it reads. - MKVToolNix:
mkvmerge -o channel-archive.mkv channel-capture.ts. mkvmerge reads MPEG transport streams.
Problems with TS files
- Several programs in one stream: selecting the intended program matters.
- The TS won't decode: recognizing the wrapper doesn't settle which codec its audio or video needs.
- Damaged timing or missing packets: renaming the file won't fix them. FFmpeg usually logs the error and converts what it can read.
Frequently Asked Questions
Everything you need to know about our converter
Does TS to MKV re-encode the video?
What frame size and frame rate does the MKV have?
What happens to a TS above 30 fps?
How do I change containers without re-encoding?
My TS recording has errors. Will it still convert?
Is there a size limit or a time limit?
Can I convert several TS files at once?
How is the MKV named, and what happens to the TS?
Browse All Tools
Browse by category instead of one giant mixed list.
Convert Tools
Convert image, audio, video, document, and data files directly in your browser.