Jump to content


Photo

HE-AAC audio PID caching in lamedb

lamedb he-aac

  • Please log in to reply
71 replies to this topic

#1 Robinson

  • Senior Member
  • 2,616 posts

+30
Good

Posted 15 January 2014 - 21:01

Can I have a request, guys?

It was mentioned in another thread but I would like to open a new thread in order to draw the attention of those developers who would like to implement it and who know how to implement it.
Apparently, it could be possible to cache HE-AAC audio pid instead of using those from PMT.
That particular piece of code already seems to exist in the original Dreambox image.
Therefore I kindly ask you to implement it in OpenPLi, not only for Dreamboxes but especially for other supported boxes too.

Look at this diff, please, taken from http://git.opendream...fe1781c#patch2:

diff --git a/usr/include/enigma2/lib/dvb/idvb.h b/usr/include/enigma2/lib/dvb/idvb.h
index 11d38c4..c6ebedb 100644 (file)
--- a/usr/include/enigma2/lib/dvb/idvb.h
+++ b/usr/include/enigma2/lib/dvb/idvb.h
@@ -305,9 +305,9 @@ class eDVBService: public iStaticServiceInformation
 public:
        enum cacheID
        {
-               cVPID, cAPID, cTPID, cPCRPID, cAC3PID,
+               cVPID, cMPEGAPID, cTPID, cPCRPID, cAC3PID,
                cVTYPE, cACHANNEL, cAC3DELAY, cPCMDELAY,
-               cSUBTITLE, cacheMax
+               cSUBTITLE, cATYPE, cAPID, cacheMax
        };
 
        int getCacheEntry(cacheID) const;

This code is part of the one to be found here:

http://git.opendream...fe3142bdfe1781c

There are new cache entry types defined:

cATYPE (10)

cAPID (11)

Any chance to see them in OpenPLi, please?

 


ET9000, OpenPLi 4.0, 13E, 19E

HD51, OpenPLi 6.2, 75E - 30W


Re: HE-AAC audio PID caching in lamedb #2 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 15 January 2014 - 21:18

Only 2 little comments:
It's much more work than adding these 2 lines.
And I would like to help, but I have no time. Perhaps in a few weeks/months...
Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

Re: HE-AAC audio PID caching in lamedb #3 Robinson

  • Senior Member
  • 2,616 posts

+30
Good

Posted 15 January 2014 - 21:39

Thanks betacentauri. I'll wait.

Perhaps someone else with enough knowledge is willing to contribute as well?

Thank you.


ET9000, OpenPLi 4.0, 13E, 19E

HD51, OpenPLi 6.2, 75E - 30W


Re: HE-AAC audio PID caching in lamedb #4 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 19 January 2014 - 09:02

Hi Robinson,

 

please test this e2 binary (it's for OpenPli4!).

1. Copy file to the box (somewhere e.g. /hdd)

2. Unzip file (unzip enigma2.zip)

3. Set execute rights (chmod 755 enigma2)

4. Stop E2 (init 4)

5. Remove lamedb entry from a channel with HE-AAC

5. Start new E2 (/hdd/enigma2)

6. Zap to the channel

7. Zap to another channel

8. Choose restart GUI in menu. This stops E2.

9. Check lamedb. HE-AAC pid should have type 10.

Does it work?

 

10. Start E2 (init 3)

Attached Files


Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

Re: HE-AAC audio PID caching in lamedb #5 Robinson

  • Senior Member
  • 2,616 posts

+30
Good

Posted 19 January 2014 - 11:56

Oh jeez! You were so quick.

Just give me a couple of days because I'm still on OpenPLi 3.0 and can't really upgrade today.

Is anyone else who is using 4.0 willing to test this before I have a chance?

In the meantime, can anyone please point me to a FTA channel with HE-AAC audio?


ET9000, OpenPLi 4.0, 13E, 19E

HD51, OpenPLi 6.2, 75E - 30W


Re: HE-AAC audio PID caching in lamedb #6 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 19 January 2014 - 13:16

I can also compile it for Openpli 3, but on my Openpli3 image it didn't work (it's 1-2 months old and not the latest version). But it could work for you. I can post it this evening.

