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 #121 doublet

  • Senior Member
  • 90 posts

+5
Neutral

Posted 25 September 2013 - 19:30

Yes, dvbsnoop must be installed. It should be in the feed.

Just use the following command: opkg install dvbsnoop

As regards lamedb, I edited the one in /etc/enigma2 - need to look into it again.

in lamedb i have 

 

1100:011aace7:1000:0001:1:0
BBC NEWS
p:BBC,f:0040

 

remove ,f:0040 or f:0040 or p:BBC,f:0040 or another?

 

relevant lamedb part on my box looks like this:

 

0003:0cfdace7:1000:0001:12:0
SIPSI In-band configurations
p:BBC
0032:0cfdace7:1000:0001:12:0
Fat CSI
p:BBC
1044:0cfdace7:1000:0001:1:0
BBC ONE
p:BBC,c:000065,c:010066,c:030065
107c:0cfdace7:1000:0001:1:0
BBC ONE Scot
p:BBC
107d:0cfdace7:1000:0001:1:0
BBC ONE NI
p:BBC
107e:0cfdace7:1000:0001:1:0
BBC ONE Wales
p:BBC
10bf:0cfdace7:1000:0001:1:0
BBC TWO
p:BBC
10c0:0cfdace7:1000:0001:1:0
BBC THREE
p:BBC,c:00012d,c:01012e,c:03012d
1100:0cfdace7:1000:0001:1:0
BBC NEWS
p:BBC,c:0001f5,c:0101f6,c:0301f5
1140:0cfdace7:1000:0001:1:0
BBC Red Button
p:BBC
11c0:0cfdace7:1000:0001:1:0
BBC FOUR
p:BBC,c:000191,c:010192,c:030191
1200:0cfdace7:1000:0001:1:0
CBBC
p:BBC
1240:0cfdace7:1000:0001:1:0
CBeebies
p:BBC
1280:0cfdace7:1000:0001:1:0
BBC Parliament
p:BBC,c:000259,c:01025a,c:030259
12fc:0cfdace7:1000:0001:1:0
BBC Alba
p:BBC
1600:0cfdace7:1000:0001:2:0
BBC R5L
p:BBC,c:01057a,c:03057a
1640:0cfdace7:1000:0001:2:0
BBC R5SX
p:BBC,c:0105de,c:0305de
1680:0cfdace7:1000:0001:2:0
BBC 6 Music
p:BBC,c:010642,c:030642
16c0:0cfdace7:1000:0001:2:0
BBC Radio 4 Ex
p:BBC,c:0106a6,c:0306a6
1700:0cfdace7:1000:0001:2:0
BBC 1 Xtra
p:BBC,c:01070a,c:03070a
1740:0cfdace7:1000:0001:2:0
BBC Asian Net.
p:BBC,c:01076e,c:03076e
1780:0cfdace7:1000:0001:2:0
BBC World Sv.
p:BBC,c:0107d2,c:0307d2
183c:0cfdace7:1000:0001:2:0
Radio Scotland
p:BBC
187c:0cfdace7:1000:0001:2:0
Radio N Gael
p:BBC
18bd:0cfdace7:1000:0001:2:0
Radio Ulster
p:BBC
18fd:0cfdace7:1000:0001:2:0
Radio Foyle
p:BBC
193e:0cfdace7:1000:0001:2:0
Radio Wales
p:BBC
197e:0cfdace7:1000:0001:2:0
Radio Cymru
p:BBC
1a40:0cfdace7:1000:0001:2:0
BBC Radio 1
p:BBC,c:0103ea,c:0303ea
1a80:0cfdace7:1000:0001:2:0
BBC Radio 2
p:BBC,c:01044e,c:03044e
1ac0:0cfdace7:1000:0001:2:0
BBC Radio 3
p:BBC,c:0104b2,c:0304b2
1b00:0cfdace7:1000:0001:2:0
BBC Radio 4
p:BBC,c:010516,c:030516
1c00:0cfdace7:1000:0001:1:0
301
p:BBC
1c40:0cfdace7:1000:0001:1:0
302
p:BBC
4440:0cfdace7:1000:0001:25:0
BBC HD
p:BBC,c:0017d5,c:0317d5,c:050001
4484:0cfdace7:1000:0001:25:0
BBC One HD
p:BBC,c:0019c9,c:0319c9,c:050001
44c8:0cfdace7:1000:0001:25:0
ITV1 HD
p:ITV,c:001839,c:031839,c:050001
4500:0cfdace7:1000:0001:25:0
Channel 4 HD
p:Channel 4 Broadcasting,c:00189d,c:03189d,c:050001
4580:0cfdace7:1000:0001:25:0
S4C HD
p:S4C
45c0:0cfdace7:1000:0001:25:0
STV HD
p:STV
4cc0:0cfdace7:1000:0001:25:0
303
p:BBC
4e80:0cfdace7:1000:0001:25:0
UTV HD
p:UTV
4f40:0cfdace7:1000:0001:1:0
The Space
p:BBC

 


 



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

  • Senior Member
  • 45 posts

