Jump to content


Photo

Enigma2 and BBC/ITV at 27.5W Intelsat - a big challenge


  • Please log in to reply
1943 replies to this topic

Re: Enigma2 and BBC/ITV at 27.5W Intelsat - a big challenge #941 Robinson

  • Senior Member
  • 2,621 posts

+30
Good

Posted 11 April 2015 - 19:39

Fireballxl5, could it be the plugin discussed here?

http://forums.openpl...ool-in-openpli/

On the other hand, though, littlesat claims it can only decrease volume, not increase.


ET9000, OpenPLi 4.0, 13E, 19E

HD51, OpenPLi 6.2, 75E - 30W


Re: Enigma2 and BBC/ITV at 27.5W Intelsat - a big challenge #942 Robinson

  • Senior Member
  • 2,621 posts

+30
Good

Posted 11 April 2015 - 20:51

BTW, did you guys get subtitles on tonight's Britian's Got Talent on ITV1 HD?


ET9000, OpenPLi 4.0, 13E, 19E

HD51, OpenPLi 6.2, 75E - 30W


Re: Enigma2 and BBC/ITV at 27.5W Intelsat - a big challenge #943 No0ne

  • Member
  • 4 posts

0
Neutral

Posted 11 April 2015 - 22:09

Hi there ..

I'm trying to replicate the VDR setup found at http://forums.openpl...-11#entry386566

But for now I'm stuck at this point. Would somebody be so kind and share your working oscam+vdr/channels config files? Thanks!

VDR says:
asrock vdr: [19585] DVBAPI-Error: poll timed out
asrock vdr: [19585] DVBAPI-Error: Error in read pmt
asrock vdr: [19585] DVBAPI-Error: poll timed out
asrock vdr: [19585] DVBAPI-Error: Error in read pmt
asrock vdr: [19584] CAM 1: module ready
asrock vdr: [19584] DVBAPI: CaInfo: 0.0 sending CA info
asrock vdr: [19755] TS buffer on device 1 thread started (pid=19576, tid=19755, prio=high)
asrock vdr: [19755] TS buffer on device 1 thread ended (pid=19576, tid=19755)
asrock vdr: [19754] buffer stats: 56024 (1%) used


but OSCAM says 0 ECMpids:
22:38:00 14FDBC0 c Found 0 ECMpids and 0 STREAMpids in PMT
22:38:00 14FDBC0 c [DVBAPI] Receiver wants to demux srvid 107C on adapter 0000 camask 0001 index 0000 pmtpid 0000
22:38:00 14FDBC0 c New program number: 107C (FFFE:107C unknown) [pmt_list_management 3]


if I run the python script I get 1 ECMpid, but this is not helping VDR:
22:36:51 14FDBC0 c [ADD PID 0] CAID: FFFF ECM_PID: 1FFF PROVID: 000000
22:36:51 14FDBC0 c [ADD STREAM 0] CAID: FFFF ECM_PID: 1FFF PROVID: 000000
22:36:51 14FDBC0 c Found 1 ECMpids and 1 STREAMpids in PMT
22:36:51 14FDBC0 c [DVBAPI] Receiver wants to demux srvid 107C on adapter 0000 camask 0001 index 0000 pmtpid 1004
22:36:51 14FDBC0 c New program number: 107C (FFFF:107C unknown) [pmt_list_management 3]
22:36:51 14FDBC0 c [DVBAPI] Demuxer #0 trying to descramble PID #0 CAID FFFF PROVID 000000 ECMPID 1FFF ANY CHID PMTPID 1004 VPID 1005
22:36:51 14FDBC0 c local (FFFF&000000/0000/107C/09:XXXXXXXX): found (1 ms) by OSEmu-BISS


Edited by No0ne, 11 April 2015 - 22:09.


Re: Enigma2 and BBC/ITV at 27.5W Intelsat - a big challenge #944 theparasol

  • Senior Member
  • 4,157 posts

+198
Excellent

Posted 11 April 2015 - 22:46

Old revision oscam in use.... upgrade first and streamboard is there for oscam support since this has nothing to do with BBC/ITV @27.5W


@Camping: ZGemma H.2S, Technisat Multytenne 4-in-1 @Home: Edision Mini 4K, Wave Frontier T55, EMP Centauri EMP DiSEqC 8/1 switch, 4x Inverto Ultra Black single LNB


Re: Enigma2 and BBC/ITV at 27.5W Intelsat - a big challenge #945 No0ne

  • Member
  • 4 posts

0
Neutral

Posted 12 April 2015 - 06:53

Thanks .. so now I upgraded all to the latest version: VDR=2.2.0, DVBAPI=last-git-rev, OSCAM=last-svn-rev.