I also couldn't test, because I too don't know a FTA channel with HE-AAC. I hope somebody know one on Astra 19,2.
Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

Re: HE-AAC audio PID caching in lamedb #7 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 19 January 2014 - 13:35

Try EBS(+) on 9E its FTA with HE-AAC.

 

http://en.kingofsat....bS+ &Submit=Zap


Wavefield T90: 0.8W - 1.9E - 4.8E - 13E - 16E - 19.2E - 23.5E - 26E - 33E - 39E - 42E - 45E on EMP Centauri DiseqC 16/1
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916

Re: HE-AAC audio PID caching in lamedb #8 Robinson

  • Senior Member
  • 2,616 posts

+30
Good

Posted 19 January 2014 - 13:35

If it's not too much of a trouble, I would appreciate a 3.0 version.

Just a few questions:

1) Can I just upload an alreday unzipped enigma2 to /hdd and chmod it to 755?

2) Here: "Remove lamedb entry from a channel with HE-AAC" you only mean to remove the one HE-ACC channel being tested on?

3) Basically, steps 1-9 are intended to check whether the new entry type 10 will appear in lamedb?


ET9000, OpenPLi 4.0, 13E, 19E

HD51, OpenPLi 6.2, 75E - 30W


Re: HE-AAC audio PID caching in lamedb #9 littlesat

  • PLi® Core member
  • 56,270 posts

+691
Excellent

Posted 19 January 2014 - 15:38

Why not flash openpli4... Openpli3.0 is obsoleted.

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: HE-AAC audio PID caching in lamedb #10 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 19 January 2014 - 15:45

1. Yes, should work. But you can unzip in telnet quite easy. Only type "unzip enigma2.zip"
2. Yes, remove the one you want to test. I don't know whether this is really needed, but you had special entries for the BBC channels... Only a precaution to see that it really works.
3. Yes. It's only for testing that entry with type 10 is there.
If it works, I'll post a patch so that it can be included in enigma2. But it's then only included in Openpli4. So you should think about an fresh install of openpli4.
Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

Re: HE-AAC audio PID caching in lamedb #11 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 19 January 2014 - 20:08

Here is the OpenPli3 version. But as said before it might not work...

Attached Files


Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

Re: HE-AAC audio PID caching in lamedb #12 Robinson

  • Senior Member
  • 2,616 posts

+30
Good

Posted 19 January 2014 - 21:16

I'm afraid it freezes and I can't change channels:

 


openpli 3.0 et9x00


et9x00 login: root
root@et9x00:~# init 4
root@et9x00:~# /hdd/enigma2
PYTHONPATH: /usr/lib/enigma2/python
+ (1) Background File Eraser
+ (5) Tuxtxt
+ (8) graphics acceleration manager
+ (9) GFBDC
24300k video mem
 - double buffering available!
