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.0.tar.gz (1.4 MB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for ts2mkv-2.0.0.tar.gz
Algorithm Hash digest
SHA256 867af41692c82c94e58f8054bb389d584cc3bf95be45fc3c508a54a6c7c374dd
MD5 a4ecfdc149d83f049e13755ead76bb87
BLAKE2b-256 775755853b51c5300bc3f9e7722b4159d3ff68d973adba19573bc3d499b14af0

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