Giter Site home page Giter Site logo

hides-drivers's Introduction

TSDuck - The MPEG Transport Stream Toolkit

Abstract

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.
  • 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 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/ISDB signalization and many other features. See the programming guide and its tutorial.

Python and Java bindings exist to allow running transport stream processing pipelines from Python or Java applications.

Building

TSDuck can be built on Windows, Linux, macOS and BSD systems (FreeBSD, OpenBSD, NetBSD, DragonFlyBSD). See the building guide for details.

Download

Pre-built binary packages are available for Windows and the very latest versions of some Linux distros (Fedora, RedHat, CentOS, AlmaLinux, Ubuntu, Debian, Raspbian).

The latest developments can be tested using nightly builds.

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 maintained 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-2024, Thierry Lelegard
All rights reserved

hides-drivers's People

Contributors

lelegard avatar ubaldus avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

hides-drivers's Issues

Unable to get HiDes UT-100C to transmit with hides-drivers

Hi there (Stephen Neal - who helped with the original HiDes driver development - here!)

Have built the drivers in both Raspberry Pi 32 and 64 bit OS and Ubuntu 32 bit OS on a Pi 4B 2GB today (21.01.23) - and have previously had no major issues with running a HiDes on a Pi. However this time I only ever get :
* hides: using device 0: "usb-it950x0" (/dev/usb-it950x0) with nominal output bitrate of 0 bits/s
when I try to run it

Test command line is :
tsp --bitrate 27144414 -v -m -I file "482000000.ts" -O hides -f 474000000 -b 8 -h "3/4" -g "1/32" -t "8k"
where the .ts file is the 482000000 mux ts downloaded from the TSDuck Stream Repository

Output of tshides is

Found 1 HiDes device

Index ........... 0
Name ............ "usb-it950x0"
Device .......... /dev/usb-it950x0
Chip type ....... 0x9507
Device type ..... 11
Driver version .. v18.04.16.2w
API version ..... 1.3.20160929.0
Link firmware ... 255.39.3.0
OFDM firmware ... 255.9.12.0
Company ......... ITEtech
Hardware info ... Eagle DVBT

I get no signal and no channels when tuning on a DVB-T TV.

Any thoughts - am I doing anything stupid?

(I have had issues with dkms and getting the right kernel headers in some cases - such as when I tried to use the pre-packaged hi-des deb for 32 bit Raspbian/Raspberry Pi OS)

Linux drivers

Hallo everyone,

I wanted to say that I am having the following issue.

It happens the same both with your modified linux drivers and hides inc original ones as well.

I am using utc 100 modulator tsrfsend ffmpeg and the linux drivers.

On linux kernel starting from 4.13 to the latest it happens the following.

I start the Script ffmpeg
ffmpeg -loglevel error -f alsa -ar 48000 -i pulse -f x11grab -framerate 25 -r 25
-video_size 1024x576 -acodec mp3 -i :0.0 -c:v mpeg2video -s $1 -aspect 16:9 -f mpegts
-mpegts_original_network_id 1 -mpegts_transport_stream_id 1
-mpegts_service_id 1 -mpegts_pmt_start_pid 1000 -mpegts_start_pid 1001
-metadata service_provider="DIGITAL VISIONS"
-metadata service_name=$2
-b:v 8372k -b:a 48k -y /home/da/dv/videots 2>> /home/da/dv/livecast.log``
which captures my desktop to the named pipe videots

then i run the Script tsrfsend
tsrfsend /home/da/dv/videots $NUML_DEVICE $3 8000 64 7/8 1/32 8 0 0 2>> /home/da/dv/livecast.log

which sends the data from named pipe videots

I installed the linux drivers and everything correctly.

Ubuntu 16.04 lts, 17.04 lts 18.04 lts with the linux kernels >= 4.13 .

What happens is that everything works fine at the beggining my desktop is displayed in the tv in the corresponding channel. But after 10 minutes its stops the tv screen says no signal found and is black, without any error or any other info.

When I check on ubuntu via top command I can see that ffmpeg and tsrfsend both are actually working fine.

So it is for sure the linux driver issue. And it happens with both your modified one and the original one.

Do you have any idea about this problem?

Kind Regards

Lecha

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.