Project

General

Profile

TVH with DDDevice + CI black Screen on encrypted HD channels

Added by Matt Birn over 3 years ago

Good morning from germany,

i have up and running a Debian server with a TVH installation. Hardware is Digital Devices OctopusCI S2 Pro Advanced - Twin CI and Twin DVB-S2 Tuner for PCIe Slot (integrated twin CI slot)

With the help of a friend i build TVH on latest source from git and we checked that DD CI and CA works on the same machine/OS (tested with Astra Cesbo App)

TVH client is running as addon on a KODi installaton on the TV and as APP on my android OnePlus. I´m getting light with the public HD channels and the private SD channels. But with the private HD channels is it dark.

When i´m trying to open a private HD chanel on the WEB gui, i´m getting ...

2021-03-22 11:02:04.942 [   INFO] mpegts: 11464.25H in DVB-S Netzwerk - tuning on STV0910 #0 : DVB-S #0
2021-03-22 11:02:04.942 [   INFO] subscription: 0030: "epggrab" unsubscribing
2021-03-22 11:02:05.253 [ NOTICE] ddci: CAM ci3 assigned to 0x55e4cfdcc6b0
2021-03-22 11:02:05.253 [   INFO] subscription: 0034: "HTTP" subscribing on channel "ProSieben HD", weight: 100, adapter: "STV0910 #0 : DVB-S #0", network: "DVB-S Netzwerk", mux: "11464.25H", provider: "ProSiebenSat.1", service: "ProSieben HD", profile="webtv-h264-aac-matroska", hostname="192.168.188.31", username="admin", client="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.90 Safari/537.36" 
2021-03-22 11:02:05.599 [WARNING] TS: DVB-S Netzwerk/11464.25H/ProSieben HD: H264 @ #511: Invalid start code 48:25:8d
2021-03-22 11:02:05.599 [WARNING] TS: DVB-S Netzwerk/11464.25H/ProSieben HD: AC3 @ #515: Invalid start code 1a:c9:bc
2021-03-22 11:02:15.638 [WARNING] TS: DVB-S Netzwerk/11464.25H/ProSieben HD: H264 @ #511: Invalid start code 74:04:9f
2021-03-22 11:02:15.638 [WARNING] TS: DVB-S Netzwerk/11464.25H/ProSieben HD: AC3 @ #515: Invalid start code f1:a8:1b
2021-03-22 11:02:25.356 [WARNING] webui: Stop streaming /stream/channel/b0b805b346765080683545921dc0f03d?profile=webtv-h264-aac-matroska, timeout waiting for packets
2021-03-22 11:02:25.363 [   INFO] subscription: 0034: "HTTP" unsubscribing from "ProSieben HD", hostname="192.168.188.31", username="admin", client="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.90 Safari/537.36" 
2021-03-22 11:02:25.364 [ NOTICE] ddci: CAM ci3 unassigned from 0x55e4cfdcc6b0
2021-03-22 11:02:25.365 [   INFO] mpegts: 11464.25H in DVB-S Netzwerk - tuning on STV0910 #0 : DVB-S #0
2021-03-22 11:02:25.629 [ NOTICE] ddci: CAM ci3 assigned to 0x55e4cfdcc6b0
2021-03-22 11:02:25.629 [   INFO] subscription: 0037: "HTTP" subscribing on channel "ProSieben HD", weight: 100, adapter: "STV0910 #0 : DVB-S #0", network: "DVB-S Netzwerk", mux: "11464.25H", provider: "ProSiebenSat.1", service: "ProSieben HD", profile="webtv-h264-aac-matroska", hostname="192.168.188.31", username="admin", client="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.90 Safari/537.36" 
2021-03-22 11:02:25.892 [WARNING] TS: DVB-S Netzwerk/11464.25H/ProSieben HD: H264 @ #511: Invalid start code dc:05:d1
2021-03-22 11:02:25.892 [WARNING] TS: DVB-S Netzwerk/11464.25H/ProSieben HD: AC3 @ #515: Invalid start code b6:9f:fa
2021-03-22 11:02:35.932 [WARNING] TS: DVB-S Netzwerk/11464.25H/ProSieben HD: AC3 @ #515: Invalid start code 8b:85:90
2021-03-22 11:02:35.932 [WARNING] TS: DVB-S Netzwerk/11464.25H/ProSieben HD: H264 @ #511: Invalid start code 4f:34:c7
2021-03-22 11:02:45.731 [WARNING] webui: Stop streaming /stream/channel/b0b805b346765080683545921dc0f03d?profile=webtv-h264-aac-matroska, timeout waiting for packets
2021-03-22 11:02:45.731 [   INFO] subscription: 0037: "HTTP" unsubscribing from "ProSieben HD", hostname="192.168.188.31", username="admin", client="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.90 Safari/537.36" 
2021-03-22 11:02:45.732 [ NOTICE] ddci: CAM ci3 unassigned from 0x55e4cfdcc6b0
2021-03-22 11:02:45.734 [   INFO] mpegts: 11464.25H in DVB-S Netzwerk - tuning on STV0910 #0 : DVB-S #0
2021-03-22 11:02:46.000 [ NOTICE] ddci: CAM ci3 assigned to 0x55e4cfdcc6b0
2021-03-22 11:02:46.000 [   INFO] subscription: 0039: "HTTP" subscribing on channel "ProSieben HD", weight: 100, adapter: "STV0910 #0 : DVB-S #0", network: "DVB-S Netzwerk", mux: "11464.25H", provider: "ProSiebenSat.1", service: "ProSieben HD", profile="webtv-h264-aac-matroska", hostname="192.168.188.31", username="admin", client="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.90 Safari/537.36" 
2021-03-22 11:02:46.423 [WARNING] TS: DVB-S Netzwerk/11464.25H/ProSieben HD: H264 @ #511: Invalid start code ea:8d:a7
2021-03-22 11:02:46.423 [WARNING] TS: DVB-S Netzwerk/11464.25H/ProSieben HD: AC3 @ #515: Invalid start code bb:f5:d0
2021-03-22 11:02:56.580 [WARNING] TS: DVB-S Netzwerk/11464.25H/ProSieben HD: AC3 @ #515: Invalid start code 56:bc:b9
2021-03-22 11:02:56.841 [WARNING] TS: DVB-S Netzwerk/11464.25H/ProSieben HD: H264 @ #511: Invalid start code ad:75:f3
2021-03-22 11:03:06.118 [WARNING] webui: Stop streaming /stream/channel/b0b805b346765080683545921dc0f03d?profile=webtv-h264-aac-matroska, timeout waiting for packets
2021-03-22 11:03:06.126 [   INFO] subscription: 0039: "HTTP" unsubscribing from "ProSieben HD", hostname="192.168.188.31", username="admin", client="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.90 Safari/537.36" 
2021-03-22 11:03:06.126 [ NOTICE] ddci: CAM ci3 unassigned from 0x55e4cfdcc6b0
2021-03-22 11:03:06.128 [   INFO] mpegts: 11464.25H in DVB-S Netzwerk - tuning on STV0910 #0 : DVB-S #0
2021-03-22 11:03:06.389 [ NOTICE] ddci: CAM ci3 assigned to 0x55e4cfdcc6b0
2021-03-22 11:03:06.389 [   INFO] subscription: 003B: "HTTP" subscribing on channel "ProSieben HD", weight: 100, adapter: "STV0910 #0 : DVB-S #0", network: "DVB-S Netzwerk", mux: "11464.25H", provider: "ProSiebenSat.1", service: "ProSieben HD", profile="webtv-h264-aac-matroska", hostname="192.168.188.31", username="admin", client="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.90 Safari/537.36" 
2021-03-22 11:03:06.618 [WARNING] TS: DVB-S Netzwerk/11464.25H/ProSieben HD: H264 @ #511: Invalid start code f1:eb:f4
2021-03-22 11:03:06.830 [WARNING] TS: DVB-S Netzwerk/11464.25H/ProSieben HD: AC3 @ #515: Invalid start code dc:2a:aa