+1
Neutral

Posted 25 September 2013 - 21:37

Wow - a couple of weeks out of the thread and things have moved on. Thanks Doublet.

On the lamedb edit aspect: I found a simple way was to issue a reboot command after editing in vi from Telnet (rather than restart enigma which seems to overwrite the edits). However, I this was a non pli build - have not had a chance to try with my pli based box.

Rob

Maybe than shiny new TM 5402 will be on ebay before too long :-o

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

  • PLi® Core member
  • 32,766 posts

+245
Excellent

Posted 25 September 2013 - 21:40

you should not have to reboot.
Just make sure e2 is not running when you edit lamedb:

init 4
edit lamedb
init 3

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

  • Senior Member
  • 2,621 posts

+30
Good

Posted 25 September 2013 - 22:58

Does anyone know what error code 145 means?

Is it a python error?

 

currentSid: 0x1044
trying with demux /dev/dvb/adapter0/demux4
pmtPid: 0x0064
Error(145): read (PID 0x0064): Connection timed out
0x9f 0x80 0x32 0x1e 0x03 0x10 0x44 0x09 0x00 0x13 0x01 0x81 0x08 0x0c 0xfd 0xac
0xe7 0x10 0x00 0x00 0x01 0x82 0x02 0x10 0x04 0x84 0x02 0x00 0x64 0x0d 0x00 0x64
0x00 0x00
Error(145): read (PID 0x0064): Connection timed out

currentSid: 0x44c8
trying with demux /dev/dvb/adapter0/demux4
pmtPid: 0x1838
Error(145): read (PID 0x1838): Connection timed out
0x9f 0x80 0x32 0x1e 0x03 0x44 0xc8 0x09 0x00 0x13 0x01 0x81 0x08 0x0c 0xfd 0xac
0xe7 0x10 0x00 0x00 0x01 0x82 0x02 0x10 0x04 0x84 0x02 0x18 0x38 0x0d 0x18 0x38
0x00 0x00
Error(145): read (PID 0x1838): Connection timed out


ET9000, OpenPLi 4.0, 13E, 19E

HD51, OpenPLi 6.2, 75E - 30W


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

  • Senior Member
  • 90 posts

+5
Neutral

Posted 26 September 2013 - 06:03

Does anyone know what error code 145 means?

Is it a python error?

 

Robinson, it's dvbsnoop error. PAT / PMT section packets are broadcasted each 100 ms.

First I check for demux - I'm expecting PAT (PID 0x0) to be received, so you may get timeout there. Once demux is found, I wait for PMT (for the case PMT is not scrambled) this is first timeout:

 

Error(145): read (PID 0x1838): Connection timed out
 

If I get timeout, I send CAPMT (it is dumped). Then I expect CAM to descramble PMT (sleep for 1 second). Then I expect to get descrambled PMT by dvbsnoop but again there is timeout:

 

Error(145): read (PID 0x1838): Connection timed out

 

This last timeout shows that PMT was not descrambled by CAM.



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

  • Senior Member
  • 2,621 posts

+30
Good

Posted 26 September 2013 - 08:00

OK, so the first timeout is actually expected but something goes wrong between the first timeout and the second timeout because PMT is not descrambled by CAM?

pieterg, Erik and all Enigma2 specialists, do you have any idea what may go wrong? Would it be useful if I provided some Enigma2 logs? Because in this case something seems to be missing on the contact point between Enigma2 and softcam.

 

By the way, doublet, a friend of mine tried your script "bbc_pmt_deb3" from this post: http://openpli.org/f...ndpost&p=375526 on an IPBOX with a non-PLi image and he managed to open SD channels but not HD so indeed there seem to be differences between boxes/images. I may also try it on a Solo2 if I get hold of one this week.

 

robbieb43, will you be experimenting with your box as well? What box do you have and what image are you using?


