braice / MuMuDVB

A DVB IPTV streaming software
http://mumudvb.braice.net/
GNU General Public License v2.0
216 stars 133 forks source link

Scrambled channels #155

Open dbox2jumbo opened 7 years ago

dbox2jumbo commented 7 years ago

Please help! I can't get any scrambled channels work with mumudvb+oscam combo. I can see ecm request+answer in oscam, and see CW-s at mumudvb:

Info: Autoconf: We update the channel CAM support Info: Autoconf: Diffusion 2 channels Info: Autoconf: Channel number : 0, service id 30614 name : "CT24" Info: Autoconf: Multicast4 ip : 239.100.0.1:1234 Info: Autoconf: Channel number : 1, service id 30605 name : "m1" Info: Autoconf: Multicast4 ip : 239.100.0.2:1234

Deb1: SCAM_DECSA: 00000000cdd2a191 odd key 62 9b a6 a3 d4 58 e9 15, channel m1

239.100.0.1:1234:CT24:FullyUnscrambled (FTA channel) 239.100.0.2:1234:m1:FullyUnscrambled

CW is valid. (Scrambled) stream is at the client on 239.100.0.2, there is no error message with -vvv option. What i am doing wrong?

dbox2jumbo commented 7 years ago

Maybe the issue is there, because the (old) dvb hardware? I am using an old skystar1 card.

(I had exactly the same problem with vtuner - virtual tuner, pc on server side with the skystar1, dreambox as client. Oscam process ecm pid on client box, but no pic on scrambled channels. Problem gone, when i switched to dreambox also on server side.)

kslimani commented 7 years ago

@dbox2jumbo i never used oscam, but i think you should run MuMuDVB using -v argument and post output result. (will give MuMuDVB version, and debug informations)

Also providing configuration should help to try to resolve your issue.

dbox2jumbo commented 7 years ago

mumudvb -d -c /usr/local/etc/mumdvb.conf -v MuMuDVB Version 2.0.0_20150614_mumudvb2 --- Build information --- Built with CAM support. Built with SCAM support. Built with ATSC support. Built with ATSC long channel names support. Built with support for DVB API Version 5.10. Built with support for DVB-T2.

Originally based on dvbstream 0.6 by (C) Dave Chapman 2001-2004 Released under the GPL. Latest version available from http://mumudvb.braice.net/ Project from the cr@ns (http://www.crans.org) by Brice DUBOST (mumudvb@braice.net)