and this going on and on and on.

Has anyone here an idea what is going wrong?

Thanks for your time and help.
Matt


Replies (24)

RE: TVH with DDDevice + CI black Screen on private HD channels - Added by Matt Birn over 3 years ago

here the output on a public HD channel....

2021-03-22 12:00:01.204 [   INFO] mpegts: 11508.5V in DVB-S Netzwerk - tuning on STV0910 #0 : DVB-S #0
2021-03-22 12:00:01.484 [   INFO] subscription: 0191: "epggrab" subscribing to mux "11508.5V", weight: 4, adapter: "STV0910 #0 : DVB-S #0", network: "DVB-S Netzwerk", service: "Raw PID Subscription" 
2021-03-22 12:00:26.551 [   INFO] mpegts: 11362H in DVB-S Netzwerk - tuning on STV0910 #0 : DVB-S #0
2021-03-22 12:00:26.551 [   INFO] subscription: 0191: "epggrab" unsubscribing
2021-03-22 12:00:26.830 [   INFO] subscription: 0193: "HTTP" subscribing on channel "ZDF HD", weight: 100, adapter: "STV0910 #0 : DVB-S #0", network: "DVB-S Netzwerk", mux: "11362H", provider: "ZDFvision", service: "ZDF HD", profile="webtv-h264-aac-matroska", hostname="192.168.188.31", username="admin", client="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.90 Safari/537.36" 
2021-03-22 12:00:26.972 [   INFO] transcode: 00A9: 01:H264: ==> Using profile webtv-h264
2021-03-22 12:00:26.972 [   INFO] transcode: 00A9: 02:MPEG2AUDIO: ==> Using profile webtv-aac
2021-03-22 12:00:26.972 [   INFO] transcode: 00A9: 03:MPEG2AUDIO: ==> Filtered out
2021-03-22 12:00:26.972 [   INFO] transcode: 00A9: 04:AC3: ==> Filtered out
2021-03-22 12:00:26.972 [   INFO] transcode: 00A9: 05:MPEG2AUDIO: ==> Filtered out
2021-03-22 12:00:26.972 [   INFO] transcode: 00A9: 07:DVBSUB: ==> Filtered out
2021-03-22 12:00:27.240 [   INFO] libav: AVCodecContext: using SAR=1/1
2021-03-22 12:00:27.243 [   INFO] libav: AVCodecContext: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2
2021-03-22 12:00:27.245 [   INFO] libav: AVCodecContext: profile High, level 3.1, 4:2:0, 8-bit
2021-03-22 12:00:27.308 [WARNING] libav: AVCodecContext: Increasing reorder buffer to 2

