I understand this could also work in the short mode?
Yes, any mode is possible. I just wanted to have some script for automatic bbc_pmt* python script start so I don't have to start it manually after receiver restart.
Posted 9 October 2013 - 07:03
scrambled PMT on BBC-SATBACK package - status report
Problem:
If service (a TV channel) is to be scrambled, usually packets carrying audio and video streams (PES) are scrambled. Other data (carried by means of section packets like PAT, PMT, SDT) are broadcasted clear. For example PMT section describes streams belonging to service (audio, video, subtitles, ...). This is vital information for E2 and CAM to know which streams are to be presented.
In BBC-SATBACK package, PMT of each service (TV or radio channel) is scrambled, so E2 and CAM are missing this - E2 doesn't know what to present and CAM doesn't know what to descramble.
Workaround:
My bbc_pmt* script instructs CAM (by means of CAPMT data) to descramble PMT PID first. After descrambled PMT is available on demux, it is received normally by E2. Then E2 instructs CAM in standard way (E2-generated CAPMT data) to descramble audio, video,.....
So far I've got 2 positive feedbacks on this approach on Dreambox receivers and one negative feedback on ET9000 receiver.
On ET9000, problem seems to be drivers. Despite CAM sets PMT pid and sends correct control words to CA device, descrambled PMT doesn't appear on demux.
Posted 12 October 2013 - 12:33
Will do - back in the UK now so not with my EDG Nemesis DM800
Robbie,DId you manage to experiment on DM800 with PLi/non-PLi images using long and short mode of doublet's script? Or not yet?
Genius Doublet!
Using EDG Nemesis 2.8
Devicename: dm800 Enigma Version: 2011-09-28-3.2 Image Version: Release SVN(098r6), 03-11-2011
V3 of the script in Long mode + The bit of software that we can't talk about that ends in "8"
(Ignore split in image - this is not related).
I will try to see if I can work out what is going on with my Qbox mini now, but this may take some time.
Thanks
Rob
Posted 12 October 2013 - 22:31
robbieb43, good to see that you've got success. Didn't you try "short" mode too? Do you have sound on HD?
Robinson, for short time period, I've access to ET6500 receiver. Unfortunately I was not able to create reliable script for short mode. I still think there is something wrong with drivers. When I tell CAM to descramble PMT, it is descrambled as PES data and not section data (E2 cannot access it as it sets section filter).
Posted 12 October 2013 - 23:14
Robinson, for short time period, I've access to ET6500 receiver. Unfortunately I was not able to create reliable script for short mode. I still think there is something wrong with drivers. When I tell CAM to descramble PMT, it is descrambled as PES data and not section data (E2 cannot access it as it sets section filter).
Thanks for your continued efforts, doublet.
pieterg, Erik, do you have any ideas on how to go about this PES/section data problem?
If it is indeed the drivers and if I were to contact Xtrend, would could I ask them to change/improve in the drivers in order for doublet's script to work?
Robbie, could you also try OpenPLi on your DM800? Do you have sound on HD channels in "long" mode? Why don't you also try "short" mode as doublet suggests?
ET9000, OpenPLi 4.0, 13E, 19E
HD51, OpenPLi 6.2, 75E - 30W
Posted 13 October 2013 - 15:18
Hi Doublet & Robinson
robbieb43, good to see that you've got success. Didn't you try "short" mode too? Do you have sound on HD?
I will try short mode next, but this is with long mode. As my box is remote I have to rely on the web interface, but I think this tells us no audio.
I seem also to have discovered another problem, while testing this: I recorded a minute of video and downloaded it to my current location. When I tried to play the TS file it fails with a "can't find SID error". Interestingly, on my Windows PC it shows a frame of video on the preview icon, so it must contain video frames.
I am a bit stuck for trying an Openpli build at present as my box is remote and I think flashing over the internet would be a bit tricky :-) My OpenPli box here is not connected to my 27w dish and is rather tricky move at present. It will probably be simpler to wait until I am back collocated with the EDG Nemesis box.
Will let you know how short mode works out.
Rob
Posted 13 October 2013 - 15:24
Hi Doublet & Robinson
robbieb43, good to see that you've got success. Didn't you try "short" mode too? Do you have sound on HD?
I seem also to have discovered another problem, while testing this: I recorded a minute of video and downloaded it to my current location. When I tried to play the TS file it fails with a "can't find SID error". Interestingly, on my Windows PC it shows a frame of video on the preview icon, so it must contain video frames.
Rob
Interestingly, though my DM800 and VLC will not play it, Media Player Classic will. I can therefore confirm no sound.
Rob
Posted 13 October 2013 - 15:57
Hi Doublet & Robinson
......Didn't you try "short" mode too?..........
Time outs in short mode:
currentSid: 0x10c0
trying with demux /dev/dvb/adapter0/demux3
Error(145): read (PID 0x0000): Connection timed out
currentSid: 0x10c0
trying with demux /dev/dvb/adapter0/demux3
pmtPid: 0x012c
Error(145): read (PID 0x012c): Connection timed out
0x9f 0x80 0x32 0x1e 0x03 0x10 0xc0 0x09 0x00 0x13 0x01 0x81 0x08 0x0c 0xfd 0xac 0xe7 0x10 0x00 0x00 0x01 0x82 0x02 0x08 0x03 0x84 0x02 0x01 0x2c 0x0d 0x01 0x2c 0x00 0x00
Error(145): read (PID 0x012c): Connection timed out
currentSid: 0x44c8
trying with demux /dev/dvb/adapter0/demux3
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 0x08 0x03 0x84 0x02 0x18 0x38 0x0d 0x18 0x38 0x00 0x00
Error(145): read (PID 0x1838): Connection timed out
Looks like Long seems to have the most promise here.
Rob
Posted 13 October 2013 - 18:14
Yes, by what you've described, it looks like the drivers do not expect section data to be scrambled.pieterg, Erik, do you have any ideas on how to go about this PES/section data problem?
If it is indeed the drivers and if I were to contact Xtrend, would could I ask them to change/improve in the drivers in order for doublet's script to work?
Posted 13 October 2013 - 18:20
Dear Doublet,
I confirm that your V3 script is working (short mode) on my 7020HD, Openpli4, 13/10/2013.
Thank you! thank you (how can I increase your reputation?)! You are really great!
I tested for long hours with Openpli3, but with no success (tons of time-outs whatever I tried). Then I wanted to test Openpli4 from an USB stick as you did, but ended up flashing the main memory (though I quadruply checked everything at every step, there must something I still need to understand ). Restarting from scratch took some time, but now I have a slickier installation.
In any case, all BBC (except Alba and few others) channels can be watched. No success with ITV1 and CH4, though.
Still getting some errors like below for BBC1HD
./bbc_pmt_v3.py -t short -d /dev/dvb/adapter0/demux0 currentSid: 0x4484 trying with demux /dev/dvb/adapter0/demux0 pmtPid: 0x19c8 Error(145): read (PID 0x19c8): Connection timed out 0x9f 0x80 0x32 0x1e 0x03 0x44 0x84 0x09 0x00 0x13 0x01 0x81 0x08 0x0c 0xfd 0xac 0xe7 0x10 0x00 0x00 0x01 0x82 0x02 0x01 0x00 0x84 0x02 0x19 0xc8 0x0d 0x19 0xc8 0x00 0x0
Now "philosophical" questions:
1) How long will it last? Who knows, of course... Auntie BBC, please do not hit us right now!
2) How do bitrates compare (I will check)?
Interestingly, a BBC3 HD tag (which I have not managed to open yet, since BBC3 is not even broadcasting now) has appeared.
Thank you thank you!
Sleepy
Edited by sleepy, 13 October 2013 - 18:22.
Posted 13 October 2013 - 19:19
Hi Sleepy,
regarding OpenPli4 on USB:
I faced 2 problems:
1. My internal disk and flash drive were detected in random order... e.g. order was not same after soft reset and hard reset. So root partition on flash drive could be either /dev/sda2 or /dev/sdb2
2. In OpelPli4, there is no ext3 driver built in kernel, so you have to use ext4 in autoexec bat:
/usb/vmlinux.gz console=ttyS0,115200 rootdelay=10 root=/dev/sdb2 rootfstype=ext4 rw
regarding channels in package:
Some of channels doesn't broadcast anything or do broadcast only in certain times... In fact if you succeeded with "short" mode, all channels which do broadcast could be opened. Please note, that you have to have control words in CAM keyfile for each service (channel).
In fact it is correct to see one "timeout" in script output. With each zap, I check whether PMT is broadcasted unscrambled by chance. If not (="timeout"), I generate special CAPMT data.
To your 2 questions:
1) I don't know. I'm optimist, I hope to see another transponder with BBC3 HD / BBC4 HD since beginning of next year :-)
2) I think there is some bitrate plugin as part of GP3, not sure about OpenPli
doublet
Posted 13 October 2013 - 19:38
Hi Sleepy,
regarding OpenPli4 on USB:
Thank you, very useful for next attempt!
In fact it is correct to see one "timeout" in script output. With each zap, I check whether PMT is broadcasted unscrambled by chance. If not (="timeout"), I generate special CAPMT data.
Then everything is working fine. Just one time out. Clever!
you have to have control words in CAM keyfile for each service (channel)
Correct. I must check this more carefully. But it as a long way up to here. I will take the last meters with more ease!
I think there is some bitrate plugin as part of GP3, not sure about OpenPli
It was killed by the system upgrade... I will reinstall it ASAP for these tests.
Thank you again,
Sleepy
Posted 16 October 2013 - 10:01
Also currently I don't get AAC sound on HD channels, perhaps it need some more editing in PMT...
The problem might be this: e2 caches only mpeg and ac3 audio stream pids in the lamedb (see pmt.cpp lines 350-355). To distinguish between them a streamtype is also stored in the lamedb (afaik). So if you change pid to AAC pid e2 still thinks it's an mpeg or ac3 stream and sends the stream to the wrong hardware decoder.
Would this have something to do with other audio stream caching?
http://openpli.org/f...ndpost&p=380484
Maybe there is a chance to cache AAC stream of HD channels as well?
ET9000, OpenPLi 4.0, 13E, 19E
HD51, OpenPLi 6.2, 75E - 30W
Posted 31 October 2013 - 21:59
In any case, all BBC (except Alba and few others) channels can be watched. No success with ITV1 and CH4, though.
Still getting some errors like below for BBC1HDNow "philosophical" questions:
channels working on my dm800se:
HD channels (sound=OK)
303 = BBC Red Button HD
BBC One HD
BBC Two HD
ITV 1 HD
Channel 4 HD
SD channels (sound=OK)
301 = BBC Red Button
BBC ONE
BBC TWO
BBC THREE
BBC FOUR
BBC ONE Scot
BBC ONE Wales
BBC ONE NI
BBC NEWS
BBC Parliament
Edited by El Sato, 31 October 2013 - 22:03.
Posted 4 November 2013 - 20:18
In any case, all BBC (except Alba and few others) channels can be watched. No success with ITV1 and CH4, though.
Still getting some errors like below for BBC1HDNow "philosophical" questions:
channels working on my dm800se:
HD channels (sound=OK)
303 = BBC Red Button HD
BBC One HD
BBC Two HD
ITV 1 HD
Channel 4 HD
SD channels (sound=OK)
301 = BBC Red Button
BBC ONE
BBC TWO
BBC THREE
BBC FOUR
BBC ONE Scot
BBC ONE Wales
BBC ONE NI
BBC NEWS
BBC Parliament
El sato - can you just briefly describe what should be at the end installed to see that channels ?
Edited by humaxboy, 4 November 2013 - 20:18.
Posted 5 November 2013 - 08:53
humaxboy, please read the whole thread, especially from around page 4. The thread is very interesting and I'm sure you will find your reply.
By the way, what box do you have and what image are you using? Original DM800se with OpenPLi? If so, you can go for short mode of doublet's script found in here.
ET9000, OpenPLi 4.0, 13E, 19E
HD51, OpenPLi 6.2, 75E - 30W
Posted 5 November 2013 - 10:24
humaxboy, please read the whole thread, especially from around page 4. The thread is very interesting and I'm sure you will find your reply.
By the way, what box do you have and what image are you using? Original DM800se with OpenPLi? If so, you can go for short mode of doublet's script found in here.
Ok robinson, understood . I will give a try today at the evening. Box is Vu+uno with OpenPli4. Will get back to you with the results...
Humaxboy
0 members, 14 guests, 0 anonymous users