Jump to content


Photo

Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit


  • Please log in to reply
2062 replies to this topic

Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #701 bluzee

  • Member
  • 22 posts

0
Neutral

Posted 6 April 2012 - 19:34

I'm using Ubuntu 11.04 32 bit. It's up to date with all the updates and security patches from Ubuntu.

Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #702 bluzee

  • Member
  • 22 posts

0
Neutral

Posted 6 April 2012 - 19:41


Thank, Betacentauri :)

But for me switching audio track at watching LiveTV works,
Although you think it is wrong.

selectAudioStream I call setting current apid m_current_apid and when compare with old_apid
And not equally, Switching audio is in xine between LOGICAL_CHANNEL in function cXineLib::selectAudioStream(i)
i - number channel (1,2 -audio tracks)
Call cXineLib::setStreamType through to then could determine the current audio track
if press button A
Sorry bad my English

Regards, Raider05


Hi Raider05,

I don't understand why you can change audio channel and I not. I can give you a recording of ARTE (a german/french channel) tomorrow. There I can't switch audio channel. Or better I can, but I can only hear one audio channel.

Regards,
Betacentauri



Sometimes audio is only on the L or R channel. In addition to being able to switch audio tracks from one audio PID to another you also need to be able to select L or R only and have the audio engine map that stream to both your audio out channels. It gets very annoying when some channels put the TV audio stream on L and a Radio audio stream on the R. Most STBs have the abilty to pick L or R only and have it map the stereo feed to both speakers.

Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #703 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 6 April 2012 - 19:52

@bluzee: Can you do a "ls -la /usr/lib/libxine*" and a "ls -la /usr/lib/xine/plugins/*" and post the output. There must be something wrong in your configuration.
And thanks for the hint about audio channel switch.

@Raider05: I mean switching between audio channels with different audio pid. This doesn't work for me with your fix. Do you mean L/R channel switching as bluzee wrote?
Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #704 Raider05

  • Senior Member
  • 75 posts

+4
Neutral

Posted 6 April 2012 - 19:52

Hi, Betacentauri

I'm sorry, but I am talking about switching audio tracks while watching channels, not records.
Now switching for me audio tracks are almost as well as on dreambox,
without interrupting the video display.
How to switch audio tracks while watching recordings do not know, I have some one audio track.

Regards, Raider05

E2PC, Ubuntu 12.04 x86, DVB-S2 card Omicom SkyStar 4, Nvidia card 9500GT 512Mb DDR2 driver 195.36.24, Satellites 9.0E, 36.0E

Git enigma2pc


Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #705 Raider05

  • Senior Member
  • 75 posts

+4
Neutral

Posted 6 April 2012 - 20:18

@Betacentauri
@bluzee

Here is a video of what I say

E2PC, Ubuntu 12.04 x86, DVB-S2 card Omicom SkyStar 4, Nvidia card 9500GT 512Mb DDR2 driver 195.36.24, Satellites 9.0E, 36.0E

Git enigma2pc


Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #706 bluzee

  • Member
  • 22 posts

0
Neutral

Posted 7 April 2012 - 01:07

@bluzee: Can you do a "ls -la /usr/lib/libxine*" and a "ls -la /usr/lib/xine/plugins/*" and post the output. There must be something wrong in your configuration.
And thanks for the hint about audio channel switch.


Absolutely!

Attached File  ls-laR.txt   9.21KB   5 downloads

Definitley something wrong on my end. I just can't track it down. Doesn't seem to be video driver related. I get the same thing with xshm, opengl and vdpau. I've even changed out my video driver from nvidia to nv and even vesa and I still get green screen using xshm with vesa driver.

Does the xine-lib compile pull anything in from ffmpeg or it is independent of that? I have updated ffmpeg from a ppa. It's at ffmpeg version 0.9.1-4:0.9.1-0ubuntu1~jon1~natty1. It didn't replace all the old ffmpeg libs it installed beside them so I have libavcodec52 and libavcodec53 etc. This version of ffmpeg can play 4:2:2 h.264 which I couldn't get to play using the older version.

I also discovered a hardware limitation with my GT210 video card. With my display at 1080 it can only do about 50fps using vdpau. So for 59.9 fps 720p video files it was playing back a little jerky. Dropping some frames. If I set the display a little smaller it would go up to the full 59.9fps but I can also play 59.9fps @ 1080 just using the ffh264 software codec and no vpdau so the system can still handle the video OK. Even with that limitation using xshm or opengl the enigma2 player shouldn't crash, just maybe with vdpau. I get the green screen no matter which driver I use.

Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #707 bluzee

  • Member
  • 22 posts

0
Neutral

Posted 7 April 2012 - 01:50