17100kB available for acceleration surfaces.
resolution: 1280 x 720 x 32 (stride: 5120)
+ (9) gLCDDC
found OLED display!
lcd buffer 0x7e69f8 8448 bytes, stride 132
LCD resolution: 132 x 64 x 8 (stride: 132)
+ (9) Font Render Class
[FONT] initializing lib...
[FONT] loading fonts...
[FONT] Intializing font cache, using max. 4MB...
+ (10) gRC
RC thread created successfully
+ (15) eWindowStyleManager
+ (20) DVB-CI UI
+ (20) UHF Modulator
couldnt open /dev/rfmod0!!!!
+ (20) RC Input layer
+ (20) misc options
+ (20) AVSwitch Driver
couldnt open /dev/dbox/fp0 to monitor vcr scart slow blanking changed!
+ (21) input device driver
Input device "dreambox remote control (native)" is a remotecontrol
Input device "dreambox advanced remote control (native)" is a remotecontrol
Input device "front panel" is a remotecontrol
Found 3 input devices.
+ (22) Hdmi CEC driver
eHdmiCEC: detected physical address change: 1000 --> 2000
eHdmiCEC: send message 84 20 00 01
+ (30) eActionMap
+ (35) CI Slots
scanning for common interfaces..
CI Slot 0 setSource(0)
CI Slot 1 setSource(0)
eDVBCIInterfaces->setInputSource(0, 0)
eDVBCIInterfaces->setInputSource(1, 1)
cannot open /proc/stb/tsmux/input2
cannot open /proc/stb/tsmux/input3
done, found 2 common interface slots
+ (35) CA handler
+ (36) Stream server
+ (40) eServiceCenter
settings instance.
+ (41) eServiceFactoryDVD
+ (41) eServiceFactoryM2TS
+ (41) eServiceFactoryMP3
+ (41) eServiceFactoryFS
+ (41) eServiceFactoryDVB
reached rl 70
---- opening lame channel db
reading services (version 4)
loaded 368 channels/transponders and 4251 services
scanning for frontends..
opening frontend 0
close frontend 0
opening frontend 1
close frontend 1
found 1 adapter, 2 frontends(2 sim) and 7 demux, boxtype 3
Use valid Linux Time :) (RTC?)
[EPGC] Initialized EPGCache (wait for setCacheFile call now)
Loading spinners...
[ePNG] couldn't open /usr/share/enigma2/skin_default/spinner/wait5.png
found 4 spinner!

executing main
setIoPrio best-effort level 3 ok
Traceback (most recent call last):
  File "/usr/lib/enigma2/python/mytest.py", line 5, in <module>
    from Tools.Profile import profile, profile_final
  File "/usr/lib/enigma2/python/Tools/Profile.py", line 3, in <module>
  File "/usr/lib/enigma2/python/Tools/Directories.py", line 6, in <module>
  File "/usr/lib/enigma2/python/enigma.py", line 2919, in <module>
AttributeError: 'module' object has no attribute 'eDVBDB_parseFrontendData'
---- saving lame channel db
saved 368 channels and 4251 services!
release cached channel (timer timeout)
set RTC to previous valid time
- (41) eServiceFactoryDVD
- (41) eServiceFactoryM2TS
- (41) eServiceFactoryMP3
- (41) eServiceFactoryFS
- (41) eServiceFactoryDVB
- (40) eServiceCenter
clear instance
- (36) Stream server
- (35) CI Slots
- (35) CA handler
- (30) eActionMap
- (22) Hdmi CEC driver
- (21) input device driver
- (20) DVB-CI UI
- (20) UHF Modulator
- (20) RC Input layer
- (20) misc options
- (20) AVSwitch Driver
- (15) eWindowStyleManager
- (10) gRC
waiting for gRC thread shutdown
gRC thread has finished
- (9) GFBDC
- (9) gLCDDC
- (9) Font Render Class
- (8) graphics acceleration manager
- (5) Tuxtxt
- (1) Background File Eraser
reached rl -1
root@et9x00:~#

Only a reboot helps.

So I can only get as far as your point 5 below (Start new E2 (/hdd/enigma2)):

1. Copy file to the box (somewhere e.g. /hdd)

2. Unzip file (unzip enigma2.zip)

3. Set execute rights (chmod 755 enigma2)

4. Stop E2 (init 4)

5. Remove lamedb entry from a channel with HE-AAC

5. Start new E2 (/hdd/enigma2)

6. Zap to the channel

7. Zap to another channel

8. Choose restart GUI in menu. This stops E2.

9. Check lamedb. HE-AAC pid should have type 10.

 


ET9000, OpenPLi 4.0, 13E, 19E

HD51, OpenPLi 6.2, 75E - 30W


Re: HE-AAC audio PID caching in lamedb #13 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 19 January 2014 - 23:11

I had the same problem. Seems to be that something has changed which is not in our openpli3 images. So the best way would be if you make a backup, flash openpli4, test and afterwards you can flash back your backup.
Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