WARN: SCAM_COMMON: You have enabled the support for software descrambling (scrambled channels). Please report any bug/comment Info: Main: New channel, current number 0 Info: Main: New channel, current number 1 Info: Main: Autoconfiguration, we activate PAT rewriting. if you want to disable it see the README. Info: Main: Autoconfiguration, we activate SDT rewriting. if you want to disable it see the README. Info: Main: ========== End of configuration, MuMuDVB version 2.0.0_20150614_mumudvb2 is starting ========== Info: Main: Streaming. Freq 12073000 Info: Tune: Using DVB card "ST STV0299 DVB-S" tuner 0 Info: Tune: Tuning DVB-S to Freq: 1473000 kHz, LO frequency 10600000 kHz Pol:V Srate=28000000, LNB number: 0 Info: Tune: LNB voltage 13V Info: Tune: Diseqc switch position specified, we force switch input to 1 Deb0: Tune: Test Diseqc message e0 10 39 f1 00 00 len 4 Deb0: Tune: Sending first Diseqc message e0 10 39 f1 00 00 len 4 Info: Tune: DISEQC SETTING SUCCEDED Deb0: Tune: polling.... Info: Tune: FE_STATUS: Deb0: Tune: polling.... Info: Tune: FE_STATUS: Info: Tune: FE_HAS_SIGNAL : found something above the noise level Info: Tune: FE_HAS_CARRIER : found a DVB signal Info: Tune: FE_HAS_VITERBI : FEC is stable Info: Tune: FE_HAS_SYNC : found sync bytes Info: Tune: FE_HAS_LOCK : everything's working... Info: Tune: Event: Frequency: 12073306 (or 9126694) Info: Tune: SymbolRate: 28000000 Info: Tune: FEC_inner: 7 Info: Tune: Bit error rate: 56832 Info: Tune: Signal strength: 42290 Info: Tune: SNR: 54030 Info: Main: Card 0, tuner 0 tuned main 0x7ffd4b040070 Info: Common chan: Looking through all services to update their filters Deb0: Common chan: Open the new filters WARN: DVB: An issue happened during the IOCTLS to take uncorrected blocks measurements error: Function not implemented Info: Common chan: We open the channel 0 multicast IPv4 socket address 239.100.0.1:1234 Info: Common chan: We open the channel 1 multicast IPv4 socket address 239.100.0.2:1234 Info: Autoconf: Autoconfiguration is now ready to work for you ! Info: Autoconf: The PAT version changed, channels have changed Info: Autoconf: New PAT we force SDT update after all sections seen WARN: Autoconf: Channel 0 SID 30614 Force PMT update WARN: Autoconf: Channel 1 SID 30605 Force PMT update WARN: Autoconf: Channel 2 SID 30601 Force PMT update WARN: Autoconf: Channel 3 SID 30602 Force PMT update WARN: Autoconf: Channel 4 SID 30603 Force PMT update WARN: Autoconf: Channel 5 SID 30604 Force PMT update WARN: Autoconf: Channel 6 SID 30606 Force PMT update WARN: Autoconf: Channel 7 SID 30607 Force PMT update WARN: Autoconf: Channel 8 SID 30608 Force PMT update WARN: Autoconf: Channel 9 SID 30609 Force PMT update WARN: Autoconf: Channel 10 SID 30610 Force PMT update WARN: Autoconf: Channel 11 SID 30611 Force PMT update WARN: Autoconf: Channel 12 SID 30612 Force PMT update WARN: Autoconf: Channel 13 SID 30613 Force PMT update WARN: Autoconf: Channel 14 SID 30615 Force PMT update WARN: Autoconf: Channel 15 SID 30616 Force PMT update WARN: Autoconf: Channel 16 SID 30617 Force PMT update WARN: Autoconf: Channel 17 SID 30618 Force PMT update WARN: Autoconf: Channel 18 SID 30619 Force PMT update Deb0: PAT Rewrite: NEW program for channel 0 : "ct24". PMT pid : 750 Deb0: PAT Rewrite: NEW program for channel 1 : "m1". PMT pid : 300 Info: Autoconf: The SDT version changed, channels description have changed Info: Autoconf: We update the channel names Info: Autoconf: We update the channel status Info: Autoconf: Looking through all channels to see if they are ready for streaming Deb0: Autoconf: Service NOT in the service_id list, we skip. Name "B1", id 30601 Deb0: Autoconf: Service NOT in the service_id list, we skip. Name "Acasa", id 30602 Deb0: Autoconf: Service NOT in the service_id list, we skip. Name "N24", id 30603 Deb0: Autoconf: Service NOT in the service_id list, we skip. Name "AMCHu", id 30604 Deb0: Autoconf: Service NOT in the service_id list, we skip. Name "Auto Motor Sport", id 30606 Deb0: Autoconf: Service NOT in the service_id list, we skip. Name "m2 / Petofi", id 30607 Deb0: Autoconf: Service NOT in the service_id list, we skip. Name "HirTV", id 30608 Deb0: Autoconf: Service NOT in the service_id list, we skip. Name "Discovery RO", id 30609 Deb0: Autoconf: Service NOT in the service_id list, we skip. Name "TVR 3", id 30610 Deb0: Autoconf: Service NOT in the service_id list, we skip. Name "Zu TV", id 30611 Deb0: Autoconf: Service NOT in the service_id list, we skip. Name "m5", id 30612 Deb0: Autoconf: Service NOT in the service_id list, we skip. Name "Cartoon Network RO", id 30613 Deb0: Autoconf: Service NOT in the service_id list, we skip. Name "HBO RO", id 30615 Deb0: Autoconf: Service NOT in the service_id list, we skip. Name "STORY5 ", id 30616 Deb0: Autoconf: Service NOT in the service_id list, we skip. Name "m5", id 30617 Deb0: Autoconf: Service NOT in the service_id list, we skip. Name "Auto Motor Sport (SVT)", id 30618 Deb0: Autoconf: Service NOT in the service_id list, we skip. Name "Humor +", id 30619 Info: Autoconf: We update the channel filters Info: Common chan: Looking through all services to update their filters Deb0: Common chan: pid 300 added Deb0: Common chan: pid 750 added Deb0: Common chan: Open the new filters Info: Autoconf: We update the channel networking Deb0: SDT rewrite: Full SDT updated. section number 0, last_section_number 0 Deb0: Main: The SDT version changed, we force the update of all the channels. Deb0: SDT rewrite: NEW program for channel 0 : "ct24". service_id : 30614 Deb0: SDT rewrite: NEW program for channel 1 : "m1". service_id : 30605 Deb0: Autoconf: PIDs update Deb0: Autoconf: PID 301 added type Video (MPEG2) lang --- Deb0: Autoconf: PID 310 added type Audio (MPEG1) lang hun Deb0: Autoconf: PID 320 added type Teletext lang --- Deb0: Autoconf: pids : Deb0: Autoconf: 300 (PMT) Deb0: Autoconf: 301 (Video (MPEG2)) Deb0: Autoconf: 310 (Audio (MPEG1)) Deb0: Autoconf: 320 (Teletext) Deb0: Autoconf: PIDs for channel 1 "m1" : 300 301 310 320 Info: Common chan: Looking through all services to update their filters Deb0: Common chan: pid 301 added Deb0: Common chan: pid 310 added Deb0: Common chan: pid 320 added Deb0: Common chan: Open the new filters Info: Autoconf: We update the channel CAM support Info: Autoconf: Diffusion 2 channels Info: Autoconf: Channel number : 0, service id 30614 name : "ct24" Info: Autoconf: Multicast4 ip : 239.100.0.1:1234 Deb0: Autoconf: pids : 750 (PMT), Info: Autoconf: Channel number : 1, service id 30605 name : "m1" Info: Autoconf: Multicast4 ip : 239.100.0.2:1234 Deb0: Autoconf: pids : 300 (PMT), 301 (Video (MPEG2)), 310 (Audio (MPEG1) hun), 320 (Teletext), Deb0: TS: GOOD service_id for PMT 300 and channel "m1" Deb0: Autoconf: PIDs update Deb0: Autoconf: PID 751 added type Video (MPEG2) lang --- Deb0: Autoconf: PID 761 added type Audio (MPEG1) lang cze Deb0: Autoconf: PID 770 added type Teletext lang --- Deb0: Autoconf: pids : Deb0: Autoconf: 750 (PMT) Deb0: Autoconf: 751 (Video (MPEG2)) Deb0: Autoconf: 761 (Audio (MPEG1)) Deb0: Autoconf: 770 (Teletext) Deb0: Autoconf: PIDs for channel 0 "ct24" : 750 751 761 770 Info: Common chan: Looking through all services to update their filters Deb0: Common chan: pid 751 added Deb0: Common chan: pid 761 added Deb0: Common chan: pid 770 added Deb0: Common chan: Open the new filters Info: Autoconf: We update the channel CAM support Info: Autoconf: Diffusion 2 channels Info: Autoconf: Channel number : 0, service id 30614 name : "ct24" Info: Autoconf: Multicast4 ip : 239.100.0.1:1234 Deb0: Autoconf: pids : 750 (PMT), 751 (Video (MPEG2)), 761 (Audio (MPEG1) cze), 770 (Teletext), Info: Autoconf: Channel number : 1, service id 30605 name : "m1" Info: Autoconf: Multicast4 ip : 239.100.0.2:1234 Deb0: Autoconf: pids : 300 (PMT), 301 (Video (MPEG2)), 310 (Audio (MPEG1) hun), 320 (Teletext), Deb0: TS: GOOD service_id for PMT 300 and channel "m1" Deb0: TS: GOOD service_id for PMT 300 and channel "m1" Deb0: TS: GOOD service_id for PMT 300 and channel "m1" Deb0: TS: GOOD service_id for PMT 300 and channel "m1" Deb0: TS: GOOD service_id for PMT 300 and channel "m1" Deb0: TS: GOOD service_id for PMT 300 and channel "m1" Deb0: TS: GOOD service_id for PMT 300 and channel "m1" Deb0: TS: GOOD service_id for PMT 300 and channel "m1" Deb0: TS: GOOD service_id for PMT 300 and channel "m1" Deb0: TS: GOOD service_id for PMT 300 and channel "m1" Deb0: TS: GOOD service_id for PMT 300 and channel "m1" Info: Main: Channel "m1" down.Card 0 Info: SCAM_CAPMT: sent CAPMT message to socket for channel m1, toWrite=103 wrote=103 Info: SCAM_GETCW: Got CA_SET_PID with pid: 301 setting channel m1 ca_idx 1 Info: Main: Channel "m1" is now highly scrambled (93% of scrambled packets). Card 0 Info: Main: Channel "m1" back.Card 0 Info: Main: Channel "m1" is now partially unscrambled (19% of scrambled packets). Card 0 Info: Autoconf: The NIT version changed, channels number could have changed ! Deb0: Autoconf: NIT 1 sections on 1 are missing Info: Main: Channel "m1" is now fully unscrambled (0% of scrambled packets). Card 0 Info: Autoconf: We got the NIT, we update the channel names

