|
@@ -1,6 +1,6 @@
|
1
|
1
|
.TH TSDECRYPT "1" "April 2012" "tsdecrypt 8.0" "User Commands"
|
2
|
2
|
.SH NAME
|
3
|
|
-tsdecrypt - Decrypt mpeg transport stream.
|
|
3
|
+tsdecrypt \- Decrypt mpeg transport stream.
|
4
|
4
|
.SH SYNOPSIS
|
5
|
5
|
.B tsdecrypt
|
6
|
6
|
[\fIoptions\fR]
|
|
@@ -15,7 +15,7 @@ over tcp) protocol or newcamd protocol.
|
15
|
15
|
.PP
|
16
|
16
|
.TP
|
17
|
17
|
\fB\-i\fR, \fB\-\-ident\fR <ident>
|
18
|
|
-Set ident that will be used when logging to syslog. The prefered format
|
|
18
|
+Set ident that will be used when logging to syslog. The preferred format
|
19
|
19
|
for the ident is PROVIDER/CHANNEL.
|
20
|
20
|
.TP
|
21
|
21
|
\fB\-d\fR, \fB\-\-daemon\fR <pidfile>
|
|
@@ -25,7 +25,7 @@ When started become a daemon and write pid file to <pidfile>.
|
25
|
25
|
Execute \fB<program>\fR when predefined events happen. In order for
|
26
|
26
|
this option to work \fB\-\-ident\fR should also be used.
|
27
|
27
|
|
28
|
|
-You can use \fBnotify-script.example\fR file as notification program
|
|
28
|
+You can use \fBnotify\-script.example\fR file as notification program
|
29
|
29
|
and an example on how to create your own notification script.
|
30
|
30
|
|
31
|
31
|
See \fBEVENTS\fR section for detailed description of the events.
|
|
@@ -35,7 +35,7 @@ Write log messages to local syslog.
|
35
|
35
|
.TP
|
36
|
36
|
\fB\-l\fR, \fB\-\-syslog\-host\fR <addr>
|
37
|
37
|
Set syslog host. tsdecrypt sends messages to this host over tcp in
|
38
|
|
-syslog compatible format. syslog-ng was tested as receiving syslog server.
|
|
38
|
+syslog compatible format. syslog\-ng was tested as receiving syslog server.
|
39
|
39
|
.TP
|
40
|
40
|
\fB\-L\fR, \fB\-\-syslog\-port\fR <port>
|
41
|
41
|
Syslog server port. The default value is \fB514\fR.
|
|
@@ -68,8 +68,8 @@ Show program help.
|
68
|
68
|
.PP
|
69
|
69
|
.TP
|
70
|
70
|
\fB\-I\fR, \fB\-\-input\fR <source>
|
71
|
|
-Where to read from. tsdecrypt supports input from files (-I file.ts or -I -)
|
72
|
|
-or multicast (-I 224.0.0.1:5000). By default tsdecrypt reads from \fBstdin\fR.
|
|
71
|
+Where to read from. tsdecrypt supports input from files (\-I file.ts or \-I \-)
|
|
72
|
+or multicast (\-I 224.0.0.1:5000). By default tsdecrypt reads from \fBstdin\fR.
|
73
|
73
|
.TP
|
74
|
74
|
\fB\-R\fR, \fB\-\-input\-rtp\fR
|
75
|
75
|
When reading from multicast assume the input is RTP stream. NOTE: No RTP
|
|
@@ -91,7 +91,7 @@ Use this option to delay the decoding for certain amount of milliseconds. This
|
91
|
91
|
allows tsdecrypt to decode services even if OSCAM returns code word too late.
|
92
|
92
|
For example SkyUK sends code words ~700 ms before it starts using them. This
|
93
|
93
|
means that if OSCAM is unable to return code word in less than 700 ms the
|
94
|
|
-decryption will fail for a small amount of time. Setting --input-buffer 1000
|
|
94
|
+decryption will fail for a small amount of time. Setting \-\-input\-buffer 1000
|
95
|
95
|
will solve the problem in this case.
|
96
|
96
|
.TP
|
97
|
97
|
\fB\-W\fR, \fB\-\-input\-dump\fR <filename>
|
|
@@ -99,14 +99,14 @@ Save input stream in <filename>. If the input is RTP, the file will contain
|
99
|
99
|
the data without RTP headers (pure mpeg transport stream). Easiest way to
|
100
|
100
|
save the input is using command line like the following:
|
101
|
101
|
|
102
|
|
-tsdecrypt -I 239.78.78.78:5000 -O /dev/null -s 0.0.0.0 -W file.ts
|
|
102
|
+tsdecrypt \-I 239.78.78.78:5000 \-O /dev/null \-s 0.0.0.0 \-W file.ts
|
103
|
103
|
.TP
|
104
|
104
|
.SH OUTPUT OPTIONS
|
105
|
105
|
.PP
|
106
|
106
|
.TP
|
107
|
107
|
\fB\-O\fR, \fB\-\-output\fR <dest>
|
108
|
108
|
Output decrypted stream to <dest>. Destination can be multicast address
|
109
|
|
-(-O 239.0.0.1:5000) or a file (-O file.ts). The default output is \fBstdout\fR.
|
|
109
|
+(\-O 239.0.0.1:5000) or a file (\-O file.ts). The default output is \fBstdout\fR.
|
110
|
110
|
.TP
|
111
|
111
|
\fB\-o\fR, \fB\-\-output\-intf\fR <addr>
|
112
|
112
|
Set multicast output interface.
|
|
@@ -118,7 +118,7 @@ Set multicast ttl. The default value is \fB1\fR.
|
118
|
118
|
Set TOS value of output packets. The default is not to set any specific TOS.
|
119
|
119
|
.TP
|
120
|
120
|
\fB\-r\fR, \fB\-\-output\-rtp\fR
|
121
|
|
-Enable RTP output. The default output is standart MPEG TS over UDP, this
|
|
121
|
+Enable RTP output. The default output is standard MPEG TS over UDP, this
|
122
|
122
|
option enables tsdecrypt to output RTP packets.
|
123
|
123
|
.TP
|
124
|
124
|
\fB\-k\fR, \fB\-\-output\-rtp\-ssrc\fR <ssrc>
|
|
@@ -130,13 +130,13 @@ PAT/PMT/SDT and data packets are left in the output. Everything else not
|
130
|
130
|
mentioned in PMT like NIT, EIT, TDT tables and unknown pids is removed.
|
131
|
131
|
.TP
|
132
|
132
|
\fB\-y\fR, \fB\-\-output\-nit\-pass\fR
|
133
|
|
-Pass throught NIT packets when output filtering is enabled.
|
|
133
|
+Pass through NIT packets when output filtering is enabled.
|
134
|
134
|
.TP
|
135
|
135
|
\fB\-w\fR, \fB\-\-output\-eit\-pass\fR
|
136
|
|
-Pass throught EIT (EPG) packets when output filtering is enabled.
|
|
136
|
+Pass through EIT (EPG) packets when output filtering is enabled.
|
137
|
137
|
.TP
|
138
|
138
|
\fB\-x\fR, \fB\-\-output\-tdt\-pass\fR
|
139
|
|
-Pass throught TDT/TOT packets when output filtering is enabled.
|
|
139
|
+Pass through TDT/TOT packets when output filtering is enabled.
|
140
|
140
|
.TP
|
141
|
141
|
.SH CA OPTIONS
|
142
|
142
|
.PP
|
|
@@ -152,14 +152,14 @@ The default <ca_sys> is \fBCONAX\fR.
|
152
|
152
|
Directly set CAID. This is useful if you have couple of CA streams from
|
153
|
153
|
one CA but with different CAIDs.
|
154
|
154
|
.TP
|
155
|
|
-\fB\-Y\fR, \fB\-\-const-cw\fR <codeword>
|
156
|
|
-Set constant code word to be used for decryption. The \fB<codeword>\fR should
|
|
155
|
+\fB\-Y\fR, \fB\-\-const\-cw\fR <code_word>
|
|
156
|
+Set constant code word to be used for decryption. The \fB<code_word>\fR should
|
157
|
157
|
contain 32 hex chars. For example using \fBa1a2a3a4a5a6a7a8b1b2b3b4b5b6b7b8\fR
|
158
|
158
|
as parameter will set even code word to \fBa1a2a3a4a5a6a7a8\fR and odd code
|
159
|
159
|
word to \fBb1b2b3b4b5b6b7b8\fR.
|
160
|
160
|
.TP
|
161
|
|
-\fB\-Q\fR, \fB\-\-biss-key\fR <biss-key>
|
162
|
|
-Set BISS key to be used for decryption. The \fB<biss-key>\fR should
|
|
161
|
+\fB\-Q\fR, \fB\-\-biss\-key\fR <biss_key>
|
|
162
|
+Set BISS key to be used for decryption. The \fB<biss_key>\fR should
|
163
|
163
|
contain 12 chars (hex). For example \fB112233445566\fR is valid BISS key.
|
164
|
164
|
If the BISS key contains 16 chars this means that the key CRC is embeded
|
165
|
165
|
in the key. These keys are also supported (they are the same as using
|
|
@@ -203,7 +203,7 @@ always chooses the first stream from the chosen CA system.
|
203
|
203
|
\fB\-E\fR, \fB\-\-emm\-only\fR <hierarchy>
|
204
|
204
|
Disable ECM processing and stream output. This option is useful if the EMM
|
205
|
205
|
stream has very high rate and is interfering with ECM processing. Using
|
206
|
|
---emm-only you can run special tsdecrypt dedicated only to card auto update.
|
|
206
|
+\-\-emm\-only you can run special tsdecrypt dedicated only to card auto update.
|
207
|
207
|
.TP
|
208
|
208
|
\fB\-f\fR, \fB\-\-emm\-report\-time\fR <seconds>
|
209
|
209
|
Set interval for EMM reports. The default is \fB60\fR seconds. Set to \fB0\fR
|
|
@@ -216,7 +216,7 @@ to disable EMM reports.
|
216
|
216
|
Set ECM pid manually. This option is useful for services that have
|
217
|
217
|
couple of ECM streams from one CA system. Without this option tsdecrypt
|
218
|
218
|
always chooses the first stream from the chosen CA system. Run tsdecrypt
|
219
|
|
-with --debug 2 and look at CA descriptors in PMT to see what CA streams
|
|
219
|
+with \-\-debug 2 and look at CA descriptors in PMT to see what CA streams
|
220
|
220
|
are available.
|
221
|
221
|
.TP
|
222
|
222
|
\fB\-H\fR, \fB\-\-ecm\-report\-time\fR <seconds>
|
|
@@ -242,7 +242,7 @@ options are used. The event parameters are set as environmental variables
|
242
|
242
|
before executing the external notification program. The variables are:
|
243
|
243
|
|
244
|
244
|
\fB_TS\fR Unix timestamp of the event.
|
245
|
|
- \fB_IDENT\fR tsdecrypt ident parameter with "/" replaced by "-".
|
|
245
|
+ \fB_IDENT\fR tsdecrypt ident parameter with "/" replaced by "\-".
|
246
|
246
|
\fB_MESSAGE_ID\fR Event message id (for example START, STOP, etc...).
|
247
|
247
|
\fB_MESSAGE_MSG\fR Event message id with "_" replaced by " ".
|
248
|
248
|
\fB_MESSAGE_TEXT\fR Event message text. Human readable event message.
|
|
@@ -266,7 +266,7 @@ currently defined events are:
|
266
|
266
|
|
267
|
267
|
\fBSTOP\fR tsdecrypt was stopped.
|
268
|
268
|
|
269
|
|
-See \fBnotify-script.example\fR for an example on how to create external
|
|
269
|
+See \fBnotify\-script.example\fR for an example on how to create external
|
270
|
270
|
notification program.
|
271
|
271
|
.SH SEE ALSO
|
272
|
272
|
See the README file for more information. If you have questions, remarks,
|