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.

ChangeLog 5.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. xxxx-xx-xx : Version -next
  2. * Add new notification message STREAM_NOT_ENCRYPTED. When stream is not
  3. encrypted no NO_CODE_WORD notifications are sent.
  4. * Add --notify-wait (-9) option (not set by default). Using it prevents
  5. running of several notification scripts in parallel which can lead to
  6. races if the scripts are used for logging.
  7. * Start passing _INPUT_ADDR and _OUTPUT_ADDR variables to notify script.
  8. 2013-09-12 : Version 10.0
  9. * Add --ecm-only (-v) option. This allows processing of ECMs but without
  10. decoding the input stream.
  11. * Add --ecm-and-emm-only (-q) option. This allows processing of ECMs
  12. and EMMs but without decoding the input stream.
  13. * Set newcamd client id to 0x7878 (tsdecrypt).
  14. * Fixed regression that apeared in 9.0 which prevented the output from
  15. working if the output address was not multicast.
  16. * Add support for Griffin CAS and for DGCrypt CAS.
  17. * Add support for setting multicast source address /SSM/ (--input-source).
  18. * Add support for EMM filters similar to DVBAPI filters (match + mask).
  19. * Add support for EMM filters based on section length.
  20. * Add support for Irdeto CHID filtering (tested with Raduga).
  21. 2012-09-10 : Version 9.0
  22. * Add --no-output-on-error (-u) option. By using this option output can be
  23. disabled if there is no currently received code word.
  24. * Remove deprecated --output-filter option. The option you should use is
  25. --no-output-filter.
  26. * Allow camd server address (--camd-server, -s) to be resolved, not only
  27. set by IP address.
  28. * Allow tsdecrypt to read ECM/EMM packet from text file. The added
  29. parameters are -n, -ecm-file <file> and -m --emm-file <file>.
  30. * Add support for CAMD server listening on IPv6.
  31. * Add support for input and output over IPv6.
  32. * Add support for forcing only IPv4 (-4, --ipv4) or only IPv6 (-6, --ipv6).
  33. * Add support for multiple CAMD addresses returned when resolving CAMD
  34. server hostname. tsdecrypt would try each of the addresses and use
  35. the one that works.
  36. * Change the way filenames are set in input/output options.
  37. Now file:// prefix is must be added before the filename otherwise
  38. the parameter is treated as network address.
  39. * Add --emm-filter (-a) option. This option implements EMM filtering.
  40. 2012-04-19 : Version 8.1
  41. * Add support for Bulcrypt CAS.
  42. 2012-04-12 : Version 8.0
  43. * Add --biss-key (-Q) option. This option enables BISS decryption.
  44. * Add FFdecsa support. In most cases FFdecsa decrypts faster than libdvcsa.
  45. To compile with FFdecsa support use "make ffdecsa".
  46. * Add --const-cw (-Y) option. This option allows using of constant
  47. code words for decryption.
  48. * Add "make help" target.
  49. * Display better timing information for ECMs and code word changes.
  50. * Filter special symbols in provider and service names before printing them.
  51. 2012-03-07 : Version 7.0
  52. * Add --input-buffer (-T) option. This option allows uninterrupted
  53. decryption even if OSCAM returns code words too late.
  54. * Add --log-file (-F) option.
  55. * Fixed newcamd protocol issues when OSCAM disappeared.
  56. * Fix (and optimize) decryption when the input is MPTS. Previously
  57. decrypting one stream broke the others.
  58. * notify: Add NO_EMM_RECEIVED event.
  59. 2012-02-24 : Version 6.0
  60. * Add --output-tos (-g) option used to set output TOS value.
  61. * Add --input-dump (-W) option used save input stream in file.
  62. * Add --pid-report (-j) option used to turn on PID reporting.
  63. * Add RTP output enabled by --output-rtp (-r) option.
  64. * Add --output-rtp-ssrc (-k) option used to set RTP SSRC.
  65. * A bug was fixed that prevented tsdecrypt from working if CAMD server
  66. was not available for couple of minutes.
  67. 2011-12-23 : Version 5.0
  68. * Add --bench (-b) option that benchmarks libdvbcsa decryption.
  69. * Remove --camd-pkt-delay (-y) option. This workaround is no longer needed.
  70. * Fix payload offset detection, a bug which broke packets that have
  71. adaptation with whole packet size (libtsfuncs).
  72. * Add --input-service (-M) option, to choose service id (program) in MPTS input.
  73. * When the input is MPTS and output filtering is enabled, rewrite output
  74. PAT to include only the single program that is decoded.
  75. * Parse SDT and display provider and service name.
  76. * Add --output-nit-pass (-y) to enable NIT pass through.
  77. * Add --output-eit-pass (-w) to enable EIT (EPG) pass through.
  78. * Add --output-tdt-pass (-x) to enable TDT/TOT pass through.
  79. * Add support for newcamd CAMD protocol.
  80. * Add ECM/EMM queues depth limit to avoid allocating too much memory.
  81. 2011-11-18 : Version 4.0
  82. * Set CAMD sockets NODELAY to avoid OSCAM errors when many packets are sent.
  83. * Add --syslog parameter to enable local syslog logging.
  84. * Set thread names under Linux.
  85. * notify: Added no_code_word/code_word_ok events.
  86. * notify: Added input_timeout/input_ok events.
  87. * notify: Added start/stop events.
  88. * notify: Added option to execute external script on event.
  89. 2011-11-14 : Version 3.2
  90. * Fixed bug that prevented tsdecrypt from working at all :(
  91. 2011-11-12 : Version 3.1
  92. * Add debug level 5 (full mpeg ts packet dump).
  93. * Fix PSI table gathering in invalid transport streams.
  94. * Fix EMM/ECM parsing (this fixes ORF1 decoding on Astra 19.2).
  95. * Process ECMs before EMMs, preventing the case where too much
  96. incoming EMMs interfere with decryption.
  97. 2011-09-30 : Version 3.0
  98. * Add man page.
  99. * Add support for long command line options.
  100. * Add make install/uninstall Makefile targets.
  101. * Add support for compilation on OS X.
  102. * Add tested support for Viaccess.
  103. * Add tested support for Mediaguard (Seca).
  104. * Add tested support for Videoguard (NDS).
  105. * Add untested support for Nagra.
  106. * Add untested support for DRE-Crypt.
  107. * Add option to disable ECM and CW logging (--ecm-no-log).
  108. * Add option to manually set EMM pid (--emm-pid).
  109. * Add option to manually set ECM pid (--ecm-pid).
  110. * Add option to manually set CAID (--caid).
  111. * Add ECM reports (--ecm-report-time).
  112. * Log warnings when there is no input data.
  113. * Log warnings when code word become invalid.
  114. 2011-09-15 : Version 2.0
  115. * Initial public release.