The result is basically the same (HasCaDescriptors 0), I have no idea how this should have worked automatically (VDR descrambling PMT and so on) ... :(

Apr 12 07:52:16 asrock vdr: [5970] CAM 1: assigned to device 1
Apr 12 07:52:16 asrock vdr: [6022] streamdev-writer thread started (pid=5961, tid=6022, prio=high)
Apr 12 07:52:16 asrock vdr: [6023] streamdev-livestreaming thread started (pid=5961, tid=6023, prio=high)
Apr 12 07:52:16 asrock vdr: [5970] DVBAPI: 0.0 CA_PMT decoding len=10 lm=4 prg=4220 len=0
Apr 12 07:52:16 asrock vdr: [5970] DVBAPI: pid=2,1005 len=0 (0x0)
Apr 12 07:52:16 asrock vdr: [5970] DVBAPI: pid=4,0029 len=0 (0x0)
Apr 12 07:52:16 asrock vdr: [5970] DVBAPI: 0.0 got CA pmt ciCmd=-1 caLm=4
Apr 12 07:52:16 asrock vdr: [5970] DVBAPI: 0.0 answer to query suppressed
Apr 12 07:52:16 asrock vdr: [5970] DVBAPI: 0.0 set CAM decrypt (SID 4220 (0x107C), caLm 4, HasCaDescriptors 0)
Apr 12 07:52:16 asrock vdr: [5970] DVBAPI: CA_PMT doesnt contain CA descriptors
Apr 12 07:52:16 asrock vdr: [6024] device 1 receiver thread started (pid=5961, tid=6024, prio=high)
Apr 12 07:52:16 asrock vdr: [6025] device 1 TS buffer thread started (pid=5961, tid=6025, prio=high)
Apr 12 07:52:20 asrock vdr: [6024] detaching receiver - wont decrypt channel S27.5W-1-4096-4220 with CAM 1
Apr 12 07:52:20 asrock vdr: [6024] DVBAPI: 0.0 CA_PMT decoding len=6 lm=5 prg=4220 len=0
Apr 12 07:52:20 asrock vdr: [6024] DVBAPI: 0.0 got CA pmt ciCmd=-1 caLm=5
Apr 12 07:52:20 asrock vdr: [6024] DVBAPI: 0.0 answer to query suppressed
Apr 12 07:52:20 asrock vdr: [6024] DVBAPI: 0.0 set CAM decrypt (SID 4220 (0x107C), caLm 5, HasCaDescriptors 0)
Apr 12 07:52:20 asrock vdr: [6024] DVBAPI: 0.0 CA_PMT decoding len=6 lm=3 prg=0 len=0
Apr 12 07:52:20 asrock vdr: [6024] DVBAPI: 0.0 got CA pmt ciCmd=-1 caLm=3
Apr 12 07:52:20 asrock vdr: [6024] DVBAPI: 0.0 answer to query suppressed
Apr 12 07:52:20 asrock vdr: [6024] DVBAPI: 0.0 stop decrypt
Apr 12 07:52:20 asrock vdr: [6024] CAM 1: unassigned

Edited by No0ne, 12 April 2015 - 06:54.


Re: Enigma2 and BBC/ITV at 27.5W Intelsat - a big challenge #946 No0ne

  • Member
  • 4 posts

0
Neutral

Posted 12 April 2015 - 17:53

Finally got it to work! :) I integrated parts of the python script into the dvbapi plugin .. now I need a bigger dish .. will post details later!



Re: Enigma2 and BBC/ITV at 27.5W Intelsat - a big challenge #947 fireballxl5

  • Senior Member
  • 28 posts

0
Neutral

Posted 14 April 2015 - 14:00

Fireballxl5, could it be the plugin discussed here?

http://forums.openpl...ool-in-openpli/

On the other hand, though, littlesat claims it can only decrease volume, not increase.

 

also - see #940

 

Hi Robinson

Thanks for the plugin info that might come in handy on my Octagon SF8. I have checked the Vu Zero running Vix Apollo 152 again and the audio is definitely louder, it is almost balanced with the SD broadcasts.  I don't have a tester, but to my old ears the volumes are now about the same.

Why will the plugin be handy? Well the 152 Apollo version of Vix for the Octagon doesn't have the same options as the Vu Zero, so I'm guessing that there is an additional hardware option on the Zero.



Re: Enigma2 and BBC/ITV at 27.5W Intelsat - a big challenge #948 pacha-man

  • Member
  • 3 posts

0
Neutral

Posted 20 April 2015 - 19:00

Hi Guys

 

