gfto / tsdecrypt

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.
http://georgi.unixsol.org/programs/tsdecrypt/
GNU General Public License v2.0
116 stars 52 forks source link

TS Stream not being decoded correctly #8

Open joolzg opened 8 years ago

joolzg commented 8 years ago

Have a stream Im pulling in and when using the filters seeing lots of errors for EMM streams

2016-11-01 14:18:29 | EMM | SID 0x1de7 CAID: 0x0960 PID 0x0103 Table: 0x02 Length: 165 SKIP: 02 b0 a2 1d e7 f7 00 00 e9 32 f0 05 0e 03 c0 .. 2016-11-01 14:18:29 | EMM | SID 0x1de7 CAID: 0x0960 PID 0x00c0 Table: 0x82 Length: 132 SKIP: 82 70 81 50 02 f4 7d da 04 67 7e 23 00 00 eb .. 2016-11-01 14:18:29 | EMM | SID 0x1de7 CAID: 0x0960 PID 0x00c0 Table: 0x82 Length: 112 SKIP: 82 70 6d 50 03 72 4b 78 02 79 b4 44 00 00 db .. 2016-11-01 14:18:29 | EMM | SID 0x1de7 CAID: 0x0960 PID 0x00c0 Table: 0x82 Length: 130 SKIP: 82 70 7f 50 03 72 4f 68 02 c2 6d bf 00 00 ea .. 2016-11-01 14:18:29 | EMM | SID 0x1de7 CAID: 0x0960 PID 0x00c0 Table: 0x82 Length: 172 SKIP: 82 70 a9 50 02 c2 6d f5 04 40 1b 09 00 00 f9 .. 2016-11-01 14:18:29 | EMM | SID 0x1de7 CAID: 0x0960 PID 0x00c0 Table: 0x82 Length: 169 SKIP: 82 70 a6 60 04 40 1b 11 02 f1 d9 ef 02 f1 da .. 2016-11-01 14:18:29 | EMM | SID 0x1de7 CAID: 0x0960 PID 0x00c0 Table: 0x82 Length: 166 SKIP: 82 70 a3 50 02 f1 da 21 02 f4 7d db 00 00 ed .. 2016-11-01 14:18:29 | EMM | SID 0x1de7 CAID: 0x0960 PID 0x00c0 Table: 0x82 Length: 85 SKIP: 82 70 52 40 02 f4 7d dd 00 00 e5 02 00 46 90 .. 2016-11-01 14:18:29 | EMM | SID 0x1de7 CAID: 0x0960 PID 0x00c0 Table: 0x82 Length: 137 SKIP: 82 70 86 c0 ab fe 26 29 00 00 ff 07 7a 01 30 .. 2016-11-01 14:18:29 | EMM | SID 0x1de7 CAID: 0x0960 PID 0x0934 Table: 0x00 Length: 448 SKIP: 00 01 bd 00 b2 84 80 24 2f 31 65 af 3f ff ff .. 2016-11-01 14:18:29 | EMM | SID 0x1de7 CAID: 0x0960 PID 0x00c0 Table: 0x82 Length: 142 SKIP: 82 70 8b 40 02 c2 6e 01 00 01 c0 41 02 00 7e .. 2016-11-01 14:18:29 | EMM | SID 0x1de7 CAID: 0x0960 PID 0x00c0 Table: 0x82 Length: 165 SKIP: 82 70 a2 60 03 78 10 40 02 a4 94 73 02 f4 7d .. 2016-11-01 14:18:29 | EMM | SID 0x1de7 CAID: 0x0960 PID 0x00c0 Table: 0x82 Length: 147 SKIP: 82 70 90 60 04 40 1b 1e 04 40 1b 20 04 40 1b .. 2016-11-01 14:18:29 | EMM | SID 0x1de7 CAID: 0x0960 PID 0x00c0 Table: 0x82 Length: 137 SKIP: 82 70 86 c0 ab fe 6a cb 00 00 ff 07 7a 01 30 .. 2016-11-01 14:18:29 | EMM | SID 0x1de7 CAID: 0x0960 PID 0x0000 Table: 0x00 Length: 20 SKIP: 00 b0 11 08 2d c3 00 00 00 00 e0 10 1d e7 e1 .. 2016-11-01 14:18:29 | EMM | SID 0x1de7 CAID: 0x0960 PID 0x00c0 Table: 0x82 Length: 109 SKIP: 82 70 6a 60 02 c2 6e 10 02 c2 6e 13 02 c2 6f .. 2016-11-01 14:18:29 | EMM | SID 0x1de7 CAID: 0x0960 PID 0x00c0 Table: 0x82 Length: 113 SKIP: 82 70 6e 40 03 72 51 e2 00 00 f3 02 00 63 90 .. 2016-11-01 14:18:29 | EMM | SID 0x1de7 CAID: 0x0960 PID 0x00c0 Table: 0x82 Length: 115 SKIP: 82 70 70 40 03 72 52 d1 00 00 f4 02 00 64 90 .. 2016-11-01 14:18:29 | EMM | SID 0x1de7 CAID: 0x0960 PID 0x00c0 Table: 0x82 Length: 176 SKIP: 82 70 ad 50 02 c2 6f 1b 02 f4 7d df 00 00 f2 .. 2016-11-01 14:18:29 | EMM | SID 0x1de7 CAID: 0x0960 PID 0x0934 Table: 0x00 Length: 448 SKIP: 00 01 bd 00 b2 84 80 24 2f 31 65 cb 5f ff ff .. 2016-11-01 14:18:29 | EMM | SID 0x1de7 CAID: 0x0960 PID 0x0932 Table: 0xde Length: 2196 SKIP: de 78 91 c0 12 eb 49 3a 33 1b bf 3a 97 b7 bc .. 2016-11-01 14:18:29 | EMM | SID 0x1de7 CAID: 0x0960 PID 0x00c0 Table: 0x83 Length: 177 SKIP: 83 70 ae 60 04 63 17 0a 04 5d 40 a0 04 63 17 ..

As you see we have EMM filters that start with 00 01 bd 00, any one else seen these.

I can record a stream if needed