|
@@ -1,12 +1,13 @@
|
1
|
1
|
tsdecrypt
|
2
|
2
|
=========
|
3
|
|
-tsdecrypt reads incoming mpeg transport stream over UDP/RTP and then decrypts it
|
4
|
|
-using libdvbcsa and keys obtained from OSCAM or similar cam server. tsdecrypt
|
5
|
|
-communicates with CAM server using camd35 over tcp protocol also known as cs378x.
|
|
3
|
+tsdecrypt reads incoming mpeg transport stream over UDP/RTP and then
|
|
4
|
+decrypts it using libdvbcsa and keys obtained from OSCAM or similar cam
|
|
5
|
+server. tsdecrypt communicates with CAM server using camd35 over tcp
|
|
6
|
+protocol also known as cs378x.
|
6
|
7
|
|
7
|
8
|
Installation
|
8
|
9
|
============
|
9
|
|
-tsdecrypt depends on two two external libraries - openssl and libdvbcsa.
|
|
10
|
+tsdecrypt depends on two external libraries - openssl and libdvbcsa.
|
10
|
11
|
You probably already have openssl installed, libdvbcsa can be downloaded
|
11
|
12
|
from http://www.videolan.org/developers/libdvbcsa.html
|
12
|
13
|
|
|
@@ -14,6 +15,7 @@ Documentation
|
14
|
15
|
=============
|
15
|
16
|
tsdecrypt is controlled using command line parameters. Run tsdecrypt to
|
16
|
17
|
see all of the parameters and explanation what every one of them does.
|
|
18
|
+For more information read the man page.
|
17
|
19
|
|
18
|
20
|
Development
|
19
|
21
|
===========
|
|
@@ -24,6 +26,9 @@ to get it, run the following command:
|
24
|
26
|
git submodule init
|
25
|
27
|
git submodule update
|
26
|
28
|
|
|
29
|
+The code is developed and tested under modern Linux. It is also
|
|
30
|
+compiled from time to time under OS X but is not tested there.
|
|
31
|
+
|
27
|
32
|
Compiling
|
28
|
33
|
=========
|
29
|
34
|
Clone git repository, initialize submodules and the run make.
|
|
@@ -32,22 +37,34 @@ Clone git repository, initialize submodules and the run make.
|
32
|
37
|
git submodule init
|
33
|
38
|
git submodule update
|
34
|
39
|
make
|
|
40
|
+ make install
|
35
|
41
|
|
36
|
42
|
Examples
|
37
|
43
|
========
|
38
|
|
-To get a quick start here are some example command lines (the default
|
39
|
|
-CA is set to CONAX, you can change it using -c CONAX|CRYPTOWORK|IRDETO):
|
|
44
|
+To get a quick start here are some example command lines. The default
|
|
45
|
+CA system is set to CONAX, you can change it using --ca-system parameter,
|
|
46
|
+see man page or program help for more options.
|
|
47
|
+
|
|
48
|
+Examples:
|
40
|
49
|
|
41
|
50
|
# Decrypt multicast stream from 239.0.50.11:5000 using 10.0.1.1:2233
|
42
|
51
|
# as camd server and output decrypted result to 239.78.78.78:5000
|
43
|
|
- tsdecrypt -s 10.0.1.1 -I 239.0.50.11:5000 -O 239.78.78.78:5000
|
|
52
|
+ tsdecrypt --camd-server 10.0.1.1 \
|
|
53
|
+ --input 239.0.50.11:5000 --output 239.78.78.78:5000
|
44
|
54
|
|
45
|
|
- # Same as above but enable EMM processing (-e)
|
46
|
|
- tsdecrypt -e -s 10.0.1.1 -I 239.0.50.11:5000 -O 239.78.78.78:5000
|
|
55
|
+ # Same as above but enable EMM processing
|
|
56
|
+ tsdecrypt --emm --camd-server 10.0.1.1:2233 \
|
|
57
|
+ --input 239.0.50.11:5000 --output 239.78.78.78:5000
|
47
|
58
|
|
48
|
|
- # Same as above but do not filter output stream (-p) thus allowing
|
|
59
|
+ # Same as above but do not filter output stream thus allowing
|
49
|
60
|
# EIT/TOT/NIT, etc tables to passthrough
|
50
|
|
- tsdecrypt -p -e -s 10.0.1.1 -I 239.0.50.11:5000 -O 239.78.78.78:5000
|
|
61
|
+ tsdecrypt --output-filter --emm -camd-server 10.0.1.1 \
|
|
62
|
+ --input 239.0.50.11:5000 --output 239.78.78.78:5000
|
|
63
|
+
|
|
64
|
+ # Read stream over RTP and process VIACCESS encoded channel
|
|
65
|
+ tsdecrypt --ca-system VIACCESS --emm --camd-server 10.0.1.1:2233 \
|
|
66
|
+ --input-rtp --input 239.0.50.11:5000 --output 239.78.78.78:5000
|
|
67
|
+
|
51
|
68
|
|
52
|
69
|
OSCAM configuration
|
53
|
70
|
===================
|