I real all topic , and i tried many once , but still without success .

 

I've VU+Solo with BH Image ; I instaled Oscam Ymod with a valid oscam.keys included Biss key for BBC

 

also i add the 3 files ( bbc_pmt_starter.sh ) + ( bbc_pmt_v5.py ) & ( enigma2_pre_start.sh ) to /usr/bin and i give them Chmode 755 , but i don't know how to run it via telnet , or it is already running when give them 755 .

 

my config for bbc_pmt_starter.sh :

 

#!/bin/sh

scriptName="bbc_pmt_v5.py -t long -d /dev/dvb/adapter0/demux0"
logName=/dev/null
#logName=/tmp/bbc_pmt.log

while [ 1 ]
do
    echo "=== starting $scriptName" >> $logName
    $scriptPath/$scriptName >> $logName 2>&1
    echo "=== $scriptName exited..." >> $logName
done
 

 

and config for bbc_pmt_v5.py :

 

#!/usr/bin/python -u
import socket
import time
import os
import re
import glob
import sys
import getopt
import xml.etree.ElementTree as ET

# cmdline
try:
    opts, args = getopt.getopt(sys.argv[1:],"ht:d:a:p:")
except getopt.GetoptError:
    print 'needed params: -t <short|long> -d <demux>'
    print 'optional params: -a <user:password> -p <port>'
    sys.exit(2)
auth = ""
port = ""
for opt, arg in opts:
    if opt == '-h':
        print 'needed params: -t <short|long> -d <demux>'
        print 'optional params: -a <user:password> -p <port>'
        lsDemux = glob.glob("/dev/dvb/adapter*/demux*")
        print "available demuxes:"
        for file in lsDemux:
                print file
            if len(lsDemux) == 0:
                    print "No demux available"
        sys.exit()
    elif opt in ("-t"):
        capmtType = arg
    elif opt in ("-d"):
        demux = arg
    elif opt in ("-a"):
        auth = arg + "@"
    elif opt in ("-p"):
        port = ":" + arg
print "capmtType: %s, demux: %s" % (capmtType, demux)

# init
#capmt = bytearray("\x9f\x80\x32\x1e\x03\x44\x40\x09\x00\x13\x01\x81\x08\x0C\xFD\xAC\xE7\x10\x00\x00\x01\x82\x02\x08\x03\x84\x02\x17\xD4\x0d\x17\xD4\x00\x00")
oldSid = "0x" # no SID
namespace = ":CFDACE7:"
timeout = 200
socketIsOpen = False

# main loop
while True:
    time.sleep(0.5)
    pipe = os.popen("""wget -q -O - http://%slocalhost%s/web/subservices | grep %s | awk -F ":" '{print $4}'""" % (auth,port,namespace))
    currentSid = "0x" + pipe.readline().rstrip().lower()
    if currentSid == oldSid:
        continue

    # we have some zap
    print "currentSid: %s" % currentSid
    oldSid = currentSid
    if socketIsOpen:
        s.shutdown(socket.SHUT_RDWR)
        s.close()
        socketIsOpen = False
    if currentSid == "0x":
        continue

    # check SID
    print "trying with demux %s" % demux
    pipe = os.popen("dvbsnoop -timeout %d -nph -pd 3 -n 1 -demux %s 0x0 | grep -A 1 %s | grep Program_map_PID" % (timeout,demux,currentSid))
    m = re.search(r"\((\w+)\)", pipe.readline())
    if not m:
        oldSid = "0x" # try to get PAT again in next iteration of main loop
        continue
    pmtPid = m.group(1)
    print "pmtPid: %s" % pmtPid

    # is PMT being broadcasted?
    pipe = os.popen("""dvbsnoop -timeout %d -pd 1 -n 1 -demux %s %s | grep "received" | wc -l""" % (timeout,demux,pmtPid))
    if pipe.readline().rstrip() == "1":
        continue

    # extract demux number
    m = re.search("\d+$", demux)
    demuxNb = m.group()

    # PMT missing, build CAPMT
        currentSidI = int(currentSid, 16)
    demuxNbI = int(demuxNb)
        pmtPidI = int(pmtPid, 16)

    capmt = bytearray("\x9f\x80\x32\x00\x03") # capmt start
    capmt.extend([(currentSidI >> 8) & 0xff, currentSidI & 0xff]) # SID
    capmt.extend("\x09\x00\x13\x01\x81\x08\x0C\xFD\xAC\xE7\x10\x00\x00\x01") # program info length, reference
    capmt.extend([0x82, 0x02, 1 << demuxNbI, demuxNbI & 0xff]) # camask, demux
    capmt.extend([0x84, 0x02, (pmtPidI >> 8) & 0xff, pmtPidI & 0xff]) # PMT PID

    if capmtType == "long":
        # descramble VPID and APID
        pipe = os.popen("""wget -q -O - http://%slocalhost%s/web/getcurrent""" % (auth,port))
        tree = ET.parse(pipe)
        root = tree.getroot()
        ele2service = root.find('e2service')
        vpid = ele2service.find("e2vpid").text
        apid = ele2service.find("e2apid").text
        if vpid != "N/A":
            vpidI = int(vpid)
            capmt.extend([0x02, (vpidI >> 8) & 0xff, vpidI & 0xff, 0x00, 0x00])
            spidI = vpidI + 4 # subtitle PID is video PID plus four
            capmt.extend([0x06, (spidI >> 8) & 0xff, spidI & 0xff, 0x00, 0x00])
        if apid != "N/A":
            apidI = int(apid)
            capmt.extend([0x03, (apidI >> 8) & 0xff, apidI & 0xff, 0x00, 0x00])
    else:
        # descramble PMT PID
        capmt.extend([0x0d, (pmtPidI >> 8) & 0xff, pmtPidI & 0xff, 0x00, 0x00])

    # set length
    capmt[3] = len(capmt) - 4

    print ' '.join('0x%02x' % b for b in capmt)

    # send CAPMT to CAM
    s = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM)
    s.connect_ex(("/tmp/camd.socket"))
    s.send(buffer(capmt))
    socketIsOpen = True

    if capmtType == "short":
        # get descrambled PMT now:
        print os.popen("""dvbsnoop -timeout 1000 -pd 1 -n 1 -demux %s %s | grep "received" """ % (demux,pmtPid)).readline().rstrip()
 

 

 

