Browse Source

man: Copy examples from README file to man page.

Georgi Chorbadzhiyski 11 years ago
parent
commit
97bbfe0a24
1 changed files with 52 additions and 0 deletions
  1. 52
    0
      tsdecrypt.1

+ 52
- 0
tsdecrypt.1 View File

@@ -302,6 +302,58 @@ currently defined events are:
302 302
 
303 303
 See \fBnotify\-script.example\fR for an example on how to create external
304 304
 notification program.
305
+.SH EXAMPLES
306
+To get a quick start here are some example command lines. The default
307
+CA system is set to CONAX, you can change it using \fB\-\-ca-system\fR parameter,
308
+see man page or program help for more options.
309
+
310
+.nf
311
+   # Decrypt multicast stream from 239.0.50.11:5000 using 10.0.1.1:2233
312
+   # as camd server and output decrypted result to 239.78.78.78:5000
313
+   tsdecrypt --camd-server 10.0.1.1 \\
314
+       --input 239.0.50.11:5000 --output 239.78.78.78:5000
315
+
316
+   # Same as above but enable EMM processing
317
+   tsdecrypt --emm --camd-server 10.0.1.1:2233 \\
318
+       --input 239.0.50.11:5000 --output 239.78.78.78:5000
319
+
320
+   # Same as above but do not filter output stream thus allowing
321
+   # EIT/TOT/NIT, etc tables to passthrough
322
+   tsdecrypt --no-output-filter --emm --camd-server 10.0.1.1 \\
323
+       --input 239.0.50.11:5000 --output 239.78.78.78:5000
324
+
325
+   # Choose program/service_id to decrypt. Useful when the input is MPTS
326
+   tsdecrypt --camd-server 10.0.1.1 --input-service 1234 \\
327
+       --input 239.0.50.11:5000 --output 239.78.78.78:5000
328
+
329
+   # Read stream over RTP and process VIACCESS encoded channel
330
+   tsdecrypt --ca-system VIACCESS --emm --camd-server 10.0.1.1:2233 \\
331
+       --input-rtp --input 239.0.50.11:5000 --output 239.78.78.78:5000
332
+
333
+   # Decrypt stream encypted with CAID 0x0963 (NDS, sky)
334
+   tsdecrypt --camd-server 10.0.1.1 --ca-system NDS --caid 0x0963 \\
335
+       --input 239.0.50.11:5000 --output 239.78.78.78:5000
336
+
337
+   # Send only EMMs to OSCAM for CAID 0x0963 (NDS, sky)
338
+   tsdecrypt --camd-server 10.0.1.1 --emm-only --caid 0x0963 \\
339
+       --input 239.0.50.11:5000 --output /dev/null
340
+
341
+   # Decrypt stream encypted with CAID 0x5581 (Bulcrypt)
342
+   tsdecrypt --camd-server 10.0.1.1 --caid 0x5581 \\
343
+       --input 239.0.50.11:5000 --output 239.78.78.78:5000
344
+
345
+   # Decrypt BISS encrypted stream
346
+   tsdecrypt --biss-key 0x112233445566 --input 239.0.50.11:5000 \\
347
+       --output 239.78.78.78:5000
348
+
349
+   # Decrypt file encypted with constant code word
350
+   tsdecrypt --const-cw 0x00000000000000001111111111111111 \\
351
+       --input encrypted-file.ts --output decrypted-file.ts
352
+
353
+   # Send ECM from file
354
+   tsdecrypt --ecm-file ecm.txt --caid 0x5581 --input-service 12345 \\
355
+       --camd-server example.com
356
+.fi
305 357
 .SH SEE ALSO
306 358
 See the README file for more information. If you have questions, remarks,
307 359
 problems or you just want to contact the developer, write to:

Loading…
Cancel
Save