Skip to main content

Converts DVB Transport Stream (.ts) files into Matroska (.mkv)

Project description

About

Ts2mkv is a command line utility to convert DVB MPEG-2 Transport Stream (.ts) files into Matroska (.mkv) which is well supported by all modern media players and devices. The conversion process can also have a separate encoding phase which radically reduces the resulting mkv file size. Ts2mkv comes with some useful presets for encoding video tracks into H.264 and audio tracks into AAC, AC3 or MP3.

Ts2mkv uses avconv, ProjectX and MKVToolNix via their command line interfaces. Tweaked version of ProjectX is bundled with ts2mkv setup.

Ts2mkv comes with pre-defined configurations for Finnish channels’ subtitles. (DVB subtitles work in YLE and AVA channels. Teletext subtitles also work in YLE channels if available.)

Usage

Basic usage is:

ts2mkv my_recording.ts

You can also enable video and audio track encoding by adding some additional parameters:

ts2mkv my_recording.ts --video-preset=h264 --audio-preset=aac

For full syntax type:

ts2mkv --help

Mkvenc

Mkvenc is a supplementary tool bundled with ts2mkv. It can be used to apply the encoding phase afterwards if the original ts->mkv conversion was made without encoding. Basically the tool can be used to encode any Matroska file but it depends on codecs, etc.

In the first phase mkvenc extracts all the tracks out from the existing Matroska file. Then the video and audio tracks are encoded based on presets and configuration. Finally the tracks are merged back together in single Matroska file. Note: Mkvenc tries to preserve language information and possible chapters but some information may be lost during the process.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ts2mkv-2.0.1.tar.gz (1.4 MB view details)

Uploaded Source

File details

Details for the file ts2mkv-2.0.1.tar.gz.

File metadata

  • Download URL: ts2mkv-2.0.1.tar.gz
  • Upload date:
  • Size: 1.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for ts2mkv-2.0.1.tar.gz
Algorithm Hash digest
SHA256 ca2a46760ba67c8ce72b89ff6ef9aca063fe7bbe979c72b4d914389f186737ae
MD5 aeb57f1ac0e991f2893a09e964e103eb
BLAKE2b-256 077051cb76441da55a6465a1a0bcd3ea57081c304d8a2f77ca2e6b7c1e83b65f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page