tsdecrypt reads and decrypts CSA encrypted incoming mpeg transport stream over UDP/RTP using code words obtained from OSCAM or similar CAM server. tsdecrypt communicates with CAM server using cs378x (camd35 over tcp) protocol or newcamd protocol. https://georgi.unixsol.org/programs/tsdecrypt/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Georgi Chorbadzhiyski 33facd71c9 makefile: Track header dependancies in order to rebuild correct objects. 12 years ago
libfuncs @ 82141bd7b7 Log message when there is not data on input. 12 years ago
libtsfuncs @ 7d13c10049 Update libtsfuncs to fix off-by-one in section gathering. 12 years ago
.gitignore makefile: Track header dependancies in order to rebuild correct objects. 12 years ago
.gitmodules Move libtsfuncs to libtsfuncs submodule and change libfuncs submodule url. 12 years ago
COPYING tsdecrypt is licensed under GPL v2 now. 12 years ago
ChangeLog Process ECMs before EMMs. 12 years ago
Makefile makefile: Track header dependancies in order to rebuild correct objects. 12 years ago
README readme: Update texts to match the new world order. 12 years ago
RELEASE Add RELEASE file that holds current version. 12 years ago
TODO todo: Remove TODO item related to unknown CA support. 12 years ago
camd.c Process ECMs before EMMs. 12 years ago
camd.h tsdecrypt is licensed under GPL v2 now. 12 years ago
data.c Increase decode and write buffers. 12 years ago
data.h Process ECMs before EMMs. 12 years ago
process.c Check for decode data often. 12 years ago
process.h tsdecrypt is licensed under GPL v2 now. 12 years ago
tables.c Add --caid option to choose exact CAID. 12 years ago
tables.h tsdecrypt is licensed under GPL v2 now. 12 years ago
tsdecrypt.1 Version 3.0 12 years ago
tsdecrypt.c Add RELEASE file that holds current version. 12 years ago
udp.c tsdecrypt is licensed under GPL v2 now. 12 years ago
udp.h tsdecrypt is licensed under GPL v2 now. 12 years ago
util.c tsdecrypt is licensed under GPL v2 now. 12 years ago
util.h tsdecrypt is licensed under GPL v2 now. 12 years ago

README

tsdecrypt
=========
tsdecrypt reads incoming mpeg transport stream over UDP/RTP and then
decrypts it using libdvbcsa and keys obtained from OSCAM or similar cam
server. tsdecrypt communicates with CAM server using camd35 over tcp
protocol also known as cs378x.

Installation
============
tsdecrypt depends on two external libraries - openssl and libdvbcsa.
You probably already have openssl installed, libdvbcsa can be downloaded
from http://www.videolan.org/developers/libdvbcsa.html

Documentation
=============
tsdecrypt is controlled using command line parameters. Run tsdecrypt to
see all of the parameters and explanation what every one of them does.
For more information read the man page.

Development
===========
The development is tracked using git. The repository is hosted at github
to get it, run the following command:

git clone git://github.com/gfto/libtsfuncs.git
git submodule init
git submodule update

The code is developed and tested under modern Linux. It is also
compiled from time to time under OS X but is not tested there.

Compiling
=========
Clone git repository, initialize submodules and the run make.

git clone git://github.com/gfto/tsdecrypt.git
git submodule init
git submodule update
make
make install

Examples
========
To get a quick start here are some example command lines. The default
CA system is set to CONAX, you can change it using --ca-system parameter,
see man page or program help for more options.

Examples:

# Decrypt multicast stream from 239.0.50.11:5000 using 10.0.1.1:2233
# as camd server and output decrypted result to 239.78.78.78:5000
tsdecrypt --camd-server 10.0.1.1 \
--input 239.0.50.11:5000 --output 239.78.78.78:5000

# Same as above but enable EMM processing
tsdecrypt --emm --camd-server 10.0.1.1:2233 \
--input 239.0.50.11:5000 --output 239.78.78.78:5000

# Same as above but do not filter output stream thus allowing
# EIT/TOT/NIT, etc tables to passthrough
tsdecrypt --output-filter --emm -camd-server 10.0.1.1 \
--input 239.0.50.11:5000 --output 239.78.78.78:5000

# Read stream over RTP and process VIACCESS encoded channel
tsdecrypt --ca-system VIACCESS --emm --camd-server 10.0.1.1:2233 \
--input-rtp --input 239.0.50.11:5000 --output 239.78.78.78:5000


OSCAM configuration
===================
In order for tsdecrypt to communicate with OSCAM, OSCAM must have user
added in oscam.user file and cs378x protocol must be enabled.

Example oscam.user file:
[account]
user = user
pwd = pass
group = 1
au = 1
uniq = 0
monlevel = 4

Example part of oscam.conf file:
[cs378x]
port = 2233

Releases
========
Official releases can be downloaded from tsdecrypt home page which is

http://georgi.unixsol.org/programs/tsdecrypt/

Contact
=======
For patches, bug reports, complaints and so on send e-mail to

Georgi Chorbadzhiyski <georgi@unixsol.org>