Edited by Robinson, 26 September 2013 - 08:00.

ET9000, OpenPLi 4.0, 13E, 19E

HD51, OpenPLi 6.2, 75E - 30W


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

  • Senior Member
  • 90 posts

+5
Neutral

Posted 26 September 2013 - 09:17

Yes, first timeout is expected. The timeout after CAPMT dump is not expected.... script (and E2) expect to receive PMT at that time.

 

Definitely it would be good to have feedback from all who tried the script.

 

I would like to precise the question to Enigma2 experts:

Suppose we are not doing more things in parallel (like PiP, recording, streaming, another tuner usage, ....) we just want to watch single channel:

- how Enigma2 allocates demux device?

- is there difference between allocation of demux for scrambled and not scrambled channel?

 

- in my case (DM7020 HD / DMM E2), always demux3 is choosen

- in Robinson's case (ET9000 / OpenPli E2):

* for BBC channels (random demux is choosen, perhaps because E2 thinks channel is not scrambled)

* for other scrambled channel demux0 is choosen

 

From logs it seems Robinson's setup is not able to do descrambling if demux is different from 0.

 

Thanks!



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

  • Senior Member
  • 2,621 posts

+30
Good

Posted 27 September 2013 - 07:20

I didn't have a chance to do any more tests yesterday; hopefully, in the next few days I'll have some logs.

But I have an update on a friend of mine's attempts with your bbc_pmt_deb3 script. So far he only managed to open SD channels but after editing lamedb with the same parameters as yours, he managed to get picture on HD channels. Apparently, c:05 parameter was missing in his case. As betacentauri says here: http://openpli.org/f...ndpost&p=375960 it is VTYPE, which seems to have something to do with video. I wonder what the next parameter is - ACHANNEL (audio?) - maybe this parameter could fix the audio for him.


ET9000, OpenPLi 4.0, 13E, 19E

HD51, OpenPLi 6.2, 75E - 30W


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

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 27 September 2013 - 08:08

VTYPE is video type. Here are the possible values:
0: MPEG2
1: MPEG4_H264
2: MPEG1
3: MPEG4_Part2
4: VC1
5: VC1_SM

Regarding ACHANNEL I really don't know what that is. Perhaps pieterg can tell us.
Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

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

  • Senior Member
  • 90 posts

+5
Neutral

Posted 27 September 2013 - 09:39

Robinson,

I've do quick scan trough E2 sources and ACHANNEL could be LEFT/RIGHT/STEREO and seems have nothing to do with audio format.

It would be interesting, what's displayed when you push "AUDIO" button on remote (audio track information / selection).

Also check whether there is some audio PID present in "Information -> Service -> PIDs" http://openpli.org/wiki/E2Info



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

  • Senior Member
  • 45 posts

+1
Neutral

Posted 27 September 2013 - 18:37


robbieb43, will you be experimenting with your box as well? What box do you have and what image are you using?

Will do - back in the UK now so not with my EDG Nemesis DM800, but I can try it on my other QBOX mini. It may take a couple of days as I need to drop the same image and version of OSCAM that I had working on its twin brother. This was working fine (except sound on HD channels) prior to the PMT scramble, so I will try the above. The image is a derivative of the Satstation/Duolabs qbox mini file system. Fyi: I have heard it said that the Qbox code does have a lineage back to Openpli, and it clearly has Duckbox project links.

Edited by robbieb43, 27 September 2013 - 18:38.


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

  • Senior Member
  • 90 posts

+5
Neutral

Posted 27 September 2013 - 20:11

I found out, that recording of HD channel has no sound with my script. New version corrects it:

Attached File  bbc_pmt_deb4.zip   1.28KB   105 downloads

 

New script doesn't close socket to CAM after 1 second but keeps it open for the whole time channel is viewed. So there is always broadcasted PMT available to E2. It seems E2 needs broadcasted PMT when recording starts (cached PMT is not sufficient).

 

Robinson, it's worth to try this version of script on your friend's box - you mentioned he's got no sound on HD channels.



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

  • Member
  • 8 posts

0
Neutral

Posted 27 September 2013 - 22:14

When I start bbc_pmt.py file i have message:

available demuxes:

/dev/dvb/adapter0/demux4

/dev/dvb/adapter0/demux3

/dev/dvb/adapter0/demux1

/dev/dvb/adapter0/demux2

/dev/dvb/adapter0/demux0

 

