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.8KB

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