Re: HE-AAC audio PID caching in lamedb #14 Robinson

  • Senior Member
  • 2,616 posts

+30
Good

Posted 19 January 2014 - 23:22

Thanks betacentauri.

I will flash 4.0 this coming week.

Anyone else who already has 4.0 is welcome to test HE-AAC pid chaching in lamedb before I do. :)

BTW, I understand you already tested it on your ET9200 with 4.0 and it works fine? Or is it that you do not have access to any HE-AAC channels?


ET9000, OpenPLi 4.0, 13E, 19E

HD51, OpenPLi 6.2, 75E - 30W


Re: HE-AAC audio PID caching in lamedb #15 Robinson

  • Senior Member
  • 2,616 posts

+30
Good

Posted 19 January 2014 - 23:36


It's only for testing that entry with type 10 is there.
 

 

And the pid itself should start with c:11? just as doublet described in a different thread:

 

4440:0cfdace7:1000:0001:25:0
BBC Two HD
p
:BBC,c:0017d5,c:0317d5,c:050001,c:100004,c:1117d6,f:4
4484:0cfdace7:1000:0001:25:0
BBC One HD
p
:BBC,c:0019c9,c:0319c9,c:050001,c:100004,c:1119ca,f:4
44c8:0cfdace7:1000:0001:25:0
ITV1 HD
p
:ITV,c:001839,c:031839,c:050001,c:100004,c:11183a,f:4
4500:0cfdace7:1000:0001:25:0
Channel 4 HD
p
:Channel 4 Broadcasting,c:00189d,c:03189d,c:050001,c:100004,c:11189e,f:4


ET9000, OpenPLi 4.0, 13E, 19E

HD51, OpenPLi 6.2, 75E - 30W


Re: HE-AAC audio PID caching in lamedb #16 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 20 January 2014 - 07:14

I don't have access to HE-AAC channels or better to say I don't know one. So it's untested yet.

No, in my version it works different. You should only see one entry: c:10<pid>
I find it not very logically what dream has implemented. E.g. in dreams version the order of the entries is important...
Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

Re: HE-AAC audio PID caching in lamedb #17 Robinson

  • Senior Member
  • 2,616 posts

+30
Good

Posted 20 January 2014 - 08:37

OK, so is this what it should look like?

 

4440:0cfdace7:1000:0001:25:0
BBC Two HD
p
:BBC,c:0017d5,c:0317d5,c:050001,c:1017d6,f:4
4484:0cfdace7:1000:0001:25:0
BBC One HD
p
:BBC,c:0019c9,c:0319c9,c:050001,c:1019ca,f:4
44c8:0cfdace7:1000:0001:25:0
ITV1 HD
p
:ITV,c:001839,c:031839,c:050001,c:10183a,f:4
4500:0cfdace7:1000:0001:25:0
Channel 4 HD
p
:Channel 4 Broadcasting,c:00189d,c:03189d,c:050001,c:10189e,f:4

 

The blue values are the actual HE-AAC pid values.


ET9000, OpenPLi 4.0, 13E, 19E

HD51, OpenPLi 6.2, 75E - 30W


Re: HE-AAC audio PID caching in lamedb #18 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 20 January 2014 - 11:06

Yes, right. Perhaps instead of 10 0a (hex value for 10) is used.
Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

Re: HE-AAC audio PID caching in lamedb #19 kota

  • Senior Member
  • 89 posts

+1
Neutral

Posted 20 January 2014 - 21:46

Hi there

 

Just tested but unfortunately still no sound on the HD channels with either c:10 or c:0a in the beginning of the audio pids. This is using my Solo2 with BH image.

 

Cheers



Re: HE-AAC audio PID caching in lamedb #20 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 20 January 2014 - 22:44

What did you do? You used the posted enigma2 binary in bh image? I don't think that this works. Or did you test with openpli and my binary?
Or did you only add c:10pid to lamedb without using my enigma2 binary? This also don't work.
Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users