Convert MKV to TS

Drag and drop files here or click to select.
Max file size 100mb.
Uploading progress:

MKV vs TS Format Comparison

Aspect MKV (Source Format) TS (Target Format)
Format Overview
MKV
Matroska Video Container

An open-source, royalty-free container format designed to hold virtually any combination of video, audio, subtitle, and metadata tracks within a single file. MKV supports unlimited streams, ordered chapters, segment linking, and advanced features like variable frame rate and 3D video. Created in 2002 by the Matroska project, it has become the preferred format for high-quality video archiving, Blu-ray rips, and media libraries where maximum flexibility matters more than universal device compatibility.

Modern Lossless
TS
MPEG Transport Stream

A streaming-oriented container format designed for broadcast television, cable systems, and live transmission where data loss is expected. Unlike MPEG Program Stream (MPG), Transport Stream uses fixed-length 188-byte packets with error correction, making it resilient to transmission errors and ideal for IPTV, DVB, ATSC, and Blu-ray disc storage. TS is the foundation of HLS (HTTP Live Streaming) for modern adaptive bitrate delivery.

Standard Lossy
Technical Specifications
Container: Matroska (EBML-based binary format)
Video Codecs: Any (H.264, H.265, VP9, AV1, FFV1, etc.)
Audio Codecs: Any (AAC, FLAC, DTS, TrueHD, Opus, etc.)
Max Resolution: Unlimited (depends on codec)
Extensions: .mkv, .mka (audio), .mks (subtitles)
Container: MPEG-2 Transport Stream (ISO/IEC 13818-1)
Video Codecs: MPEG-2, H.264/AVC, H.265/HEVC
Audio Codecs: MPEG-1 Layer II (MP2), AAC, AC-3, DTS
Max Resolution: Up to 8K (H.265 in ATSC 3.0)
Extensions: .ts, .mts, .m2ts, .tsv
Video Features
  • Subtitles: Unlimited tracks (SRT, ASS/SSA, PGS, VobSub)
  • Chapters: Ordered chapters with nested editions
  • Multi-Audio: Unlimited audio streams with language tags
  • HDR: HDR10, HDR10+, Dolby Vision, HLG
  • Attachments: Embed fonts, cover art, metadata files
  • Segment Linking: Link multiple files as one playback
  • Subtitles: DVB subtitles, teletext, closed captions
  • Chapters: Not native (segment-based navigation)
  • Multi-Audio: Multiple audio PIDs per program
  • HDR: HDR10, HLG (ATSC 3.0, DVB)
  • EPG: Electronic Program Guide metadata
  • Error Recovery: Forward error correction for broadcast reliability
Processing & Tools

MKV muxing and stream management with FFmpeg and MKVToolNix:

# Remux to MKV (no re-encoding, instant)
ffmpeg -i input.mp4 -c copy output.mkv

# Extract streams from MKV
ffmpeg -i input.mkv -map 0:v:0 -c copy video.h264

Convert MKV to MPEG Transport Stream with FFmpeg:

# Remux MKV to TS (H.264 + AAC, no re-encode)
ffmpeg -i input.mkv -c copy -f mpegts output.ts

# Create HLS segments from MKV
ffmpeg -i input.mkv -c:v libx264 -c:a aac \
  -f hls -hls_time 10 -hls_list_size 0 output.m3u8

# Blu-ray compatible M2TS
ffmpeg -i input.mkv -c:v libx264 -level 4.1 \
  -c:a ac3 -f mpegts output.m2ts
Advantages
  • Unlimited video, audio, and subtitle tracks
  • Supports virtually any codec combination
  • Advanced chapter system with ordered editions
  • Open-source, royalty-free specification
  • File attachments (fonts, thumbnails, metadata)
  • Lossless codec support (FFV1, FLAC)
  • Variable frame rate and 3D video support
  • Error-resilient packet structure for broadcast
  • Foundation of HLS adaptive bitrate streaming
  • Multiple program multiplexing in single stream
  • Blu-ray disc storage format (M2TS)
  • Supports modern codecs (H.264, H.265)
  • Industry standard for broadcast and IPTV
Disadvantages
  • Limited mobile device support (Android OK, iOS partial)
  • No native web browser playback
  • Not accepted by social media platforms
  • Poor streaming performance (not designed for adaptive bitrate)
  • Larger file sizes when using lossless codecs
  • Requires third-party apps on iOS
  • Packet overhead increases file size (188-byte packets)
  • Not ideal for local file storage (use MP4/MKV)
  • Complex structure for simple file playback
  • Limited desktop player support compared to MP4
  • No native chapter or attachment support
  • Requires demuxing for editing workflows
Common Uses
  • Blu-ray and DVD rip storage
  • Multi-language movie collections
  • Anime with styled subtitles (ASS/SSA)
  • Home theater and media server libraries (Plex, Jellyfin, Kodi)
  • Professional video archiving with lossless codecs
  • Educational content with chapter navigation
  • Broadcast television (DVB, ATSC, ISDB)
  • HLS streaming segments
  • Blu-ray disc storage (M2TS)
  • IPTV and cable television delivery
  • Digital video recorder (DVR) output
  • Live streaming infrastructure
