Need help on descrambling powerVU stream

  • Hi All,

    I tried tvheadhend (with extended_cw function) and oscam-emu to descrambling powerVU stream by DVBapi way on LibreELEC (community): dvb (RPi2.arm), but i met problem. My setup as below:

    1. Tvheadend 4.3-361

    CA setting:

    mode: Oscam net protocol

    Camd.socket filename / IP Address (TCP mode): 127.0.0.1

    Listen / Connect port: 9000


    2. oscam-emu

    I use joseuser's code( OSCam-emu source code - OSCam-EMU Download -)


    oscam.conf


    [streamrelay]

    stream_source_port = 9981

    stream_source_auth_user = pvu

    stream_source_auth_password = pvu

    stream_relay_enabled = 0


    [dvbapi]

    enabled = 1

    au = 1

    pmt_mode = 4

    listen_port = 9000

    delayer = 60

    user = pvu

    extended_cw_api = 1

    boxtype = pc


    3. tvheadend log:

    2017-09-14 15:53:03.849 capmt: dvbapi: Starting CAPMT server for service "Animal Planet Southeast Asia" on adapter 0

    2017-09-14 15:53:03.849 subscription: 000C: "HTTP" subscribing on channel "Animal Planet Southeast Asia" adapter: "Tmax TAS2101 #0 : DVB-S #0", network: "166", mux: "10860V", service: "Animal Planet Southeast Asia", profile="pass", hostname="192.168.3.50", client="VLC/2.2.2 LibVLC/2.2.2"

    2017-09-14 15:53:05.981 descrambler: cannot decode packets for service "Animal Planet Southeast Asia"

    2017-09-14 15:53:15.961 descrambler: cannot decode packets for service "Animal Planet Southeast Asia"

    2017-09-14 15:53:26.079 descrambler: cannot decode packets for service "Animal Planet Southeast Asia"

    2017-09-14 15:53:34.461 TS: 166/10860V/Animal Planet Southeast Asia: H264 @ #1400 Continuity counter error (total 1)

    2017-09-14 15:53:34.461 TS: 166/10860V/Animal Planet Southeast Asia: MPEG2AUDIO @ #1402 Continuity counter error (total 1)

    2017-09-14 15:53:34.461 TS: 166/10860V/Animal Planet Southeast Asia: AC3 @ #1401 Continuity counter error (total 1)

    2017-09-14 15:53:34.461 TS: 166/10860V/Animal Planet Southeast Asia: MPEG2AUDIO @ #1404 Continuity counter error (total 1)

    2017-09-14 15:53:34.461 TS: 166/10860V/Animal Planet Southeast Asia: MPEG2AUDIO @ #1403 Continuity counter error (total 1)

    2017-09-14 15:53:34.887 TS: 166/10860V/Animal Planet Southeast Asia: DVBSUB @ #1434 Continuity counter error (total 1)

    2017-09-14 15:53:34.888 TS: 166/10860V/Animal Planet Southeast Asia: DVBSUB @ #1432 Continuity counter error (total 1)

    2017-09-14 15:53:35.031 TS: 166/10860V/Animal Planet Southeast Asia: DVBSUB @ #1433 Continuity counter error (total 1)

    2017-09-14 15:53:35.031 TS: 166/10860V/Animal Planet Southeast Asia: DVBSUB @ #1431 Continuity counter error (total 1)

    2017-09-14 15:53:36.164 descrambler: cannot decode packets for service "Animal Planet Southeast Asia"

    2017-09-14 15:53:44.544 TS: 166/10860V/Animal Planet Southeast Asia: AC3 @ #1401 Continuity counter error (total 2676)

    2017-09-14 15:53:44.544 TS: 166/10860V/Animal Planet Southeast Asia: H264 @ #1400 Continuity counter error (total 7870)

    2017-09-14 15:53:44.544 TS: 166/10860V/Animal Planet Southeast Asia: MPEG2AUDIO @ #1404 Continuity counter error (total 1785)

    2017-09-14 15:53:44.544 TS: 166/10860V/Animal Planet Southeast Asia: MPEG2AUDIO @ #1403 Continuity counter error (total 1785)

    2017-09-14 15:53:44.544 TS: 166/10860V/Animal Planet Southeast Asia: MPEG2AUDIO @ #1402 Continuity counter error (total 1786)

    2017-09-14 15:53:45.682 TS: 166/10860V/Animal Planet Southeast Asia: DVBSUB @ #1431 Continuity counter error (total 159)

    2017-09-14 15:53:45.968 TS: 166/10860V/Animal Planet Southeast Asia: DVBSUB @ #1433 Continuity counter error (total 202)

    2017-09-14 15:53:46.255 descrambler: cannot decode packets for service "Animal Planet Southeast Asia"


    4. oscam log:

    2017/09/14 16:35:47 5964CA6E c (dvbapi) Demuxer 0 ecmpid 0 CAID: 0E00 ECM_PID: 1775 PROVID: 000000

    2017/09/14 16:35:47 5964CA6E c (dvbapi) Demuxer 0 found 1 ECMpids and 9 STREAMpids in caPMT

    2017/09/14 16:35:47 5964CA6E c (dvbapi) Demuxer 0 found channel in cache and matching prio -> start descrambling ecmpid 0

    2017/09/14 16:35:47 5964CA6E c (dvbapi) Demuxer 0 trying to descramble PID 0 CAID 0E00 PROVID 000000 ECMPID 1775 ANY CHID PMTPID 0000 VPID 0578

    2017/09/14 16:35:48 5964CA6E c (ecm) Client pvu ECM dump [email protected]/0000/06A8/40:D5E2760BF7A500A83DB00F6C4A915C25

    2017/09/14 16:35:48 5964CA6E c (ecm) 80 30 3D 30 37 20 0E 00 00 00 00 CE B0 00 63 E0

    2017/09/14 16:35:48 5964CA6E c (ecm) 5F 53 22 0B 28 54 C0 8E BA AA E2 F9 00 6A 80 00

    2017/09/14 16:35:48 5964CA6E c (ecm) 00 40 90 A7 62 C3 99 73 73 F1 B7 68 49 0D 57 3A

    2017/09/14 16:35:48 5964CA6E c (ecm) 91 AD 2E 1D BB 70 B7 61 09 65 52 84 96 A0 86 FC

    2017/09/14 16:35:48 5964CA6E c (ecm) Client pvu csphash CE2A7ED1 cw 7A890E6B1F7323A80000000000000000 rc 0 [email protected]/0000/06A8/40:D5E2760BF7A500A83DB00F6C4A915C25

    2017/09/14 16:35:48 5964CA6E c (ecm) pvu ([email protected]/0000/06A8/40:D5E2760BF7A500A83DB00F6C4A915C25): found (1 ms) by emulator

    2017/09/14 16:35:49 5964CA6E c (ecm) Client pvu ECM dump [email protected]/0000/06A8/40:A1EDCC90241F2A60188CF7752FDE09EA

    2017/09/14 16:35:49 5964CA6E c (ecm) 81 30 3D 30 37 20 0E 00 00 00 00 CF B0 00 DF 79

    2017/09/14 16:35:49 5964CA6E c (ecm) DB B3 F7 7E 44 E8 79 8C 65 A9 C8 62 00 6A 80 00

    2017/09/14 16:35:49 5964CA6E c (ecm) 00 36 51 D3 A5 F3 24 3D A8 B2 E3 CB 25 19 2A 1F

    2017/09/14 16:35:49 5964CA6E c (ecm) F1 FA 25 45 4B F8 5B 9F B6 95 8A BD 3F D3 D7 D3

    2017/09/14 16:35:49 5964CA6E c (ecm) Client pvu csphash 18A3E353 cw 00000000000000009D01800401622320 rc 0 [email protected]/0000/06A8/40:A1EDCC90241F2A60188CF7752FDE09EA

    2017/09/14 16:35:49 5964CA6E c (ecm) pvu ([email protected]/0000/06A8/40:A1EDCC90241F2A60188CF7752FDE09EA): found (1 ms) by emulator

    2017/09/14 16:35:50 5964CA6E c (ecm) Client pvu ECM dump [email protected]/0000/06A8/40:01A29DDCB1A5FCA10F3E2AE8B7CE7767

    2017/09/14 16:35:50 5964CA6E c (ecm) 80 30 3D 30 37 20 0E 00 00 00 00 D0 B0 00 E3 B8

    2017/09/14 16:35:50 5964CA6E c (ecm) EC BA D6 F8 E4 9A 42 CA 1C 8C 3F A7 00 6A 80 00

    2017/09/14 16:35:50 5964CA6E c (ecm) 00 62 13 ED F2 E3 62 25 2C 46 23 5C E1 38 93 29

    2017/09/14 16:35:50 5964CA6E c (ecm) AF 7C 75 05 E6 B1 52 E5 DE 46 CB A4 2E C6 CF BC

    2017/09/14 16:35:50 5964CA6E c (ecm) Client pvu csphash 418A9A3E cw A204752F4C4F079B0000000000000000 rc 0 [email protected]/0000/06A8/40:01A29DDCB1A5FCA10F3E2AE8B7CE7767

    2017/09/14 16:35:50 5964CA6E c (ecm) pvu ([email protected]/0000/06A8/40:01A29DDCB1A5FCA10F3E2AE8B7CE7767): found (1 ms) by emulator

    2017/09/14 16:35:51 5964CA6E c (ecm) Client pvu ECM dump [email protected]/0000/06A8/40:7B93FBE307495C55257864D11529DBD1

    2017/09/14 16:35:51 5964CA6E c (ecm) 81 30 3D 30 37 20 0E 00 00 00 00 D1 B0 00 8B 80

    2017/09/14 16:35:51 5964CA6E c (ecm) 2D 05 34 42 E5 24 11 48 6C 47 E9 E8 00 6A 80 00

    2017/09/14 16:35:51 5964CA6E c (ecm) 00 20 28 CF 4A D0 C1 AD 46 9D 38 C9 42 8B B9 09

    2017/09/14 16:35:51 5964CA6E c (ecm) 04 C2 76 25 89 12 60 CD 79 5A AA B8 43 05 AD 6D

    2017/09/14 16:35:51 5964CA6E c (ecm) Client pvu csphash 4F3A808E cw 0000000000000000EC75FDF2B97CDC32 rc 0 [email protected]/0000/06A8/40:7B93FBE307495C55257864D11529DBD1

    2017/09/14 16:35:51 5964CA6E c (ecm) pvu ([email protected]/0000/06A8/40:7B93FBE307495C55257864D11529DBD1): found (1 ms) by emulator

    2017/09/14 16:35:52 5964CA6E c (ecm) Client pvu ECM dump [email protected]/0000/06A8/40:F21097D1D6D420D89EFA91465120B832

    2017/09/14 16:35:52 5964CA6E c (ecm) 80 30 3D 30 37 20 0E 00 00 00 00 D2 B0 00 A4 01

    2017/09/14 16:35:52 5964CA6E c (ecm) EE 77 DA 91 BC E2 42 C5 C3 36 FC F1 00 6A 80 00

    2017/09/14 16:35:52 5964CA6E c (ecm) 00 FF 4F 62 51 5E 3F BB A5 33 96 2D B4 F3 C8 FD

    2017/09/14 16:35:52 5964CA6E c (ecm) 22 8A 03 72 2A 89 8F 4C FF 2F A3 D1 01 25 6A 66

    2017/09/14 16:35:52 5964CA6E c (ecm) Client pvu csphash 0A3D27AD cw 6BB03437855761E30000000000000000 rc 0 [email protected]/0000/06A8/40:F21097D1D6D420D89EFA91465120B832

    2017/09/14 16:35:52 5964CA6E c (ecm) pvu ([email protected]/0000/06A8/40:F21097D1D6D420D89EFA91465120B832): found (1 ms) by emulator




    I had tried the OE2.0 and OE2.2 CW mode , but no video can be seem on VLC. it work on my PC which running LibreELEC (community) Version: 7.0.2-dvbdrivers.

    Any advice is welcome. thanks!