but unfortunately always i get Timout pmt .. i feel tired really ..

 

i don't if i forget any other else , or i miss something specially .

 

please help me i'm so intersting for bbc channels .

 

thank's to all bro's .



Re: Enigma2 and BBC/ITV at 27.5W Intelsat - a big challenge #949 gorski

  • Senior Member
  • 1,699 posts

+46
Good

Posted 20 April 2015 - 19:51

OpenPLi devs would tell you that one should recode the os.popen & co. with other ways of dealing with these calls...


Edited by gorski, 20 April 2015 - 19:54.

<span style='font-family: comic sans ms,cursive'>"Enlightenment is man's emergence from his self-incurred immaturity. Immaturity is the inability to use one's own understanding without the guidance of another. This immaturity is self-incurred if its cause is not lack of understanding, but lack of resolution and courage to use it without the guidance of another. The motto of enlightenment is therefore: Sapere aude! Have courage to use your own understanding!</span><br /> <br /><span style='font-family: comic sans ms,cursive'>Laziness and cowardice are the reasons why such a large proportion of men, even when nature has long emancipated them from alien guidance..." I. Kant, "Political writings" (1784)</span><br /> <br /><span style='font-family: comic sans ms,cursive'><a class='bbc_url' href='<a class='bbc_url' href='http://eserver.org/p...lightenment.txt'>http://eserver.org/p...ent.txt</a>'><a class='bbc_url' href='http://www.english.upenn.edu/~mgamer/Etexts/kant.html</a>'>http://www.english.upenn.edu/~mgamer/Etexts/kant.html</a></a> - the jolly text on Enlightenment, at the basis of Modernity...</span>

Re: Enigma2 and BBC/ITV at 27.5W Intelsat - a big challenge #950 pacha-man

  • Member
  • 3 posts

0
Neutral

Posted 20 April 2015 - 20:05

Ohh , after many trying i fixed it by "bbc_pmt_v5.py -t long -d /dev/dvb/adapter0/demux0"

 

but now only i'm missing the audio , I don't know why ?



Re: Enigma2 and BBC/ITV at 27.5W Intelsat - a big challenge #951 pacha-man

  • Member
  • 3 posts

0
Neutral

Posted 20 April 2015 - 20:09

On SD works the both , but on HD i missed the Sound .



Re: Enigma2 and BBC/ITV at 27.5W Intelsat - a big challenge #952 yadranko

  • Senior Member
  • 204 posts

+1
Neutral

Posted 27 April 2015 - 20:53

Hi friends,

I've a VU+ Duo2 with BH and I can run the 27,5w channels only manually in telnet session.

Recap:

I added all the 3 files (v5) to usr/bin, set long in "bbc_pmt_starter.sh" and gave chmod 775 to all the files.

I edited the lamedb file (init 4 - edit - init3) and got the right file for oscam-ymod18-56.