oscam logfile 19:55:43 1E10060 c [ADD PID 0] CAID: 1815 ECM_PID: 1389 PROVID: 000000 19:55:43 1E10060 c [ADD PID 1] CAID: 0B02 ECM_PID: 15E4 PROVID: 000000 19:55:43 1E10060 c [ADD PID 2] CAID: 0D97 ECM_PID: 170D PROVID: 000000 19:55:43 1E10060 c [ADD PID 3] CAID: 0653 ECM_PID: 1839 PROVID: 000000 19:55:43 1E10060 c [ADD STREAM 0] CAID: 1815 ECM_PID: 1389 PROVID: 000000 19:55:43 1E10060 c [ADD STREAM 1] CAID: 0B02 ECM_PID: 15E4 PROVID: 000000 19:55:43 1E10060 c [ADD STREAM 2] CAID: 0D97 ECM_PID: 170D PROVID: 000000 19:55:43 1E10060 c [ADD STREAM 3] CAID: 0653 ECM_PID: 1839 PROVID: 000000 19:55:43 1E10060 c Found 4 ECMpids and 3 STREAMpids in PMT 19:55:43 1E10060 c [DVBAPI] Receiver wants to demux srvid 778D on adapter 0000 camask 0001 index 0000 pmtpid 0000 19:55:43 1E10060 c New program number: 778D (1815:778D unknown) [pmt_list_management 3] 19:55:43 1E10060 c [DVBAPI] Demuxer #0 trying to descramble PID #2 CAID 0D97 PROVID 000000 ECMPID 170D ANY CHID PMTPID 0000 VPID 012D 19:55:43 1E10060 c mumudvb (0D97&000004/0000/778D/F0:17B4081FE3F49909D12BC00327AAE278): cache1 (16 ms) by upc_direct 19:55:44 1E10060 c mumudvb (0D97&000004/0000/778D/F0:9BB7FE99F79BBDB998851A4EBA71D1BF): found (168 ms) by upc_direct 19:55:54 1E10060 c mumudvb (0D97&000004/0000/778D/F0:57310C57AD5ADD30B4C53BB406C724D1): found (167 ms) by upc_direct 19:56:04 1E10060 c mumudvb (0D97&000004/0000/778D/F0:A2E95CF1529FF10AA78ABB832200B53D): found (168 ms) by upc_direct 19:56:14 1E10060 c mumudvb (0D97&000004/0000/778D/F0:9C88060DF4536D57BC1CF6503EA4F3F7): found (168 ms) by upc_direct 19:56:24 1E10060 c mumudvb (0D97&000004/0000/778D/F0:FD5232211C49384836AE59D042F211EC): found (168 ms) by upc_direct 19:56:34 1E10060 c mumudvb (0D97&000004/0000/778D/F0:69D0F542B7F50B85484028FA76A7F9B2): found (170 ms) by upc_direct 19:56:44 1E10060 c mumudvb (0D97&000004/0000/778D/F0:97F86F185AC426F57BD2E99017CE6C5E): found (169 ms) by upc_direct 19:56:54 1E10060 c mumudvb (0D97&000004/0000/778D/F0:0A784A9061D3A427246752B900DBDB3A): found (169 ms) by upc_direct

oscam.conf [dvbapi] enabled = 1 au = 1 boxtype = pc user = mumudvb pmt_mode = 4 request_mode = 1

mumudvb.conf freq=12073 pol=v srate=28000 coderate=7/8 autoconfiguration=full autoconf_sid_list=30614 30605 switch_input=1 switch_type=U sap=0 scam_support=1

new_channel service_id=30614 ip=239.100.0.1 oscam=0 name=ct24

new_channel service_id=30605 ip=239.100.0.2 oscam=1 name=m1