tsdecrypt reads and decrypts CSA encrypted incoming mpeg transport stream over UDP/RTP using code words obtained from OSCAM or similar CAM server. tsdecrypt communicates with CAM server using cs378x (camd35 over tcp) protocol or newcamd protocol. https://georgi.unixsol.org/programs/tsdecrypt/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

tsdecrypt.1 5.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148
  1. .TH TSDECRYPT "1" "September 2011" "tsdecrypt 2.0" "User Commands"
  2. .SH NAME
  3. tsdecrypt - Decrypt mpegts stream.
  4. .SH SYNOPSIS
  5. .B tsdecrypt
  6. [\fIoptions\fR]
  7. .SH DESCRIPTION
  8. tsdecrypt reads incoming mpeg transport stream over UDP/RTP and then decrypts it
  9. using libdvbcsa and keys obtained from OSCAM or similar cam server. tsdecrypt
  10. communicates with CAM server using camd35 over tcp protocol also known as cs378x.
  11. .SH OPTIONS
  12. .TP
  13. .SH MAIN OPTIONS
  14. .PP
  15. .TP
  16. \fB\-i\fR, \fB\-\-ident\fR <ident>
  17. Set ident that will be used when logging to syslog. The prefered format
  18. for the ident is PROVIDER/CHANNEL.
  19. .TP
  20. \fB\-d\fR, \fB\-\-daemon\fR <pidfile>
  21. When started become a daemon and write pid file to <pidfile>.
  22. .TP
  23. \fB\-l\fR, \fB\-\-syslog\-host\fR <addr>
  24. Set syslog host. tsdecrypt sends messages to this host over tcp in
  25. syslog compatible format. syslog-ng was tested as receiving syslog server.
  26. .TP
  27. \fB\-L\fR, \fB\-\-syslog\-port\fR <port>
  28. Syslog server port. The default value is \fB514\fR.
  29. .TP
  30. \fB\-D\fR, \fB\-\-debug\fR <level>
  31. Set message debug level. Currently there are five message levels.
  32. 0 = default messages, 1 = show PSI tables, 2 = show EMMs 3 = show
  33. duplicate ECMs, 4 = packet debug. Setting higher level enables the
  34. levels bellow.
  35. .TP
  36. \fB\-h\fR, \fB\-\-help\fR
  37. Show program help.
  38. .TP
  39. .SH INPUT OPTIONS
  40. .PP
  41. .TP
  42. \fB\-I\fR, \fB\-\-input\fR <source>
  43. Where to read from. tsdecrypt supports input from files (-I file.ts or -I -)
  44. or multicast (-I 224.0.0.1:5000). By default tsdecrypt reads from \fBstdin\fR.
  45. .TP
  46. \fB\-R\fR, \fB\-\-input\-rtp\fR
  47. When reading from multicast assume the input is RTP stream. NOTE: No RTP
  48. processing/reordering of packets is done. The 12 byte RTP header is just
  49. stripped out and the stream is then processed as normal mpegts over UDP
  50. multicast.
  51. .TP
  52. \fB\-z\fR, \fB\-\-input\-ignore\-disc\fR
  53. Do not report input discontinuity or RTP discontinuity errors.
  54. .TP
  55. .SH OUTPUT OPTIONS
  56. .PP
  57. .TP
  58. \fB\-O\fR, \fB\-\-output\fR <dest>
  59. Output decrypted stream to <dest>. Destination can be multicast address
  60. (-O 239.0.0.1:5000) or a file (-O file.ts). The default output is \fBstdout\fR.
  61. .TP
  62. \fB\-o\fR, \fB\-\-output\-intf\fR <addr>
  63. Set multicast output interface.
  64. .TP
  65. \fB\-t\fR, \fB\-\-output\-ttl\fR
  66. Set multicast ttl. The default value is \fB1\fR.
  67. .TP
  68. \fB\-p\fR, \fB\-\-output\-filter\fR
  69. Enable output filtering. When output filter is enabled only PAT/PMT/SDT
  70. and data packets are left in the output. Everything else not mentioned
  71. in PMT like NIT, EIT, TDT tables and unknown pids is removed.
  72. .TP
  73. .SH CAMD OPTIONS
  74. .PP
  75. .TP
  76. \fB\-c\fR, \fB\-\-ca\-system\fR <ca_sys>
  77. Process input EMM/ECM from <ca_sys>. Currently tested and working CA systems
  78. are \fBCONAX\fR, \fBCRYPTOWORKS\fR, \fBIRDETO\fR and \fBVIACCESS\fR. Other
  79. supported CA systems that you can choose but are not tested (they are
  80. probably working) are \fBSECA\fR (\fBMEDIAGUARD\fR), \fBVIDEOGUARD\fR
  81. (\fBNDS\fR), \fBNAGRA\fR and \fBDRECRYPT\fR. The default <ca_sys>
  82. is \fBCONAX\fR.
  83. .TP
  84. \fB\-s\fR, \fB\-\-camd\-server\fR <addr[:port]>
  85. Set CAMD server ip and port (10.0.1.1:2233). Is not set default port is
  86. \fB2233\fR. tsdecrypt is tested and working with OSCAM using cs378x protocol
  87. (camd35 over tcp).
  88. .TP
  89. \fB\-U\fR, \fB\-\-camd\-user\fR <username>
  90. Set CAMD user name. The default is \fBuser\fR.
  91. .TP
  92. \fB\-P\fR, \fB\-\-camd\-pass\fR <password>
  93. Set CAMD user password. The default is \fBpass\fR.
  94. .TP
  95. \fB\-y\fR, \fB\-\-camd\-pkt\-delay\fR <usec>
  96. Sleep <usec> microseconds between sending ECM/EMM packets to CAMD. This
  97. is workaround for camd35 OSCAM protocol processing. The default sleep time is
  98. \fB0\fR (workaround is disabled).
  99. .TP
  100. .SH EMM OPTIONS
  101. .PP
  102. .TP
  103. \fB\-e\fR, \fB\-\-emm\fR
  104. Enable sending EMM's to CAMD for processing. By default EMM processing
  105. is \fBdisabled\fR and only ECM are processed.
  106. .TP
  107. \fB\-Z\fR, \fB\-\-emm\-pid\fR <pid>
  108. Set EMM pid manually. This option is useful for services that have
  109. couple of EMM streams from one CA system. Without this option tsdecrypt
  110. always chooses the first stream from the chosen CA system.
  111. .TP
  112. \fB\-E\fR, \fB\-\-emm\-only\fR <hierarchy>
  113. Disable ECM processing and stream output. This option is useful if the EMM
  114. stream has very high rate and is interfering with ECM processing. Using
  115. --emm-only you can run special tsdecrypt dedicated only to card auto update.
  116. .TP
  117. \fB\-f\fR, \fB\-\-emm\-report\-time\fR <seconds>
  118. Set interval for EMM totals report message. The default is \fB60\fR seconds.
  119. Set to \fB0\fR to disable EMM reporting.
  120. .TP
  121. .SH ECM OPTIONS
  122. .PP
  123. .TP
  124. \fB\-X\fR, \fB\-\-ecm\-pid\fR <pid>
  125. Set ECM pid manually. This option is useful for services that have
  126. couple of ECM streams from one CA system. Without this option tsdecrypt
  127. always chooses the first stream from the chosen CA system. Run tsdecrypt
  128. with --debug 2 and look at CA descriptors in PMT to see what CA streams
  129. are available.
  130. .TP
  131. \fB\-G\fR, \fB\-\-ecm\-irdeto\-type\fR <type>
  132. Set ECM IRDETO type. IRDETO CA send ECMs with different id mixed
  133. into one stream. Only one of the IDs are valid in given time. This
  134. option lets you choose which stream to process. The default stream
  135. type is \fB0\fR.
  136. .SH SEE ALSO
  137. See the README file for more information. If you have questions, remarks,
  138. problems or you just want to contact the developer, write to:
  139. \fIgeorgi@unixsol.org\fP
  140. .TP
  141. For more info, see the website at
  142. .I http://georgi.unixsol.org/programs/tsdecrypt/
  143. .SH AUTHORS
  144. Writen by Georgi Chorbadzhiyski <\fBgeorgi@unixsol.org\fR>
  145. .SH LICENCE
  146. This program is free software; you can redistribute it and/or modify it under
  147. the terms of version 2 of the GNU General Public License as published by the
  148. Free Software Foundation.