RE: TVH with DDDevice + CI black Screen on private HD channels - Added by saen acro over 3 years ago

Its Normal to work with FTA channels
Scrambled need CI attached to tuner.

Is it cam initialised in TVH you must see supported CAID's

RE: TVH with DDDevice + CI black Screen on private HD channels - Added by Matt Birn over 3 years ago

the CI is included i the tuner and it is working. as is wrote: "With the help of a friend i build TVH on latest source from git and we checked that DD CI and CA works on the same machine/OS (tested with Astra Cesbo App)"

But we could not figure out what to do to get a descrambled signal in TVH. Always the same error

2021-03-22 15:43:55.465 [   INFO] subscription: 000F: "HTTP" unsubscribing from "ProSieben HD", hostname="192.168.188.31", username="admin", client="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.90 Safari/537.36" 
2021-03-22 15:43:55.465 [ NOTICE] ddci: CAM ci3 unassigned from 0x55615c9bceb0
2021-03-22 15:43:55.466 [   INFO] mpegts: 11464.25H in DVB-S Netzwerk - tuning on STV0910 #1 : DVB-S #0
2021-03-22 15:43:55.730 [ NOTICE] ddci: CAM ci3 assigned to 0x55615c9bceb0
2021-03-22 15:43:55.730 [   INFO] subscription: 0013: "HTTP" subscribing on channel "ProSieben HD", weight: 100, adapter: "STV0910 #1 : DVB-S #0", network: "DVB-S Netzwerk", mux: "11464.25H", provider: "ProSiebenSat.1", service: "ProSieben HD", profile="webtv-h264-aac-matroska", hostname="192.168.188.31", username="admin", client="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.90 Safari/537.36" 
2021-03-22 15:43:55.883 [WARNING] TS: DVB-S Netzwerk/11464.25H/ProSieben HD: H264 @ #511: Invalid start code 9f:b7:3e
2021-03-22 15:43:55.883 [WARNING] TS: DVB-S Netzwerk/11464.25H/ProSieben HD: AC3 @ #515: Invalid start code e4:5b:38
2021-03-22 15:44:06.018 [WARNING] TS: DVB-S Netzwerk/11464.25H/ProSieben HD: AC3 @ #515: Invalid start code 1c:98:69
2021-03-22 15:44:06.018 [WARNING] TS: DVB-S Netzwerk/11464.25H/ProSieben HD: H264 @ #511: Invalid start code 0c:5e:5e
2021-03-22 15:44:15.841 [WARNING] webui: Stop streaming /stream/channel/b0b805b346765080683545921dc0f03d?profile=webtv-h264-aac-matroska, timeout waiting for packets
screen1 CA.PNG (44.3 KB) screen1 CA.PNG screenshot CA´s
screen2 adapter.PNG (55.2 KB) screen2 adapter.PNG screenshot adapter

RE: TVH with DDDevice + CI black Screen on private HD channels - Added by saen acro over 3 years ago

Enable only working CAID
Use stream filter to limit only this CAID

RE: TVH with DDDevice + CI black Screen on private HD channels - Added by Matt Birn over 3 years ago

about the CAID´s