My ffmpeg dev files are all from the original Ubuntu version though and enigma2 is linked to libavutil.so.50 not 51.

Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #708 bluzee

  • Member
  • 22 posts

0
Neutral

Posted 7 April 2012 - 08:21

OK, well I still have an old Mandriva 2010 install on another partition so I compiled xine-lib in that system and copied it over to Ubuntu. It was linked to libavutil.so.49 instead of 50 so I just added a symlink. Now enigma2 is playing that channel fine. Only tested on that one MUX so far, but I assume should be OK on the rest.

Weird. Must be compiler issue.

Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #709 bluzee

  • Member
  • 22 posts

0
Neutral

Posted 10 April 2012 - 01:45

In timezone.xml there is something on the GMT-07:00 Mountain Time line that e2 doesn't like. It kept defaulting back to Amsterdam when ever I'd start it. Changed the line to this...

<zone name="(GMT-07:00) Mountain Time" zone="Canada/Mountain" />

and it sticks now. If I run it sudo it changes the clock on my computer to the wrong time too. Any idea where I should look to have it stop changing the time on the computer?

Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #710 bluzee

  • Member
  • 22 posts

0
Neutral

Posted 10 April 2012 - 02:34

config.misc.useTransponderTime=false ??

Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #711 Pr2

  • PLi® Contributor
  • 6,181 posts

+261
Excellent

Posted 12 April 2012 - 13:14

Hi,

Another script for OpenpliPC users, this simple script will easily install the nobody9-skin-PLi-HD in your OpenpliPC install directory.

https://github.com/nobody9/skin-PLiHD

Please put the script install_skin-PLiHD.sh into a folder called util in your OpenpliPC source folder. For people that use the openpli-merge branch the folder util already exist.

Example if you download the source of openpliPC in your home directory the script should be in : ~/openpliPC/util/install_skin-PLiHD.sh

The script will retrieve the value of INSTALL_E2DIR in the file: ../build_openpliPC.sh that's why it is important to put it in a subfolder.

Hope this help some of you to get a better skin than the default one.

Pr2

Attached Files


NO SUPPORT by PM, it is a forum make your question public so everybody can benefit from the question/answer.
If you think that my answer helps you, you can press the up arrow in bottom right of the answer.

Wanna help with OpenPLi Translation? Please read our Wiki Information for translators

Sat: Hotbird 13.0E, Astra 19.2E, Eutelsat5A 5.0W
VU+ Solo 4K: 2*DVB-S2 + 2*DVB-C/T/T2 (used in DVB-C) & Duo 4K: 2*DVB-S2X + DVB-C (FBC)

AB-Com: PULSe 4K 1*DVB-S2X (+ DVB-C/T/T2)
Edision OS Mio 4K: 1*DVB-S2X + 1*DVB-C/T/T2
 


Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #712 temporary

  • Member
  • 8 posts

0
Neutral

Posted 14 April 2012 - 19:40

Hi,