Best For
  • Multi-language video with multiple subtitle tracks
  • High-quality video archiving and preservation
  • Home theater libraries with chapter navigation
  • Content requiring lossless audio (FLAC, DTS-HD)
  • Anime and foreign films with styled subtitles
  • Broadcast television and IPTV delivery
  • HLS adaptive bitrate streaming
  • Blu-ray disc authoring (M2TS)
  • Live event streaming with error recovery
  • Multi-program broadcast multiplexing
Version History
Introduced: 2002 (Matroska project)
Current Version: Matroska v4 (WebM profile), EBML v1
Status: Active open-source development
Evolution: MCF (2002) → Matroska v1 (2002) → v2 (2003) → v4/WebM (2010)
Introduced: 1995 (ISO/IEC 13818-1, MPEG-2 Systems)
Current Version: MPEG-2 Systems Amendment 4 (2018)
Status: Active standard for broadcast, Blu-ray, and HLS
Evolution: MPEG-2 TS (1995) → DVB/ATSC (1998) → Blu-ray/M2TS (2006) → HLS segments (2009) → ATSC 3.0 (2019)
Software Support
Media Players: VLC, mpv, PotPlayer, MPC-HC, Kodi
Web Browsers: Not natively supported (WebM subset only)
Video Editors: DaVinci Resolve, Kdenlive, Shotcut
Mobile: Android (MX Player, VLC), iOS (VLC, Infuse)
CLI Tools: FFmpeg, MKVToolNix, HandBrake, MediaInfo
Media Players: VLC, mpv, PotPlayer, Kodi
Web Browsers: Via HLS.js (as HLS segments)
Video Editors: Adobe Premiere Pro, DaVinci Resolve, Kdenlive
Mobile: Android/iOS (via HLS streaming players)
CLI Tools: FFmpeg, tstools, DVBInspector, MediaInfo

Why Convert MKV to TS?

Converting MKV to TS (MPEG Transport Stream) serves critical roles in broadcast television, HLS adaptive streaming, Blu-ray authoring, and IPTV delivery systems. TS was engineered for environments where data loss is expected — its 188-byte packet structure with sync bytes and error correction makes it resilient to transmission errors that would corrupt MP4 or MKV files. If your content needs to traverse broadcast infrastructure, satellite uplinks, cable networks, or HLS streaming pipelines, TS is the required container.

HLS (HTTP Live Streaming) is the most common modern reason for this conversion. Apple's HLS protocol — now the dominant adaptive streaming format — uses TS segments as its native delivery container. Converting MKV content to TS segments with an M3U8 playlist enables adaptive bitrate streaming to virtually any device: web browsers via HLS.js, iOS/Android native players, smart TVs, and streaming boxes. FFmpeg can generate HLS-ready TS segments directly from MKV input in a single command.

Blu-ray disc authoring requires M2TS (MPEG-2 Transport Stream variant) as the storage format. If you're creating Blu-ray discs from MKV content, conversion to M2TS with H.264 video and AC-3/DTS audio is an essential intermediate step. The transport stream structure supports the random access, seamless branching, and multi-angle features that the Blu-ray specification demands.

For MKV files containing H.264 video and AAC audio, the conversion to TS can be a lossless remux — copying streams directly into the transport stream container. VP9, FLAC, and other MKV-specific codecs must be re-encoded since TS supports only MPEG-2, H.264, and H.265 video. The TS file will be slightly larger than the MKV due to packet overhead (typically 1-3% larger), but this trade-off provides the error resilience that broadcast and streaming demand.

Key Benefits of Converting MKV to TS:

  • HLS Streaming: Foundation format for Apple HLS adaptive bitrate delivery
  • Broadcast Ready: Error-resilient structure for TV broadcast and IPTV
  • Blu-ray Authoring: M2TS variant required for Blu-ray disc production
  • Error Recovery: Packet-based structure survives transmission errors
  • Live Streaming: Supports real-time streaming with minimal latency
  • Modern Codecs: Supports H.264 and H.265 for high-quality delivery
  • Multi-Program: Can multiplex multiple video programs in one stream

Practical Examples

Example 1: HLS Streaming Setup

Scenario: A video platform needs to convert their MKV content library into HLS-ready TS segments for adaptive bitrate streaming to web and mobile clients.

Source: tutorial_series_ep01.mkv (2 GB, 1920x1080, H.264, AAC)
Conversion: MKV → TS/HLS (multi-bitrate segments)
Result: tutorial_ep01/ (M3U8 playlist + TS segments at 3 quality levels)

HLS encoding ladder:
- 1080p: 5 Mbps H.264, 10-second TS segments
- 720p: 2.5 Mbps H.264, 10-second TS segments
- 480p: 1 Mbps H.264, 10-second TS segments
- Master playlist: tutorial_ep01.m3u8
✓ Player auto-selects quality based on bandwidth
✓ Instant quality switching without rebuffering
✓ Compatible with all HLS clients (Safari, HLS.js, native apps)
✓ CDN-friendly segment-based delivery