2021-03-23 15:14:45.512 [ INFO] en50221: dvbca3-slot0-app00030041/0002: CAM supported CAIDs: 1843 (NagraVision) 0648 (Irdeto) 1702 (BetaCrypt) 1722 (BetaCrypt)
2021-03-23 15:14:45.512 [ INFO] en50221: dvbca3-slot0-app00030041/0002: CAM supported CAIDs: 1762 (BetaCrypt) 4A20 (0x4a20) 0500 (Viaccess) 0B00 (Conax)
2021-03-23 15:14:45.512 [ INFO] en50221: dvbca3-slot0-app00030041/0002: CAM supported CAIDs: 0100 (Seca) 1833 (NagraVision) 1834 (NagraVision) 0D05 (CryptoWorks)
2021-03-23 15:14:45.512 [ INFO] en50221: dvbca3-slot0-app00030041/0002: CAM supported CAIDs: 0D95 (CryptoWorks ICE) 09C4 (NDS) 093E (NDS) 0963 (NDS)
2021-03-23 15:14:45.512 [ INFO] en50221: dvbca3-slot0-app00030041/0002: CAM supported CAIDs: 0919 (NDS) 09C7 (NDS)
2021-03-23 15:14:45.723 [ NOTICE] linuxdvb: dvbca0-0: CAM slot 0 status changed to module ready
2021-03-23 15:14:46.554 [ INFO] en50221: dvbca3-slot0-app00020041/0004: CAM INFO: AlphaCrypt, 01, 4A20, 4A22

i put the numbers in the CA menue. No change

RE: TVH with DDDevice + CI black Screen on private HD channels - Added by saen acro over 3 years ago

What is CAID supported by your CARD?

RE: TVH with DDDevice + CI black Screen on private HD channels - Added by Matt Birn over 3 years ago

The card is a black Astra HD02.

I checked the card with the CAM (AlphaCrypt light r.2.2) befor in my TV. There was no problem what so ever watching the privat HD channels. I guess that means that the card is supporting all CAID´s

RE: TVH with DDDevice + CI black Screen on private HD channels - Added by saen acro over 3 years ago

Card is usually support only one CAID, Cam Module support more.
Idea is to filter caid's from stream to allow only this one equal card.

I guess your card CAID is 1843 (NagraVision)

RE: TVH with DDDevice + CI black Screen on private HD channels - Added by Matt Birn over 3 years ago

i did it as you suggest. but no change. you cann check the screenshot. still getting message ' Invalid start code a5:6c:d2'

RE: TVH with DDDevice + CI black Screen on private HD channels - Added by saen acro over 3 years ago

https://tvheadend.org/issues/4744
https://tvheadend.org/issues/5861

Strange error when try to descramble descrambled content

----
P.S.
Change in title, from "Private" to "Encrypted"

RE: TVH with DDDevice + CI black Screen on encrypted HD channels - Added by Matt Birn over 3 years ago

hey there,

with the help of very expirienced friend, we tried everything to find the eror. but nothing helped.

we made debug.log file with --trace linuxdvb,ddci,en50221,dvbcam

we tried different caids and so on.

we tested the hardware on a TV and on a windows system. everything works fine.

maybe one of you can find the error we have overseen.

RE: TVH with DDDevice + CI black Screen on private HD channels - Added by Matt Birn over 3 years ago

saen acro wrote:

https://tvheadend.org/issues/4744
https://tvheadend.org/issues/5861

Strange error when try to descramble descrambled content

----
P.S.
Change in title, from "Private" to "Encrypted"

Hi,

did you have a look at the debug logs? ore any other idea? i tryed everything i could think of, nothing helped. the links you suggestetd did not helped in my case.

RE: TVH with DDDevice + CI black Screen on private HD channels - Added by Anonymous over 3 years ago

saen acro wrote:

Its Normal to work with FTA channels
Scrambled need CI attached to tuner.

Wrong.

"adapter_alloc" is needed for minisatip - but NOT for TVH.

RE: TVH with DDDevice + CI black Screen on encrypted HD channels - Added by Anonymous over 3 years ago

Matt Birn wrote:

Good morning from germany,

Twin CI and Twin DVB-S2 Tuner for PCIe Slot (integrated twin CI slot)

TVH has support for SINGLE CI - try the other slot. Sometimes it helps.

RE: TVH with DDDevice + CI black Screen on private HD channels - Added by Anonymous over 3 years ago

saen acro wrote:

Enable only working CAID
Use stream filter to limit only this CAID

Bullshit.

The right settings are:

service limit = 0
CAID selection: ALL CAIDS

RE: TVH with DDDevice + CI black Screen on private HD channels - Added by Anonymous over 3 years ago