You have right. It have to be problem in code with slot assigment because i see that 8 adapters was detected but only one slot assigned :( .

parts from debug:

...
found 8 adapter, 8 frontends(8 sim) and 8 demux, boxtype 6
...
LNB
sec config cleared
setSlotInfo for dvb frontend 0 to slotid 0, descr VTUNER, need rotorworkaround No, enabled Yes, DVB-S2 Yes
setSlotInfo for dvb frontend 0 to slotid 0, descr VTUNER, need rotorworkaround No, enabled Yes, DVB-S2 Yes
setSlotInfo for dvb frontend 0 to slotid 0, descr VTUNER, need rotorworkaround No, enabled Yes, DVB-S2 Yes
setSlotInfo for dvb frontend 0 to slotid 0, descr VTUNER, need rotorworkaround No, enabled Yes, DVB-S2 Yes
setSlotInfo for dvb frontend 0 to slotid 0, descr VTUNER, need rotorworkaround No, enabled Yes, DVB-S2 Yes
setSlotInfo for dvb frontend 0 to slotid 0, descr VTUNER, need rotorworkaround No, enabled Yes, DVB-S2 Yes
setSlotInfo for dvb frontend 0 to slotid 0, descr VTUNER, need rotorworkaround No, enabled Yes, DVB-S2 Yes
setSlotInfo for dvb frontend 0 to slotid 0, descr VTUNER, need rotorworkaround No, enabled Yes, DVB-S2 Yes

Regards,
temporary


Hi,

@Betacentauri: Thanks for adding of my humble contribution into the source tree.

@dev,

About the multiple tuner configuration problem mentioned by temporary here is perhaps an explanation.

On a standard E2 system (DMM & compatible), the multiple tuner are handled this way:

/dev/dvb/adapter0/frontend0 (tuner A)
/dev/dvb/adapter0/frontend1 (tuner B)
/dev/dvb/adapter0/frontend2 (tuner C)
/dev/dvb/adapter0/frontend3 (tuner D)

as you see every tuner is attached behind adapter0.

On a PC system this is not the case, each physical tuner have its own /dev/dvb/adapterX/frontend0 (or 1).

So in the temporary log, we saw that it is trying to access the frontend1 (if the log is right) but on its system there is no interface with frontend1, so I guess that it should normally access the /dev/dvb/adaptor1/frontend0.
So can be interesting to check in the source code for this log message and see if frontend1 means in fact /dev/adapter1/frontend0 or if it really tries to access /dev/adapter0/frontend1 which is wrong since it doesn't exist on its system.

So perhaps that there is still somewhere in the source code a place where multiple tuners are not properly converted from standard E2 way of handling multiple tuner into the "nim_sockets" way.

Pr2

P.S.: I refer to this error message:


3.
scan: allocating raw channel (on frontend 1) failed!



Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #713 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 17 April 2012 - 18:11

Hi, Betacentauri

I'm sorry, but I am talking about switching audio tracks while watching channels, not records.
Now switching for me audio tracks are almost as well as on dreambox,
without interrupting the video display.
How to switch audio tracks while watching recordings do not know, I have some one audio track.

Regards, Raider05


Hi Raider05,

I watched your movie and can see that it is working. But for me it's not working :( Most likely I did an error somewhere. Can you give me all changed source files (not only the differences; I wanna have the whole file)?

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

Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #714 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 17 April 2012 - 18:18

My ffmpeg dev files are all from the original Ubuntu version though and enigma2 is linked to libavutil.so.50 not 51.


Hi bluzee,

mine is linked against libavutil.so.51.
libavutil.so.51 => /usr/lib/i686/cmov/libavutil.so.51 (0xb6a2d000)

Perhaps that's the problem.

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

Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #715 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 17 April 2012 - 18:22

In timezone.xml there is something on the GMT-07:00 Mountain Time line that e2 doesn't like. It kept defaulting back to Amsterdam when ever I'd start it. Changed the line to this...

<zone name="(GMT-07:00) Mountain Time" zone="Canada/Mountain" />

and it sticks now. If I run it sudo it changes the clock on my computer to the wrong time too. Any idea where I should look to have it stop changing the time on the computer?


I have the same issue (clock of my computer changes sometimes). That's really ugly. At a short look I didn't find the causing source code. Did you try to set the parameter (config.misc.useTransponderTime)? Did it help?
Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #716 Raider05

  • Senior Member
  • 75 posts

+4
Neutral

Posted 17 April 2012 - 20:03

Hi, Betacentauri

Now I can't put sources files, but is link to the patch for current branch openpli_merge
ftp://elcom.kaluga.ru/pub/downloads/e2pc-OpenPLi/LiveTV_switch_audio.diff

Regards, Raider05

E2PC, Ubuntu 12.04 x86, DVB-S2 card Omicom SkyStar 4, Nvidia card 9500GT 512Mb DDR2 driver 195.36.24, Satellites 9.0E, 36.0E

Git enigma2pc


Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #717 bluzee

  • Member
  • 22 posts

0
Neutral

Posted 17 April 2012 - 21:15

Hi bluzee,

mine is linked against libavutil.so.51.
libavutil.so.51 => /usr/lib/i686/cmov/libavutil.so.51 (0xb6a2d000)

Perhaps that's the problem.


Hard to say. I get the same problem no matter what xine-lib version I try to compile on Ubuntu 11.04. I found some packages to upgrade ffmpeg on the old Mandriva to a version close to what I have on Ubuntu 11.04 (6.2 or 6.3) and it compiled fine on Mandriva again and works when I move it over to Ubunutu. I have 50 and 51 on Ubuntu but the devel files are for 50. I should try removing those devel files and install for the newer version and see what happens maybe.


I have the same issue (clock of my computer changes sometimes). That's really ugly. At a short look I didn't find the causing source code. Did you try to set the parameter (config.misc.useTransponderTime)? Did it help?


I set that config option but it will still change my computer's time. I just chown -R /usr/local/e2 to my username and run as regular user instead of sudo. Clock doesn't get changed that way.


Figured out how to get some xmltv listings into the EPG. Not great sources for XMLTV listings in North America, but got some listings for the main channels. Handier for recording shows with the EPG.

Only crashes on one channel now. CBS HD 35Mbps 1080i 4:2:2 mpeg2. Doesn't crash with vdpau, but vdpau won't play 4:2:2. If I switch to xshm or opengl which should play OK it crashes. Probably can't deal with the high bitrate.

Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #718 mishu77

  • Member
  • 5 posts

0
Neutral

Posted 20 April 2012 - 09:33

Hi

I use OpenpliPC on Ubuntu 10.04.4. For the moment i try SD channels and work (FTA only). My problem is with second tuner. I have 2 USB tuner DVB-S2 - Cinergy S2 USB HD am DVB-T - Cinergy T2. With second tuner I can't receive or scan anything, always get ERROR - failed to scan (error starting scaning) when I try to scan or Check tuner configuration when I try to watch. If i use only one tuner all is OK. Any ideea?

Thank's

Edited by mishu77, 20 April 2012 - 09:34.


Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #719 Pr2

  • PLi® Contributor
  • 6,181 posts

+261
Excellent

Posted 20 April 2012 - 10:38

Hi,

Do you edit the nim_socket file to reflect your setup?
A few post above I have post an executable that can help you to generate a proper nim_socket file for OpenpliPC.

http://openpli.org/f...post__p__268059

Pr2

NO SUPPORT by PM, it is a forum make your question public so everybody can benefit from the question/answer.
If you think that my answer helps you, you can press the up arrow in bottom right of the answer.

Wanna help with OpenPLi Translation? Please read our Wiki Information for translators

Sat: Hotbird 13.0E, Astra 19.2E, Eutelsat5A 5.0W
VU+ Solo 4K: 2*DVB-S2 + 2*DVB-C/T/T2 (used in DVB-C) & Duo 4K: 2*DVB-S2X + DVB-C (FBC)

AB-Com: PULSe 4K 1*DVB-S2X (+ DVB-C/T/T2)
Edision OS Mio 4K: 1*DVB-S2X + 1*DVB-C/T/T2
 


Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #720 mishu77

  • Member
  • 5 posts

0
Neutral

Posted 20 April 2012 - 11:21

Thank's for your answer. Yes I try but the same

Here is log
./create_nim_sockets -d
Info: create_nim_sockets 1.1-beta-02 started
Tuner found: /dev/dvb/adapter0/frontend0: Montage Technology DS3000/TS2020
// dvb_frontend_info for /dev/dvb/adapter0/frontend0
struct dvb_frontend_info FETYPE = {
  .name				  = "Montage Technology DS3000/TS2020",
  .type				  = 0,
  .frequency_min		 = 950000,
  .frequency_max		 = 2150000,
  .frequency_stepsize    = 1011,
  .frequency_tolerance   = 5000,
  .symbol_rate_min	   = 1000000,
  .symbol_rate_max	   = 45000000,
  .symbol_rate_tolerance = 0,
  .notifier_delay	    = 0,
  .caps				  = 0x500006ff
};
NIM Socket 0:
	  Type: DVB-S2
	  Name: Montage Technology DS3000/TS2020
	  Has_Outputs: no
	  Frontend_Device: 0
/dev/dvb/adapter0/frontend1 doesn't exist
/dev/dvb/adapter0/frontend2 doesn't exist
/dev/dvb/adapter0/frontend3 doesn't exist
Tuner found: /dev/dvb/adapter1/frontend0: TerraTec/qanu USB2.0 Highspeed DVB-T Receiver
// dvb_frontend_info for /dev/dvb/adapter1/frontend0
struct dvb_frontend_info FETYPE = {
  .name				  = "TerraTec/qanu USB2.0 Highspeed DVB-T Receiver",
  .type				  = 2,
  .frequency_min		 = 174000000,
  .frequency_max		 = 862000000,
  .frequency_stepsize    = 166667,
  .frequency_tolerance   = 0,
  .symbol_rate_min	   = 0,
  .symbol_rate_max	   = 0,
  .symbol_rate_tolerance = 0,
  .notifier_delay	    = 0,
  .caps				  = 0xc01b2eaf
};
NIM Socket 1:
	  Type: DVB-T
	  Name: TerraTec/qanu USB2.0 Highspeed DVB-T Receiver
	  Has_Outputs: no
	  Frontend_Device: 0
/dev/dvb/adapter1/frontend1 doesn't exist
/dev/dvb/adapter1/frontend2 doesn't exist
/dev/dvb/adapter1/frontend3 doesn't exist
/dev/dvb/adapter2/frontend0 doesn't exist
/dev/dvb/adapter2/frontend1 doesn't exist
/dev/dvb/adapter2/frontend2 doesn't exist
/dev/dvb/adapter2/frontend3 doesn't exist
/dev/dvb/adapter3/frontend0 doesn't exist
/dev/dvb/adapter3/frontend1 doesn't exist
/dev/dvb/adapter3/frontend2 doesn't exist
/dev/dvb/adapter3/frontend3 doesn't exist
Info: File [nim_sockets] created please check it.
Info: create_nim_sockets done



13 user(s) are reading this topic

0 members, 13 guests, 0 anonymous users