Unfortunately nothing happened. Then after some attempts it works by running from telnet /usr/bin/python -u /usr/bin/bbc_pmt_v5.py -t long -d /dev/dvb/adapter0/demux3. If I close the telnet session, it stops to work.

 

How could I fix it in order to run automatically? Any idea?

Where can I get all the working channels (and the correct lamedb data)?

Thank you very much!



Re: Enigma2 and BBC/ITV at 27.5W Intelsat - a big challenge #953 MrA

  • Senior Member
  • 32 posts

0
Neutral

Posted 28 April 2015 - 21:56

Try using demux 0


Gigablue Quad using 4 tuners, OpenPLi 7,  Prodelin 2.4mtr dish with Invacom C120 Quad LNB on 27.5W, 1mt std dish on 30W.  :rolleyes: 

VU+ Duo 4K, Openvix 5.2

Octagon SF8, Openvix 5.1 - neat piece of kit for the price! :D 


Re: Enigma2 and BBC/ITV at 27.5W Intelsat - a big challenge #954 yadranko

  • Senior Member
  • 204 posts

+1
Neutral

Posted 29 April 2015 - 23:28

Thank you! Unfortunately isn't that. Still trying to figure it out.



Re: Enigma2 and BBC/ITV at 27.5W Intelsat - a big challenge #955 yadranko

  • Senior Member
  • 204 posts

+1
Neutral

Posted 4 May 2015 - 09:21

Hi friends,

I've a VU+ Duo2 with BH and I can run the 27,5w channels only manually in telnet session.

Recap:

I added all the 3 files (v5) to usr/bin, set long in "bbc_pmt_starter.sh" and gave chmod 775 to all the files.

I edited the lamedb file (init 4 - edit - init3) and got the right file for oscam-ymod18-56.

Unfortunately nothing happened. Then after some attempts it works by running from telnet /usr/bin/python -u /usr/bin/bbc_pmt_v5.py -t long -d /dev/dvb/adapter0/demux3. If I close the telnet session, it stops to work.

 

How could I fix it in order to run automatically? Any idea?

Where can I get all the working channels (and the correct lamedb data)?

Thank you very much!

 

 

I solved yesterday on openATV.

Probably I was full restarting the box too late to make the script autostarted. 

Many thanks to andres66.



Re: Enigma2 and BBC/ITV at 27.5W Intelsat - a big challenge #956 escalibur

  • Member
  • 24 posts

0
Neutral

Posted 5 May 2015 - 20:56

Does anyone know why I have no audio on any HD channel? Everything else works just fine but for some reason HD channels are missing audio tracks.

 

Eg. Shouldn't this be ok regarding ITV1 HD?

 

7Y78rRQ.png


Edited by escalibur, 5 May 2015 - 20:57.


Re: Enigma2 and BBC/ITV at 27.5W Intelsat - a big challenge #957 escalibur

  • Member
  • 24 posts

0
Neutral

Posted 5 May 2015 - 21:28

Ok I got it working. init 4 ...init 3 did the trick after editing lamedb.



Re: Enigma2 and BBC/ITV at 27.5W Intelsat - a big challenge #958 fitor

  • Member
  • 10 posts

0
Neutral

Posted 6 May 2015 - 21:33

Hi,

pleas i got this message in script v5:

 

# bbc_pmt_v5.py -t long -d /dev/dvb/adapter0/demux0
capmtType: long, demux: /dev/dvb/adapter0/demux0
Traceback (most recent call last):
  File "/usr/bin/bbc_pmt_v5.py", line 51, in <module>
    pipe = os.popen("""wget -q -O - http://%127.0.0.1%s/web/subservices | grep %s | awk -F ":" '{print $4}'""" % (auth,port,namespace))
ValueError: unsupported format character '.' (0x2e) at index 26
 
what does it mean?
Thank you


Re: Enigma2 and BBC/ITV at 27.5W Intelsat - a big challenge #959 Blaster-Man

  • Member
  • 1 posts

0
Neutral

Posted 9 May 2015 - 02:10

Hello guys.
anyone have the ITV1 HD channel to function, I have everything set up well in a octagon SF8 with OpenPli 4.0 audio without the hard drives but I configured this satellite because of the ITV1 HD channel to see the Britian's Hotel Talent.

Re: Enigma2 and BBC/ITV at 27.5W Intelsat - a big challenge #960 satesco

  • Member
  • 2 posts

0
Neutral

Posted 15 May 2015 - 15:33

Hi All,

 

It is possible that BBC package will be opened on DreamElite image with DM500HD and how?

Big thank in adavance :)




3 user(s) are reading this topic

0 members, 3 guests, 0 anonymous users