Matt Birn wrote:

did you have a look at the debug logs? ore any other idea? i tryed everything i could think of, nothing helped. the links you suggestetd did not helped in my case.

Believe me. IT WILL NOT WORK !

It is possible to get tvh up and running with DDs Twin CI: BUT TVH
will producee CountCounter Errors over and over.

Besides it will only
decode ONE channel simultanously. And TVH does not decode CI+ channels.

Use "the other solution": no errors - MTD - CI+ channels.

Send pm.

RE: TVH with DDDevice + CI black Screen on private HD channels - Added by saen acro over 3 years ago

Der Depp vom Dienst wrote:

saen acro wrote:

Enable only working CAID
Use stream filter to limit only this CAID

Bullshit.

The right settings are:

service limit = 0
CAID selection: ALL CAIDS

Explain your logic to flood CAM with inposible to be descrambled ECM's?

RE: TVH with DDDevice + CI black Screen on private HD channels - Added by Anonymous over 3 years ago

saen acro wrote:

Der Depp vom Dienst wrote:

saen acro wrote:

Enable only working CAID
Use stream filter to limit only this CAID

Bullshit.

The right settings are:

service limit = 0
CAID selection: ALL CAIDS

Explain your logic to flood CAM with inposible to be descrambled ECM's?

Why do you think that your solution solves the problem ? Why is flooding
the CAM a problem ?

Your "Solution" did not work - as stated by threadstarter.

Logic ?

Have you tested "CAID filter list" is working as expected ? Have you
tested "first hit" / "last hit" is working as expected ?

No ?

CAID Filterlist may be used if system is up and running. Finetuning IF AND ONLY IF there artefacts.

RE: TVH with DDDevice + CI black Screen on encrypted HD channels - Added by saen acro over 3 years ago

Great logic, to send x*y ecm's to card with work on less then 4mhz,
and cannot process more then 2 ecm's (excepr on pro CAM) to card,
with can descrable only one type of ECM's.

With this type of logic, you need super computer to calculate sum of 1+1

RE: TVH with DDDevice + CI black Screen on encrypted HD channels - Added by Matt Birn over 3 years ago

Good morning,

thank´s to everyboda for helpingh. Just to remind you, the hardware is working perfectly on a windows system.

Der Depp vom Dienst wrote:

Matt Birn wrote:

Good morning from germany,

Twin CI and Twin DVB-S2 Tuner for PCIe Slot (integrated twin CI slot)

TVH has support for SINGLE CI - try the other slot. Sometimes it helps.

--> we tryd that, no change on the problem.

saen acro wrote:

Enable only working CAID
Use stream filter to limit only this CAID

Bullshit.

The right settings are:

service limit = 0
CAID selection: ALL CAIDS

--> we tryed booth.

any other suggestion? If you need more details from the system or any other logs, please just ask.

Thanks and stay healthy
Matt

RE: TVH with DDDevice + CI black Screen on private HD channels - Added by Anonymous over 3 years ago

Matt Birn wrote:

the CI is included i the tuner and it is working. as is wrote: "With the help of a friend i build TVH on latest source from git and we checked that DD CI and CA works on the same machine/OS (tested with Astra Cesbo App)"

But we could not figure out what to do to get a descrambled signal in TVH. Always the same error

[...]

"Cam can decode multiple channels" : no.

RE: TVH with DDDevice + CI black Screen on encrypted HD channels - Added by Anonymous over 3 years ago

Matt Birn wrote:

Twin CI and Twin DVB-S2 Tuner for PCIe Slot (integrated twin CI slot)

TVH has support for SINGLE CI - try the other slot. Sometimes it helps.

--> we tryd that, no change on the problem.

Just to be sure. You see in the first slot the message:

2021-03-23 15:14:45.723 [ NOTICE] linuxdvb: dvbca0-0: CAM slot 0 status changed to module ready

Did it change to "slot 1" after you switched to the other one ?

In your screenshot "devices" I see that both slots are named "ca0-0".

- adapter0 ... #0 (Tuner)
- adapter1 ... #1 (Tuner)
- adapter2 ... #0 (CAM #0)
- adapter3 ... #0 (CAM #0)

Did you change the name ?

RE: TVH with DDDevice + CI black Screen on encrypted HD channels - Added by Anonymous over 3 years ago

saen acro wrote:

Great logic, to send x*y ecm's to card with work on less then 4mhz,
and cannot process more then 2 ecm's (excepr on pro CAM) to card,
with can descrable only one type of ECM's.

With this type of logic, you need super computer to calculate sum of 1+1

Log shows no ECM hit - filtering CAID is stupid.

    (1-24/24)