Project

General

Profile

Descrambling not working for the second channel in mux with SAT->IP

Added by DJ Jo over 9 years ago

When i run two channel from the same mux (and sat-> ip adapter) the channel does not get descrambeld.
TVheadend does not ask for the PID for discrambling.

This is my log of my Sat-IP server (SATPI)

Jul  7 22:21:58 SatPI[2877]: 260 [      Streams.cpp:262] Found StreamID 3 - SessionID 0581631086
Jul  7 22:21:58 SatPI[2877]: 261 [       Stream.cpp:064] Stream: 3, StreamClient[0] with SessionID 0581631086 for dvbt
Jul  7 22:21:58 SatPI[2877]: 262 [       Stream.cpp:209] Stream: 3, Parsing transport parameters...
Jul  7 22:21:58 SatPI[2877]: 263 [ StreamClient.cpp:043] Connection can close: 0
Jul  7 22:21:58 SatPI[2877]: 264 [     Frontend.cpp:455] Stream: 3, Opened FE fd: 9
Jul  7 22:21:58 SatPI[2877]: 265 [     Frontend.cpp:401] Stream: 3, Start tuning process...
Jul  7 22:21:59 SatPI[2877]: 266 [     Frontend.cpp:466] Stream: 3, Waiting on lock...
Jul  7 22:21:59 SatPI[2877]: 267 [     Frontend.cpp:480] Stream: 3, Not locked yet (FE status 0)...
Jul  7 22:21:59 SatPI[2877]: 268 [     Frontend.cpp:480] Stream: 3, Not locked yet (FE status 0)...
Jul  7 22:21:59 SatPI[2877]: 269 [     Frontend.cpp:480] Stream: 3, Not locked yet (FE status 0)...
Jul  7 22:21:59 SatPI[2877]: 270 [     Frontend.cpp:480] Stream: 3, Not locked yet (FE status 0)...
Jul  7 22:21:59 SatPI[2877]: 271 [     Frontend.cpp:480] Stream: 3, Not locked yet (FE status 7)...
Jul  7 22:21:59 SatPI[2877]: 272 [     Frontend.cpp:477] Stream: 3, Tuned and locked (FE status 31).
Jul  7 22:21:59 SatPI[2877]: 273 [     Frontend.cpp:498] Stream: 3, Opened DVR fd: 10.
Jul  7 22:21:59 SatPI[2877]: 274 [     Frontend.cpp:512] Stream: 3, Updating PID filters...
Jul  7 22:21:59 SatPI[2877]: 275 [     Frontend.cpp:529] Stream: 3, Set filter PID: 0000 - fd: 011
Jul  7 22:21:59 SatPI[2877]: 276 [     Frontend.cpp:529] Stream: 3, Set filter PID: 0021 - fd: 012
Jul  7 22:21:59 SatPI[2877]: 277 [    RtpThread.cpp:095] Stream: 3, Start   RTP stream to {TVHEADEND IP}:4010
Jul  7 22:21:59 SatPI[2877]: 278 [   RtcpThread.cpp:074] Stream: 3, Start  RTCP stream to {TVHEADEND IP}:4011
Jul  7 22:21:59 SatPI[2877]: 279 [   RtspServer.cpp:141] RTSP/1.0 200 OK
Jul  7 22:21:59 SatPI[2877]: 280 CSeq: 1
Jul  7 22:21:59 SatPI[2877]: 281 Session: 0581631086;timeout=60
Jul  7 22:21:59 SatPI[2877]: 282 Transport: RTP/AVP;unicast;client_port=4010-4011
Jul  7 22:21:59 SatPI[2877]: 283 com.ses.streamID: 3
Jul  7 22:21:59 SatPI[2877]: 284 --- LINE END ---
Jul  7 22:21:59 SatPI[2877]: 285 [   RtspServer.cpp:072] Data from client {TVHEADEND IP}: PLAY rtsp://{SATPI IP}/stream=3?addpids=0,1,16,17,18,20,2040,2041,2042,2043 RTSP/1.0
Jul  7 22:21:59 SatPI[2877]: 286 Session: 0581631086
Jul  7 22:21:59 SatPI[2877]: 287 CSeq: 2
Jul  7 22:21:59 SatPI[2877]: 288 --- LINE END ---
Jul  7 22:21:59 SatPI[2877]: 289 [      Streams.cpp:242] Found StreamID x - SessionID: 0581631086
Jul  7 22:21:59 SatPI[2877]: 290 [       Stream.cpp:081] Stream: 0, No StreamClient with SessionID 0581631086
Jul  7 22:21:59 SatPI[2877]: 291 [       Stream.cpp:081] Stream: 1, No StreamClient with SessionID 0581631086
Jul  7 22:21:59 SatPI[2877]: 292 [       Stream.cpp:081] Stream: 2, No StreamClient with SessionID 0581631086
Jul  7 22:21:59 SatPI[2877]: 293 [       Stream.cpp:067] Stream: 3, StreamClient[0] with SessionID 0581631086
Jul  7 22:21:59 SatPI[2877]: 294 [       Stream.cpp:209] Stream: 3, Parsing transport parameters...
Jul  7 22:21:59 SatPI[2877]: 295 [ StreamClient.cpp:043] Connection can close: 0
Jul  7 22:21:59 SatPI[2877]: 296 [     Frontend.cpp:512] Stream: 3, Updating PID filters...
Jul  7 22:21:59 SatPI[2877]: 297 [     Frontend.cpp:529] Stream: 3, Set filter PID: 0001 - fd: 020
Jul  7 22:21:59 SatPI[2877]: 298 [     Frontend.cpp:529] Stream: 3, Set filter PID: 0016 - fd: 021
Jul  7 22:21:59 SatPI[2877]: 299 [     Frontend.cpp:529] Stream: 3, Set filter PID: 0017 - fd: 022
Jul  7 22:21:59 SatPI[2877]: 300 [     Frontend.cpp:529] Stream: 3, Set filter PID: 0018 - fd: 023
Jul  7 22:21:59 SatPI[2877]: 301 [     Frontend.cpp:529] Stream: 3, Set filter PID: 0020 - fd: 024
Jul  7 22:21:59 SatPI[2877]: 302 [     Frontend.cpp:529] Stream: 3, Set filter PID: 2040 - fd: 025
Jul  7 22:21:59 SatPI[2877]: 303 [     Frontend.cpp:529] Stream: 3, Set filter PID: 2041 - fd: 026
Jul  7 22:21:59 SatPI[2877]: 304 [     Frontend.cpp:529] Stream: 3, Set filter PID: 2042 - fd: 027
Jul  7 22:21:59 SatPI[2877]: 305 [     Frontend.cpp:529] Stream: 3, Set filter PID: 2043 - fd: 028
Jul  7 22:21:59 SatPI[2877]: 306 [   RtspServer.cpp:165] RTSP/1.0 200 OK
Jul  7 22:21:59 SatPI[2877]: 307 RTP-Info: url=rtsp://{SATPI IP}/stream=3
Jul  7 22:21:59 SatPI[2877]: 308 CSeq: 2
Jul  7 22:21:59 SatPI[2877]: 309 Session: 0581631086
Jul  7 22:21:59 SatPI[2877]: 310 --- LINE END ---
Jul  7 22:21:59 SatPI[2877]: 311 [   RtspServer.cpp:072] Data from client {TVHEADEND IP}: PLAY rtsp://{SATPI IP}/stream=3?addpids=2049 RTSP/1.0
Jul  7 22:21:59 SatPI[2877]: 312 Session: 0581631086
Jul  7 22:21:59 SatPI[2877]: 313 CSeq: 3
Jul  7 22:21:59 SatPI[2877]: 314 --- LINE END ---
Jul  7 22:21:59 SatPI[2877]: 315 [      Streams.cpp:242] Found StreamID x - SessionID: 0581631086
Jul  7 22:21:59 SatPI[2877]: 316 [       Stream.cpp:081] Stream: 0, No StreamClient with SessionID 0581631086
Jul  7 22:21:59 SatPI[2877]: 317 [       Stream.cpp:081] Stream: 1, No StreamClient with SessionID 0581631086
Jul  7 22:21:59 SatPI[2877]: 318 [       Stream.cpp:081] Stream: 2, No StreamClient with SessionID 0581631086
Jul  7 22:21:59 SatPI[2877]: 319 [       Stream.cpp:067] Stream: 3, StreamClient[0] with SessionID 0581631086
Jul  7 22:21:59 SatPI[2877]: 320 [       Stream.cpp:209] Stream: 3, Parsing transport parameters...
Jul  7 22:21:59 SatPI[2877]: 321 [ StreamClient.cpp:043] Connection can close: 0
Jul  7 22:21:59 SatPI[2877]: 322 [     Frontend.cpp:512] Stream: 3, Updating PID filters...
Jul  7 22:21:59 SatPI[2877]: 323 [     Frontend.cpp:529] Stream: 3, Set filter PID: 2049 - fd: 029
Jul  7 22:21:59 SatPI[2877]: 324 [   RtspServer.cpp:165] RTSP/1.0 200 OK
Jul  7 22:21:59 SatPI[2877]: 325 RTP-Info: url=rtsp://{SATPI IP}/stream=3
Jul  7 22:21:59 SatPI[2877]: 326 CSeq: 3
Jul  7 22:22:00 SatPI[2877]: 327 Session: 0581631086
Jul  7 22:22:00 SatPI[2877]: 328 --- LINE END ---
Jul  7 22:22:00 SatPI[2877]: 329 [   RtspServer.cpp:072] Data from client {TVHEADEND IP}: PLAY rtsp://{SATPI IP}/stream=3?addpids=182 RTSP/1.0
Jul  7 22:22:00 SatPI[2877]: 330 Session: 0581631086
Jul  7 22:22:00 SatPI[2877]: 331 CSeq: 4
Jul  7 22:22:00 SatPI[2877]: 332 --- LINE END ---
Jul  7 22:22:00 SatPI[2877]: 333 [      Streams.cpp:242] Found StreamID x - SessionID: 0581631086
Jul  7 22:22:00 SatPI[2877]: 334 [       Stream.cpp:081] Stream: 0, No StreamClient with SessionID 0581631086
Jul  7 22:22:00 SatPI[2877]: 335 [       Stream.cpp:081] Stream: 1, No StreamClient with SessionID 0581631086
Jul  7 22:22:00 SatPI[2877]: 336 [       Stream.cpp:081] Stream: 2, No StreamClient with SessionID 0581631086
Jul  7 22:22:00 SatPI[2877]: 337 [       Stream.cpp:067] Stream: 3, StreamClient[0] with SessionID 0581631086
Jul  7 22:22:00 SatPI[2877]: 338 [       Stream.cpp:209] Stream: 3, Parsing transport parameters...
Jul  7 22:22:00 SatPI[2877]: 339 [ StreamClient.cpp:043] Connection can close: 0
Jul  7 22:22:00 SatPI[2877]: 340 [     Frontend.cpp:512] Stream: 3, Updating PID filters...
Jul  7 22:22:00 SatPI[2877]: 341 [     Frontend.cpp:529] Stream: 3, Set filter PID: 0182 - fd: 030
Jul  7 22:22:00 SatPI[2877]: 342 [   RtspServer.cpp:165] RTSP/1.0 200 OK
Jul  7 22:22:00 SatPI[2877]: 343 RTP-Info: url=rtsp://{SATPI IP}/stream=3
Jul  7 22:22:00 SatPI[2877]: 344 CSeq: 4
Jul  7 22:22:00 SatPI[2877]: 345 Session: 0581631086
Jul  7 22:22:00 SatPI[2877]: 346 --- LINE END ---
Jul  7 22:22:00 SatPI[2877]: 347 [   RtspServer.cpp:072] Data from client {TVHEADEND IP}: PLAY rtsp://{SATPI IP}/stream=3?delpids=20 RTSP/1.0
Jul  7 22:22:00 SatPI[2877]: 348 Session: 0581631086
Jul  7 22:22:00 SatPI[2877]: 349 CSeq: 5
Jul  7 22:22:00 SatPI[2877]: 0 --- LINE END ---
Jul  7 22:22:00 SatPI[2877]: 1 [      Streams.cpp:242] Found StreamID x - SessionID: 0581631086
Jul  7 22:22:00 SatPI[2877]: 2 [       Stream.cpp:081] Stream: 0, No StreamClient with SessionID 0581631086
Jul  7 22:22:00 SatPI[2877]: 3 [       Stream.cpp:081] Stream: 1, No StreamClient with SessionID 0581631086
Jul  7 22:22:00 SatPI[2877]: 4 [       Stream.cpp:081] Stream: 2, No StreamClient with SessionID 0581631086
Jul  7 22:22:00 SatPI[2877]: 5 [       Stream.cpp:067] Stream: 3, StreamClient[0] with SessionID 0581631086
Jul  7 22:22:00 SatPI[2877]: 6 [       Stream.cpp:209] Stream: 3, Parsing transport parameters...
Jul  7 22:22:00 SatPI[2877]: 7 [ StreamClient.cpp:043] Connection can close: 0
Jul  7 22:22:00 SatPI[2877]: 8 [     Frontend.cpp:512] Stream: 3, Updating PID filters...
Jul  7 22:22:00 SatPI[2877]: 9 [     Frontend.cpp:533] Stream: 3, Remove filter PID: 0020 - fd: 024 - Packet Count: 2
Jul  7 22:22:00 SatPI[2877]: 10 [   RtspServer.cpp:165] RTSP/1.0 200 OK
Jul  7 22:22:00 SatPI[2877]: 11 RTP-Info: url=rtsp://{SATPI IP}/stream=3
Jul  7 22:22:00 SatPI[2877]: 12 CSeq: 5
Jul  7 22:22:00 SatPI[2877]: 13 Session: 0581631086
Jul  7 22:22:00 SatPI[2877]: 14 --- LINE END ---
Jul  7 22:22:02 SatPI[2877]: 15 [   RtspServer.cpp:072] Data from client {TVHEADEND IP}: PLAY rtsp://{SATPI IP}/stream=3?addpids=2070,2071,2072,2073 RTSP/1.0
Jul  7 22:22:02 SatPI[2877]: 16 Session: 0581631086
Jul  7 22:22:02 SatPI[2877]: 17 CSeq: 6
Jul  7 22:22:02 SatPI[2877]: 18 --- LINE END ---
Jul  7 22:22:02 SatPI[2877]: 19 [      Streams.cpp:242] Found StreamID x - SessionID: 0581631086
Jul  7 22:22:02 SatPI[2877]: 20 [       Stream.cpp:081] Stream: 0, No StreamClient with SessionID 0581631086
Jul  7 22:22:02 SatPI[2877]: 21 [       Stream.cpp:081] Stream: 1, No StreamClient with SessionID 0581631086
Jul  7 22:22:02 SatPI[2877]: 22 [       Stream.cpp:081] Stream: 2, No StreamClient with SessionID 0581631086
Jul  7 22:22:02 SatPI[2877]: 23 [       Stream.cpp:067] Stream: 3, StreamClient[0] with SessionID 0581631086
Jul  7 22:22:02 SatPI[2877]: 24 [       Stream.cpp:209] Stream: 3, Parsing transport parameters...
Jul  7 22:22:02 SatPI[2877]: 25 [ StreamClient.cpp:043] Connection can close: 0
Jul  7 22:22:02 SatPI[2877]: 26 [     Frontend.cpp:512] Stream: 3, Updating PID filters...
Jul  7 22:22:02 SatPI[2877]: 27 [     Frontend.cpp:529] Stream: 3, Set filter PID: 2070 - fd: 024
Jul  7 22:22:02 SatPI[2877]: 28 [     Frontend.cpp:529] Stream: 3, Set filter PID: 2071 - fd: 032
Jul  7 22:22:02 SatPI[2877]: 29 [     Frontend.cpp:529] Stream: 3, Set filter PID: 2072 - fd: 033
Jul  7 22:22:02 SatPI[2877]: 30 [     Frontend.cpp:529] Stream: 3, Set filter PID: 2073 - fd: 034
Jul  7 22:22:02 SatPI[2877]: 31 [   RtspServer.cpp:165] RTSP/1.0 200 OK
Jul  7 22:22:02 SatPI[2877]: 32 RTP-Info: url=rtsp://{SATPI IP}/stream=3
Jul  7 22:22:02 SatPI[2877]: 33 CSeq: 6
Jul  7 22:22:02 SatPI[2877]: 34 Session: 0581631086
Jul  7 22:22:02 SatPI[2877]: 35 --- LINE END ---
Jul  7 22:22:07 SatPI[2877]: 36 [   RtspServer.cpp:072] Data from client {TVHEADEND IP}: PLAY rtsp://{SATPI IP}/stream=3?delpids=2070,2071,2072,2073 RTSP/1.0
Jul  7 22:22:07 SatPI[2877]: 37 Session: 0581631086
Jul  7 22:22:07 SatPI[2877]: 38 CSeq: 7
Jul  7 22:22:07 SatPI[2877]: 39 --- LINE END ---

