tsduck

MPEG Transport Stream Toolkit

Github stars Tracking Chart

TSDuck - The MPEG Transport Stream Toolkit

Abstract

TSDuck is an extensible toolkit for MPEG/DVB transport streams.

TSDuck is used in digital television systems for test, monitoring, integration, debug, lab or demo.

In practice, TSDuck is used for:

  • Transport stream acquisition or transmodulation, including DVB, ATSC, ASI and IP multicast.
  • Analyze transport streams, PSI/SI signalization, bitrates, timestamps.
  • Monitor and report conditions on the stream (video and audio properties, bitrates, crypto-periods, signalization).
  • On-the-fly transformation or injection of content and signalization.
  • Modify, remove, rename, extract services.
  • Work on live transport streams, DVB-S/C/T, ATSC, ASI, IP-TV, HTTP, HLS, SRT or offline transport stream files.
  • Use specialized hardware such as cheap DVB or ATSC tuners (USB, PCI), professional Dektec devices, cheap HiDes modulators.
  • Re-route transport streams to other applications.
  • Extract or inject Multi-Protocol Encapsulation (MPE) between TS and UDP/IP.
  • Analyze and inject SCTE 35 splice information.
  • Extract specific encapsulated data (Teletext, T2-MI).
  • Emulate a CAS head-end using DVB SimulCrypt interfaces to and from ECMG or EMMG.
  • And more...

TSDuck is developed in C++ in a modular architecture. It is easy to extend
through plugins.

TSDuck is simple; it is a collection of command line tools and plugins. There is
no sophisticated GUI. Each utility or plugin performs only one elementary feature
but they can be combined in any order.

Through tsp, the Transport Stream Processor, many types of analysis and
transformation can be applied on live or recorded transport streams.
This utility can be extended through plugins. Existing plugins can be
enhanced and new plugins can be developed using a library of C++ classes.

Usage

TSDuck comes with a comprehensive User's Guide.

All utilities and plugins accept the option --help to display their syntax.

For programmers, TSDuck provides a large collection of C++ classes in one single library.
These classes manipulate, in a completely portable way, MPEG transport streams, MPEG/DVB/ATSC
signalization and many other features. See the programming guide
and its tutorial.

Building

TSDuck can be built on Windows, Linux and macOS systems. See the
building guide for details.

Download

Pre-built binary packages
are available for Windows, Fedora and Ubuntu. On macOS,
use the Homebrew packager.

The command tsversion --check can be used to check if a new version of TSDuck is available
online. The command tsversion --upgrade downloads the latest binaries for the current
operating system and upgrades TSDuck.

Project resources

TSDuck is developed by one single developer on spare time and on personal expenses.
You may consider contributing to the hardware and Web hosting costs
using Donate

License

TSDuck is distributed under the terms of the Simplified BSD License.
See the file LICENSE.txt for details.

Copyright (c) 2005-2020, Thierry Lelegard
All rights reserved

Main metrics

Overview
Name With Ownertsduck/tsduck
Primary LanguageC++
Program languageMakefile (Language Count: 9)
Platform
License:BSD 2-Clause "Simplified" License
所有者活动
Created At2017-06-21 07:40:00
Pushed At2025-05-16 20:35:25
Last Commit At2025-05-16 22:34:54
Release Count46
Last Release Namev3.40-4165 (Posted on 2025-02-23 20:54:28)
First Release Namev3.0 (Posted on )
用户参与
Stargazers Count0.9k
Watchers Count53
Fork Count217
Commits Count4.3k
Has Issues Enabled
Issues Count1396
Issue Open Count338
Pull Requests Count156
Pull Requests Open Count2
Pull Requests Close Count66
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private