Example 2: IPTV Channel Preparation

Scenario: A hotel chain converts their MKV content library to TS format for in-room IPTV distribution through their hospitality TV system.

Source: welcome_video.mkv (500 MB, 1920x1080, H.265, Opus)
Conversion: MKV → TS (IPTV-compatible transport stream)
Result: welcome_video.ts (520 MB, H.264, AAC, MPEG-TS)

Workflow:
1. Re-encode H.265 to H.264 for IPTV decoder compatibility
2. Convert Opus audio to AAC stereo at 192 kbps
3. Wrap in MPEG Transport Stream with proper PIDs
4. Configure IGMP multicast for hotel network
✓ Streams reliably over hotel IP network
✓ Error-resilient against network packet drops
✓ Compatible with hospitality TV decoders
✓ Supports channel switching via multicast join/leave

Example 3: Blu-ray Disc Authoring

Scenario: A filmmaker wants to create Blu-ray discs of their indie film stored as MKV for festival screening and distribution.

Source: indie_film_final.mkv (25 GB, 1920x1080, H.264, FLAC 5.1)
Conversion: MKV → M2TS (Blu-ray compliant)
Result: indie_film_final.m2ts (26 GB, H.264 Level 4.1, AC-3 640k)

Blu-ray specifications:
- Video: H.264 High Profile, Level 4.1, 1920x1080, 40 Mbps max
- Audio: AC-3 5.1 at 640 kbps (primary) + LPCM stereo (secondary)
- Container: M2TS (BDAV-compliant transport stream)
✓ Meets Blu-ray Disc Association specifications
✓ Chapters and menu navigation via authoring tool
✓ Professional disc label and case artwork
✓ Plays on all Blu-ray players and PS4/PS5

Frequently Asked Questions (FAQ)

Q: Can I remux MKV to TS without re-encoding?

A: Yes, if your MKV contains H.264 or H.265 video with AAC, AC-3, or MP2 audio. Use ffmpeg -i input.mkv -c copy -f mpegts output.ts for instant, lossless conversion. VP9, AV1, FLAC, Opus, and DTS codecs are not natively supported in standard TS and require re-encoding.

Q: Why is the TS file slightly larger than the MKV?

A: Transport Stream has packet overhead — each 188-byte packet includes 4 bytes of header data plus padding. This typically adds 1-3% to the file size compared to MKV. The overhead is the price for error resilience — if packets are lost during broadcast or streaming, the receiver can resynchronize quickly without losing the entire stream.

Q: What's the difference between TS and M2TS?

A: M2TS is a variant of TS with an extra 4-byte timestamp header per packet (192 bytes total vs 188). It's used specifically for Blu-ray disc storage and AVCHD camcorder recordings. The additional timestamp enables precise random access needed for Blu-ray menu navigation and seamless branching. For HLS streaming and broadcast, standard 188-byte TS packets are used.

Q: What happens to my MKV subtitles and chapters?

A: TS supports DVB subtitles and teletext but not MKV's SRT/ASS/SSA formats. Subtitles must be converted to DVB format or burned into the video. MKV chapters do not transfer to TS — the transport stream format doesn't have a native chapter mechanism. For Blu-ray authoring, chapters are added during the authoring stage, not in the TS file itself.

Q: Can I use TS for regular file playback?

A: Yes, VLC, mpv, and other media players handle TS files fine. However, TS is not optimized for file-based playback — it lacks the random access index that MP4 and MKV provide, making seeking slower and less precise. For local file storage and playback, MP4 or MKV are better choices. TS is designed for streaming and broadcast, not file storage.

Q: How do I create HLS streams from MKV?

A: FFmpeg handles this directly: ffmpeg -i input.mkv -c:v libx264 -c:a aac -f hls -hls_time 10 -hls_list_size 0 output.m3u8. This creates 10-second TS segments and an M3U8 playlist. For adaptive bitrate, create multiple quality variants and a master playlist. Each variant is encoded at a different resolution/bitrate, and the player switches between them based on bandwidth.

Q: Is TS better than MP4 for streaming?

A: For HLS (Apple's protocol), TS segments have been the traditional standard, though fMP4 (fragmented MP4) is now also supported and increasingly preferred. For DASH streaming, fMP4 is the native format. TS excels in broadcast/IPTV scenarios where error resilience matters. For general web streaming, both work — fMP4 is slightly more efficient due to lower overhead.

Q: Can I keep multiple audio tracks in TS?

A: Yes. TS supports multiple audio program IDs (PIDs), allowing several audio tracks in different languages. Use ffmpeg -i input.mkv -map 0 -c copy -f mpegts output.ts to include all tracks. Broadcast and IPTV systems use PIDs to identify and select audio tracks, and HLS playlists can reference multiple audio renditions for language selection.