It is clear to see that tvheadend ask for the 2029 later (at Jul 7 22:21:59 SatPI2877: 323)
but when i later open a second channel it does not ask for it. tvheadend log does not say mush

2015-07-07 22:21:58.934 mpegts: 578MHz in Digitenne mux 3,4 - tuning on SAT>IP DVB-T Tuner 11 ({SATPI IP})
2015-07-07 22:21:58.934 subscription: 0005: "HTTP" subscribing on channel "MTV", weight: 100, adapter: "SAT>IP DVB-T Tuner 11 ({SATPI IP})", network: "Digitenne mux 3,4", mux: "578MHz", provider: "Digitenne", service: "MTV", profile="pass", hostname="192.168.2.57", client="VLC/2.0.5 LibVLC/2.0.5" 
2015-07-07 22:22:00.822 tot: invalid checksum (len 8, errors 1)
2015-07-07 22:22:02.123 mpegts: mux 474MHz in Digitenne mux 3,4 changed from DVBT freq 474000000 bw 8MHz cons QAM/64 hier NONE code_rate 1/2:AUTO guard 1/4 trans 8k plp_id -1
2015-07-07 22:22:02.123 mpegts: mux 474MHz in Digitenne mux 3,4 changed to   DVBT freq 474000000 bw 8MHz cons QAM/64 hier NONE code_rate 2/3:AUTO guard 1/4 trans 8k plp_id -1
2015-07-07 22:22:02.128 mpegts: mux 474MHz in Digitenne mux 3,4 changed from DVBT freq 474000000 bw 8MHz cons QAM/64 hier NONE code_rate 2/3:AUTO guard 1/4 trans 8k plp_id -1
2015-07-07 22:22:02.128 mpegts: mux 474MHz in Digitenne mux 3,4 changed to   DVBT freq 474000000 bw 8MHz cons QAM/64 hier NONE code_rate 1/2:AUTO guard 1/4 trans 8k plp_id -1
2015-07-07 22:22:02.791 subscription: 0006: "HTTP" subscribing on channel "BBC Two", weight: 100, adapter: "SAT>IP DVB-T Tuner 11 ({SATPI IP})", network: "Digitenne mux 3,4", mux: "578MHz", provider: "Digitenne", service: "BBC Two", profile="pass", hostname="192.168.2.57", client="VLC/2.0.5 LibVLC/2.0.5" 
2015-07-07 22:22:07.032 subscription: 0006: "HTTP" unsubscribing from "BBC Two", hostname="192.168.2.57", username="VLC/2.0.5 LibVLC/2.0.5" 

Does some one else got this to? tvheadend version HTS Tvheadend 4.1 from (ubuntu unstable main)
(my last topic was the same problem but different circumstances this is SAT->IP and last was IPTV udp stream)