123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166 |
- .TH TSDECRYPT "1" "September 2011" "tsdecrypt 2.0" "User Commands"
- .SH NAME
- tsdecrypt - Decrypt mpegts stream.
- .SH SYNOPSIS
- .B tsdecrypt
- [\fIoptions\fR]
- .SH DESCRIPTION
- 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.
- .SH OPTIONS
- .TP
- .SH MAIN OPTIONS
- .PP
- .TP
- \fB\-i\fR, \fB\-\-ident\fR <ident>
- Set ident that will be used when logging to syslog. The prefered format
- for the ident is PROVIDER/CHANNEL.
- .TP
- \fB\-d\fR, \fB\-\-daemon\fR <pidfile>
- When started become a daemon and write pid file to <pidfile>.
- .TP
- \fB\-l\fR, \fB\-\-syslog\-host\fR <addr>
- Set syslog host. tsdecrypt sends messages to this host over tcp in
- syslog compatible format. syslog-ng was tested as receiving syslog server.
- .TP
- \fB\-L\fR, \fB\-\-syslog\-port\fR <port>
- Syslog server port. The default value is \fB514\fR.
- .TP
- \fB\-D\fR, \fB\-\-debug\fR <level>
- Set message debug level. Currently there are five message levels.
- 0 = default messages, 1 = show PSI tables, 2 = show EMMs 3 = show
- duplicate ECMs, 4 = packet debug. Setting higher level enables the
- levels bellow.
- .TP
- \fB\-h\fR, \fB\-\-help\fR
- Show program help.
- .TP
- .SH INPUT OPTIONS
- .PP
- .TP
- \fB\-I\fR, \fB\-\-input\fR <source>
- Where to read from. tsdecrypt supports input from files (-I file.ts or -I -)
- or multicast (-I 224.0.0.1:5000). By default tsdecrypt reads from \fBstdin\fR.
- .TP
- \fB\-R\fR, \fB\-\-input\-rtp\fR
- When reading from multicast assume the input is RTP stream. NOTE: No RTP
- processing/reordering of packets is done. The 12 byte RTP header is just
- stripped out and the stream is then processed as normal mpegts over UDP
- multicast.
- .TP
- \fB\-z\fR, \fB\-\-input\-ignore\-disc\fR
- Do not report input discontinuity or RTP discontinuity errors.
- .TP
- .SH OUTPUT OPTIONS
- .PP
- .TP
- \fB\-O\fR, \fB\-\-output\fR <dest>
- Output decrypted stream to <dest>. Destination can be multicast address
- (-O 239.0.0.1:5000) or a file (-O file.ts). The default output is \fBstdout\fR.
- .TP
- \fB\-o\fR, \fB\-\-output\-intf\fR <addr>
- Set multicast output interface.
- .TP
- \fB\-t\fR, \fB\-\-output\-ttl\fR
- Set multicast ttl. The default value is \fB1\fR.
- .TP
- \fB\-p\fR, \fB\-\-output\-filter\fR
- Enable output filtering. When output filter is enabled only PAT/PMT/SDT
- and data packets are left in the output. Everything else not mentioned
- in PMT like NIT, EIT, TDT tables and unknown pids is removed.
- .TP
- .SH CA OPTIONS
- .PP
- .TP
- \fB\-c\fR, \fB\-\-ca\-system\fR <ca_sys>
- Process input EMM/ECM from <ca_sys>. Currently tested and working CA systems
- are \fBCONAX\fR, \fBCRYPTOWORKS\fR, \fBIRDETO\fR, \fBVIACCESS\fR, \fBMEDIAGUARD\fR
- (\fBSECA\fR) and \fBVIDEOGUARD\fR (\fBNDS\fR). Other supported CA systems that
- you can choose but are not tested are \fBNAGRA\fR and \fBDRECRYPT\fR.
- The default <ca_sys> is \fBCONAX\fR.
- .TP
- \fB\-C\fR, \fB\-\-caid\fR <caid>
- Directly set CAID. This is useful if you have couple of CA streams from
- one CA but with different CAIDs.
- .TP
- .SH CAMD OPTIONS
- .PP
- .TP
- \fB\-s\fR, \fB\-\-camd\-server\fR <addr[:port]>
- Set CAMD server ip and port (10.0.1.1:2233). Is not set default port is
- \fB2233\fR. tsdecrypt is tested and working with OSCAM using cs378x protocol
- (camd35 over tcp).
- .TP
- \fB\-U\fR, \fB\-\-camd\-user\fR <username>
- Set CAMD user name. The default is \fBuser\fR.
- .TP
- \fB\-P\fR, \fB\-\-camd\-pass\fR <password>
- Set CAMD user password. The default is \fBpass\fR.
- .TP
- \fB\-y\fR, \fB\-\-camd\-pkt\-delay\fR <usec>
- Sleep <usec> microseconds between sending ECM/EMM packets to CAMD. This
- is workaround for camd35 OSCAM protocol processing. The default sleep time is
- \fB0\fR (workaround is disabled).
- .TP
- .SH EMM OPTIONS
- .PP
- .TP
- \fB\-e\fR, \fB\-\-emm\fR
- Enable sending EMM's to CAMD for processing. By default EMM processing
- is \fBdisabled\fR and only ECM are processed.
- .TP
- \fB\-Z\fR, \fB\-\-emm\-pid\fR <pid>
- Set EMM pid manually. This option is useful for services that have
- couple of EMM streams from one CA system. Without this option tsdecrypt
- always chooses the first stream from the chosen CA system.
- .TP
- \fB\-E\fR, \fB\-\-emm\-only\fR <hierarchy>
- Disable ECM processing and stream output. This option is useful if the EMM
- stream has very high rate and is interfering with ECM processing. Using
- --emm-only you can run special tsdecrypt dedicated only to card auto update.
- .TP
- \fB\-f\fR, \fB\-\-emm\-report\-time\fR <seconds>
- Set interval for EMM reports. The default is \fB60\fR seconds. Set to \fB0\fR
- to disable EMM reports.
- .TP
- .SH ECM OPTIONS
- .PP
- .TP
- \fB\-X\fR, \fB\-\-ecm\-pid\fR <pid>
- Set ECM pid manually. This option is useful for services that have
- couple of ECM streams from one CA system. Without this option tsdecrypt
- always chooses the first stream from the chosen CA system. Run tsdecrypt
- with --debug 2 and look at CA descriptors in PMT to see what CA streams
- are available.
- .TP
- \fB\-H\fR, \fB\-\-ecm\-report\-time\fR <seconds>
- Set interval for ECM reports. The default is \fB60\fR seconds. Set to \fB0\fR
- to disable ECM reports.
- .TP
- \fB\-G\fR, \fB\-\-ecm\-irdeto\-type\fR <type>
- Set ECM IRDETO type. IRDETO CA send ECMs with different id mixed
- into one stream. Only one of the IDs are valid in given time. This
- option lets you choose which stream to process. The default stream
- type is \fB0\fR.
- .TP
- \fB\-K\fR, \fB\-\-ecm\-no\-log\fR
- Disable logging of ECMs and code words. Code word errors and stats
- reports are not affected by this option.
- .TP
- \fB\-J\fR, \fB\-\-cw\-warn\-time\fR <seconds>
- After how much seconds to warn if valid code word was not received.
- The default is \fB20\fR seconds. Set to \fB0\fR to disable the warning.
- .SH SEE ALSO
- See the README file for more information. If you have questions, remarks,
- problems or you just want to contact the developer, write to:
- \fIgeorgi@unixsol.org\fP
- .TP
- For more info, see the website at
- .I http://georgi.unixsol.org/programs/tsdecrypt/
- .SH AUTHORS
- Writen by Georgi Chorbadzhiyski <\fBgeorgi@unixsol.org\fR>
- .SH LICENCE
- This program is free software; you can redistribute it and/or modify it under
- the terms of version 2 of the GNU General Public License as published by the
- Free Software Foundation.
|