|
@@ -0,0 +1,82 @@
|
|
1
|
+tsdecrypt
|
|
2
|
+=========
|
|
3
|
+tsdecrypt reads decrypts incoming mpeg transport stream over UDP/RTP and
|
|
4
|
+then decrypts it using libdvbcsa and keys obtained from OSCAM or similar cam
|
|
5
|
+server. Currently supported and tested cryptosystems are Conax, Cryptoworks
|
|
6
|
+and Irdeto. tsdecrypt communicates with camd using camd35 over tcp protocol
|
|
7
|
+also known as cs378x.
|
|
8
|
+
|
|
9
|
+Installation
|
|
10
|
+============
|
|
11
|
+tsdecrypt depends on two two external libraries - openssl and libdvbcsa.
|
|
12
|
+You probably already have openssl installed, libdvbcsa can be downloaded
|
|
13
|
+from http://www.videolan.org/developers/libdvbcsa.html
|
|
14
|
+
|
|
15
|
+Documentation
|
|
16
|
+=============
|
|
17
|
+tsdecrypt is controlled using command line parameters. Run tsdecrypt to
|
|
18
|
+see all of the parameters and explanation what every one of them does.
|
|
19
|
+
|
|
20
|
+Development
|
|
21
|
+===========
|
|
22
|
+The development is tracked using git. The repository is hosted at github
|
|
23
|
+to get it, run the following command:
|
|
24
|
+
|
|
25
|
+ git clone git://github.com/gfto/libtsfuncs.git
|
|
26
|
+ git submodule init
|
|
27
|
+ git submodule update
|
|
28
|
+
|
|
29
|
+Compiling
|
|
30
|
+=========
|
|
31
|
+Clone git repository, initialize submodules and the run make.
|
|
32
|
+
|
|
33
|
+ git clone git://github.com/gfto/tsdecrypt.git
|
|
34
|
+ git submodule init
|
|
35
|
+ git submodule update
|
|
36
|
+ make
|
|
37
|
+
|
|
38
|
+Examples
|
|
39
|
+========
|
|
40
|
+To get a quick start here are some example command lines (the default
|
|
41
|
+CA is set to CONAX, you can change it using -c CONAX|CRYPTOWORK|IRDETO):
|
|
42
|
+
|
|
43
|
+ # Decrypt multicast stream from 239.0.50.11:5000 using 10.0.1.1:2233
|
|
44
|
+ # as camd server and output decrypted result to 239.78.78.78:5000
|
|
45
|
+ tsdecrypt -s 10.0.1.1 -I 239.0.50.11:5000 -O 239.78.78.78:5000
|
|
46
|
+
|
|
47
|
+ # Same as above but enable EMM processing (-e)
|
|
48
|
+ tsdecrypt -e -s 10.0.1.1 -I 239.0.50.11:5000 -O 239.78.78.78:5000
|
|
49
|
+
|
|
50
|
+ # Same as above but do not filter output stream (-p) thus allowing
|
|
51
|
+ # EIT/TOT/NIT, etc tables to passthrough
|
|
52
|
+ tsdecrypt -p -e -s 10.0.1.1 -I 239.0.50.11:5000 -O 239.78.78.78:5000
|
|
53
|
+
|
|
54
|
+OSCAM configuration
|
|
55
|
+===================
|
|
56
|
+In order for tsdecrypt to communicate with OSCAM, OSCAM must have user
|
|
57
|
+added in oscam.user file and cs378x protocol must be enabled.
|
|
58
|
+
|
|
59
|
+Example oscam.user file:
|
|
60
|
+[account]
|
|
61
|
+user = user
|
|
62
|
+pwd = pass
|
|
63
|
+group = 1
|
|
64
|
+au = 1
|
|
65
|
+uniq = 0
|
|
66
|
+monlevel = 4
|
|
67
|
+
|
|
68
|
+Example part of oscam.conf file:
|
|
69
|
+[cs378x]
|
|
70
|
+port = 2233
|
|
71
|
+
|
|
72
|
+Releases
|
|
73
|
+========
|
|
74
|
+Official releases can be downloaded from tsdecrypt home page which is
|
|
75
|
+
|
|
76
|
+ http://georgi.unixsol.org/programs/tsdecrypt/
|
|
77
|
+
|
|
78
|
+Contact
|
|
79
|
+=======
|
|
80
|
+For patches, bug reports, complaints and so on send e-mail to
|
|
81
|
+
|
|
82
|
+ Georgi Chorbadzhiyski <georgi@unixsol.org>
|