- Notifications
You must be signed in to change notification settings - Fork215
MPEG Transport Stream Toolkit
License
tsduck/tsduck
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
TSDuck is an extensible toolkit for MPEG 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, ISDB, 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, ISDB-T, ASI, UDP ("IP-TV"), HTTP, HLS, SRT, RIST or offline transport stream files or
pcap
network capture files. - Use specialized hardware such as cheap DVB, ATSC or ISDB tuners (USB, PCI), professional Dektec devices, cheap HiDes modulators, VATek-based modulators (e.g. Suntechtv U3, USB).
- 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 extendthrough plugins.
TSDuck is simple; it is a collection of command line tools and plugins. There isno sophisticated GUI. Each utility or plugin performs only one elementary featurebut they can be combined in any order.
Throughtsp
, the Transport Stream Processor, many types of analysis andtransformation can be applied on live or recorded transport streams.This utility can be extended through plugins. Existing plugins can beenhanced and new plugins can be developed using a library of C++ classes.
TSDuck comes with a comprehensiveUser's Guide.
All utilities and plugins accept the option--help
to display their syntax.
TSDuck is developed in C++, using modern C++20 coding practices.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/ISDBsignalization and many other features.See theDeveloper's Guideand theProgramming Reference.
Python and Java bindings exist to allow running transport stream processing pipelines fromPython or Java applications.
TSDuck can be built on Windows, Linux, macOS and BSD systems.The primary target architectures are Intel x86_64 and Arm64 butTSDuck is regularly built and tested on x86, Arm32, RISC-V, PowerPC or IBM s390x.See thebuilding sectionin the developer's guide for more details.
- On macOS,use the Homebrew packager:
brew install tsduck
- On Windows,use winget:
winget install tsduck
Pre-builtbinary packages are availablefor Windows and the very latest versions of some Linux distros (Fedora, RedHat and clones, Ubuntu, Debian),on Intel x64 and Arm64 architectures.
The latest developments can be tested usingnightly builds.
The commandtsversion --check
can be used to check if a new version of TSDuck is availableonline. The commandtsversion --upgrade
downloads the latest binaries for the currentoperating system and upgrades TSDuck.
TSDuck is maintained by one single developer on spare time and on personal expenses.You may considercontributing to the hardware and Web hosting costsusing
TSDuck is distributed under the terms of the Simplified 2-Clause BSD License.See the fileLICENSE.txt
for details.
Copyright (c) 2005-2025, Thierry Lelegard
All rights reserved
About
MPEG Transport Stream Toolkit