and nothing happen, what is wrong?



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

  • Senior Member
  • 2,621 posts

+30
Good

Posted 27 September 2013 - 23:45

Hello,

I have made 2 logs.

The first one is off MGM - a regular channel scrambled in BISS. This channel works OK:

ok > 4 .. goto 3
set sequence pos 3
OURSTATE: ok
[eDVBLocalTimerHandler] channel 0x7303f1e8 running
[eEPGCache] channel 0x7303f1e8 running
stop release channel timer
ok ... now we start!!
eventNewProgramInfo 0 0
have 1 video stream(s) (1004)[EPGC] next update in 2 sec
, and 1 audio stream(s) (1005), and the pcr pid is 1004, and the text pid is fff
fffff
allocate demux
TuxTxt cache cleared
decoder state: play, vpid=4100, apid=4101
DMX_SET_PES_FILTER(0x1004) - pcr - ok
DEMUX_START - pcr - ok
DMX_SET_PES_FILTER(0x1005) - audio - ok
DEMUX_START - audio - ok
AUDIO_SET_BYPASS(1) - ok
AUDIO_PAUSE - ok
AUDIO_PLAY - ok
Video Device: /dev/dvb/adapter0/video0
demux device: /dev/dvb/adapter0/demux0
VIDEO_SET_STREAMTYPE 0 - ok
DMX_SET_PES_FILTER(0x1004) - video - ok
DEMUX_START - video - ok
VIDEO_FREEZE - ok
VIDEO_PLAY - ok
VIDEO_SLOWMOTION(0) - ok
VIDEO_FAST_FORWARD(0) - ok
VIDEO_CONTINUE - ok
AUDIO_CONTINUE - ok
disable teletext subtitles
[eDVBCAService] new service 1:0:1:3:3:1:643143:0:0:0:
[eDVBCAService] add demux 0 to slot 0 service 1:0:1:3:3:1:643143:0:0:0:
RemovePopup, id = ZapError
[eDVBLocalTimerHandler] diff is 0
[eDVBLocalTimerHandler] diff < 120 .. use Transponder Time
[eDVBLocalTimerHandler] not changed
[SEC] update current rotorparams 250 d0be 100
set sequence pos 4
[SEC] update current switch params
[SEC] sleep 500ms
PATready
use pmtpid 0102 for service_id 0003
eventNewProgramInfo 0 0
have 1 video stream(s) (1004), and 1 audio stream(s) (1005), and the pcr pid is
1004, and the text pid is ffffffff
decoder state: play, vpid=4100, apid=4101
VIDEO_SLOWMOTION(0) - ok
VIDEO_FAST_FORWARD(0) - ok
VIDEO_CONTINUE - ok
AUDIO_CONTINUE - ok
[eDVBCIInterfaces] gotPMT
sdt update done!
[SEC] set dynamic current limiting
VIDEO_GET_EVENT - ok
VIDEO_GET_EVENT - ok
VIDEO_GET_EVENT - ok
[EPGC] start caching events(1380319760)
[EPGC] abort non avail nownext reading
[EPGC] abort non avail schedule reading
[EPGC] abort non avail schedule other reading

 

The second one is off BBC1 - BISS-scrambled and PMT-scrambled. This channel does not clear:

ok > 4 .. goto 3
set sequence pos 3
OURSTATE: ok
[eDVBLocalTimerHandler] channel 0x1a30048 running
[eEPGCache] channel 0x1a30048 running
stop release channel timer
[EPGC] next update in 2 sec
ok ... now we start!!
eventNewProgramInfo 0 0
have 1 video stream(s) (0065), and 1 audio stream(s) (0066), and the pcr pid is
0065, and the text pid is ffffffff
allocate demux
TuxTxt cache cleared
decoder state: play, vpid=101, apid=102
DMX_SET_PES_FILTER(0x65) - pcr - ok
DEMUX_START - pcr - ok
DMX_SET_PES_FILTER(0x66) - audio - ok
DEMUX_START - audio - ok
AUDIO_SET_BYPASS(1) - ok
AUDIO_PAUSE - ok
AUDIO_PLAY - ok
Video Device: /dev/dvb/adapter0/video0
demux device: /dev/dvb/adapter0/demux0
VIDEO_SET_STREAMTYPE 0 - ok
DMX_SET_PES_FILTER(0x65) - video - ok
DEMUX_START - video - ok
VIDEO_FREEZE - ok
VIDEO_PLAY - ok
VIDEO_SLOWMOTION(0) - ok
VIDEO_FAST_FORWARD(0) - ok
VIDEO_CONTINUE - ok
AUDIO_CONTINUE - ok
disable teletext subtitles
[eDVBCAService] new service 1:0:1:1044:1000:1:CFDACE7:0:0:0:
[eDVBCAService] add demux 0 to slot 0 service 1:0:1:1044:1000:1:CFDACE7:0:0:0:
RemovePopup, id = ZapError
[SEC] update current rotorparams 215 d34b 3325
set sequence pos 4
[SEC] update current switch params
[SEC] sleep 500ms
PATready
use pmtpid 0064 for service_id 1044
sdt update done!
[SEC] set dynamic current limiting
[eDVBLocalTimerHandler] diff is -1
[eDVBLocalTimerHandler] diff < 120 .. use Transponder Time
[eDVBLocalTimerHandler] update RTC
[eDVBLocalTimerHandler] time update to 00:27:46
[eDVBLocalTimerHandler] m_time_difference is -1
[eDVBLocalTimerHandler] set Linux Time
[EPGC] start caching events(1380320867)
[EPGC] abort non avail nownext reading
[EPGC] abort non avail schedule reading
[EPGC] abort non avail schedule other reading
DVB service failed to tune - error 4
RemovePopup, id = ZapError
AddPopup, id = ZapError

 

In general, they look pretty similar although some differences can be seen.

 

Only the channel that works contains these lines:

decoder state: play, vpid=4100, apid=4101
VIDEO_SLOWMOTION(0) - ok
VIDEO_FAST_FORWARD(0) - ok
VIDEO_CONTINUE - ok
AUDIO_CONTINUE - ok
[eDVBCIInterfaces] gotPMT
VIDEO_GET_EVENT - ok
VIDEO_GET_EVENT - ok
VIDEO_GET_EVENT - ok

 

Only the channel that does not work contains these lines:

DVB service failed to tune - error 4
RemovePopup, id = ZapError
AddPopup, id = ZapError

 

Dear Enigma2 & OpenPLi specialists, can you please give doublet a hint what could be additionally needed to make it work?


ET9000, OpenPLi 4.0, 13E, 19E

HD51, OpenPLi 6.2, 75E - 30W


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

  • Senior Member
  • 90 posts

+5
Neutral

Posted 28 September 2013 - 06:45

When I start bbc_pmt.py file i have message:

available demuxes:

/dev/dvb/adapter0/demux4

/dev/dvb/adapter0/demux3

/dev/dvb/adapter0/demux1

/dev/dvb/adapter0/demux2

/dev/dvb/adapter0/demux0

 

and nothing happen, what is wrong?


Perhaps something is wrong with internal web server....

Zap to some BBC channel and submit this command

 

wget -O - http://localhost/web/subservices

 

... and post here the output



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

  • Member
  • 8 posts

0
Neutral

Posted 28 September 2013 - 10:05

in telnet i put a command: wget -O -http://localhost/web/subservices

I have reply:  BusyBox v1.15.3 multi-call binary

Usage: wget ...

Retrieve files via HTTP or FTP

Options: -s, -c, -q, -P, -O, -U, -Y...

 

i think this command doesn't run, i have information how use it



Re: Enigma2 and BBC/ITV at 27.5W Intelsat - a big challenge #137 Erik Slagter

  • PLi® Core member
  • 46,969 posts

+541
Excellent

Posted 28 September 2013 - 10:08

Add a space, like this:

 

wget -O - http://localhost/web/subservices


* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.


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

  • Member
  • 8 posts

0
Neutral

Posted 28 September 2013 - 10:48

Add a space, like this:

 

wget -O - http://localhost/web/subservices

it's the same reply, maybe it's because of i'm using enigma2 image



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

  • Senior Member
  • 90 posts

+5
Neutral

Posted 28 September 2013 - 11:57

Hmm, Busybox that kind of broken??? Or dash misinterpreted...

 

Try this:

wget -O /dev/stdout http://localhost/web/subservices



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

  • Senior Member
  • 90 posts

+5
Neutral

Posted 28 September 2013 - 13:47

Robinson,

could you please do E2 log and in the same time catch output of script (take latest version). There is something strange is with demux allocation. E2 log says demux0 is used, but your previous script outputs show, that the script never selected demux0.




20 user(s) are reading this topic

0 members, 20 guests, 0 anonymous users