Jump to content


Photo

Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit


  • Please log in to reply
2047 replies to this topic

Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #121 buyukbang

  • Senior Member
  • 185 posts

+11
Neutral

Posted 17 December 2011 - 15:42

@nobody9,

I was busy with PC problems, now I'm back. I see a great great progress here , again !!! Thanks for all this good job.

I've a Mac mini as an HTPC with Intel HD graphic card, so unfortunately I cannot benefit from the vdpau :( Is there any news on implementing a graphic card independent solution ?

regards...

It all started with a BigBang...


http://buyukbang.blogspot.com


Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #122 ambrosa

  • Senior Member
  • 161 posts

+35
Good

Posted 17 December 2011 - 15:50

@nobody9,

I was busy with PC problems, now I'm back. I see a great great progress here , again !!! Thanks for all this good job.

I've a Mac mini as an HTPC with Intel HD graphic card, so unfortunately I cannot benefit from the vdpau :( Is there any news on implementing a graphic card independent solution ?

regards...


Decoding an MPEG2 stream (SD channel) using CPU is a medium intensive task.
But decoding an MPEG4/H264 stream (HD channel) using CPU is a very high intensive task.

Without VDPAU (which use Nivida GPU as hardware coprocessor for decoding video stream) probably there is some problem about CPU performance ?
I've no feedback about decoding a full-HD MPEG4 video stream using only CPU .... but I'm interesting to know something about this ...
STB: Clarke Tech ET9100
Mass storage: internal SATA-II HDD 1TB WD10EACS GreenPower 5400rpm
Mass storage: external USB pen drive 2GB
Firmware: OpenPLi kernel 3.x.x
Tuner A: AVL2108 (DVB-S2) HotBird 13E
Tuner B: AVL2108 (DVB-S2) HotBird 13E
Tuner C: AverMedia A867 (DVB-T HD) (AF9035 + MXL5007T)
TV: plasma PANASONIC GT30 fullHD
Audio: PCM through HDMI (no Dolby decoder)

Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #123 nobody9

  • Senior Member
  • 187 posts

+76
Good

Posted 17 December 2011 - 16:00

@buyukbang,

you can try it video and audio works, only the osd was the problem. you can switch the channels over the webinterface.
The last days i had investigated my time to make the Video playing with xine-lib stabler.
I hope we found some one or more they have more skills with xine-lib then i have.

@nobody9,

I was busy with PC problems, now I'm back. I see a great great progress here , again !!! Thanks for all this good job.

I've a Mac mini as an HTPC with Intel HD graphic card, so unfortunately I cannot benefit from the vdpau :( Is there any news on implementing a graphic card independent solution ?

regards...



Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #124 shumifan50

  • Senior Member
  • 195 posts

+2
Neutral

Posted 17 December 2011 - 17:20

@if99nrg:
I still dont have it working. I manage to get a connection between DM500HD and Ubuntu 11.10, but no picture yet.
It will be nice to have a tutorial on how to make vtuner work. If I manage to make it work, I will try to produce one on a different thread in end-user support to avoid cluttering this thread/section.
Making vtuner work is quite convoluted and the documentation exists in several places for the different bits.
DM600, DM800HD, DM7025, DM500S HD. DM800HDse, 90cm multi-bracket dish: 13E, 19.2E, 23.5E, 28.2E. Runnign OpenPli where I can and loving it!

Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #125 ambrosa

  • Senior Member
  • 161 posts

+35
Good

Posted 17 December 2011 - 17:22

Added to build_openpliPC.sh backup/restore E2 config command-line options:

From README

3) Build Xine-lib and openpliPC Enigma2:
It compile and install xine-lib and the openpliPC Enigma2.
xine-lib and enigma2 are included in openpliPC main repo and code
is already patched ready to compile.
Some tasks require root access (sudo). You will be asked for your password.

./build_openpliPC.sh
If you are interested to have a logfile , simply do:
./build_openpliPC.sh.sh 2>&1 | tee build_log.log

./build_openpliPC.sh has two command-line options:
./build_openpliPC.sh -b backup E2 config before new E2 build&install
./build_openpliPC.sh -r restore E2 config after new E2 build&install (previously saved with -b )
./build_openpliPC.sh -b -r backup config, build&install E2, restore old config

Edited by ambrosa, 17 December 2011 - 17:23.

STB: Clarke Tech ET9100
Mass storage: internal SATA-II HDD 1TB WD10EACS GreenPower 5400rpm
Mass storage: external USB pen drive 2GB
Firmware: OpenPLi kernel 3.x.x
Tuner A: AVL2108 (DVB-S2) HotBird 13E
Tuner B: AVL2108 (DVB-S2) HotBird 13E
Tuner C: AverMedia A867 (DVB-T HD) (AF9035 + MXL5007T)
TV: plasma PANASONIC GT30 fullHD
Audio: PCM through HDMI (no Dolby decoder)

Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #126 buyukbang

  • Senior Member
  • 185 posts

+11
Neutral

Posted 17 December 2011 - 17:29

@ambrosa,

I know that graphic accerelator and a picture buffer is needed for viewing HD, but I have a Intel HD :) Current Intel , nvidia and ATi cards have a way much more horse power to just support HD channels.The problem here is the current vdpau solution, which is developed by cougar, is a nvidia depended technology. But there are other generic graphic accerelating technologies like dxva and opengl available for linux. For example, mythtv support all these technologies, vdpau, opengl, ... It's user selectable in options.

I think codec support will not be a problem, since most of the current CPU's could easily handle that withput graphic card accerelation. So I think we only need a buffering / graphic accerelation.

The only problem here, as nobdy9 said, is the experinece and know how on them :(

Edited by buyukbang, 17 December 2011 - 17:33.

It all started with a BigBang...


http://buyukbang.blogspot.com


Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #127 shumifan50

  • Senior Member
  • 195 posts

+2
Neutral

Posted 17 December 2011 - 18:18

OK, I think I have made some progress, but still no picture.
enigma produces following output:
tune failed.
DVB service failed to tune - error 1
RemovePopup, id = ZapError
ignore sdt update data.... incorrect transponder tuned!!!
[SEC] invalidate current switch params
set sequence pos 3
[SEC] setVoltage 2
FE_ENABLE_HIGH_LNB_VOLTAGE: Operation not supported
[SEC] setTone 0
[SEC] sleep 20ms
[SEC] sendDiseqc: e0105a4dc9
[SEC] sleep 50ms
[SEC] setVoltage 1
FE_ENABLE_HIGH_LNB_VOLTAGE: Operation not supported
[SEC] update current switch params
[SEC] startTuneTimeout 5000
[SEC] setFrontend 1
setting frontend 0
[SEC] sleep 500ms
(0)fe event: status 0, inversion off, m_tuning 1
(0)fe event: status 1, inversion off, m_tuning 2


The dreambox is connected to a diseq switch with 4 satellites. The above looks like it is trying to switch the switch and tune the channel. Am I missing something?
DM600, DM800HD, DM7025, DM500S HD. DM800HDse, 90cm multi-bracket dish: 13E, 19.2E, 23.5E, 28.2E. Runnign OpenPli where I can and loving it!

Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #128 nobody9

  • Senior Member
  • 187 posts

+76
Good

Posted 17 December 2011 - 19:37

@shumifan50,

do you have a Ubuntu 64 or 32 bit and which kernel so i can build you the lastest version from the drivers and apps. the compiled version on google don´t work so good.

regards,


OK, I think I have made some progress, but still no picture.
enigma produces following output:
tune failed.
DVB service failed to tune - error 1
RemovePopup, id = ZapError
ignore sdt update data.... incorrect transponder tuned!!!
[SEC] invalidate current switch params
set sequence pos 3
[SEC] setVoltage 2
FE_ENABLE_HIGH_LNB_VOLTAGE: Operation not supported
[SEC] setTone 0
[SEC] sleep 20ms
[SEC] sendDiseqc: e0105a4dc9
[SEC] sleep 50ms
[SEC] setVoltage 1
FE_ENABLE_HIGH_LNB_VOLTAGE: Operation not supported
[SEC] update current switch params
[SEC] startTuneTimeout 5000
[SEC] setFrontend 1
setting frontend 0
[SEC] sleep 500ms
(0)fe event: status 0, inversion off, m_tuning 1
(0)fe event: status 1, inversion off, m_tuning 2


The dreambox is connected to a diseq switch with 4 satellites. The above looks like it is trying to switch the switch and tune the channel. Am I missing something?



Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #129 nobody9

  • Senior Member
  • 187 posts

+76
Good

Posted 17 December 2011 - 19:42

@buyukbang,
the xinlib have some cards support build in, so you can try them by changing the file
enigma2/lib/gdi/xineLib.cpp and recompile enigma2. at the moment it is set to auto.

i only test with xshm and their i have the prob that i don´t get any osd. audio and video works fine.



@ambrosa,

I know that graphic accerelator and a picture buffer is needed for viewing HD, but I have a Intel HD :) Current Intel , nvidia and ATi cards have a way much more horse power to just support HD channels.The problem here is the current vdpau solution, which is developed by cougar, is a nvidia depended technology. But there are other generic graphic accerelating technologies like dxva and opengl available for linux. For example, mythtv support all these technologies, vdpau, opengl, ... It's user selectable in options.

I think codec support will not be a problem, since most of the current CPU's could easily handle that withput graphic card accerelation. So I think we only need a buffering / graphic accerelation.

The only problem here, as nobdy9 said, is the experinece and know how on them :(



Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #130 nobody9

  • Senior Member
  • 187 posts

+76
Good

Posted 17 December 2011 - 20:12

@shumifan50,
attached the vtuner apps for mipsel,i686 and x86_64

a short doku:

on the server copy the file vtunerd.mipsel to /usr/bin
and start i over telnet with /usr/bin/vtunerd.mipsel

for the client you must compile and load the vtunerc kernelmodule
see doku:

http://wiki.nessiedv...install_vtunerc

Then you can start the vtunerc client on the client box
change to the path where you copyed the vtunerc binary

start the client for DVB-S2
./vtunerc.xxx -f s2:1 2>&1 >> /var/log/vtunerc.log &
for DVB-S
./vtunerc.xxx -f s1:1 2>&1 >> /var/log/vtunerc.log &

xxx can be i686 or x86_64

i hope that helps you

Attached Files


Edited by nobody9, 17 December 2011 - 20:13.


Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #131 1455

  • Senior Member
  • 404 posts

+10
Neutral

Posted 17 December 2011 - 20:34

Hi. Who can watch Russians packets "NTV+" and "Tricolor TV" (at 36.0E)?
Switching mpeg4-hd channels (provider NTV +) immediatly occurs crash enigma2 and the mpeg4-sd channels (Tricolor TV) work badly. We observe periodic video and audio disruptions.

At least in the version by cougar_enigma the mpeg4-hd channels NTV+ worked fine.

Edited by 1455, 17 December 2011 - 20:34.

GIT OpenPLi-PC_Python2

GIT OpenPLi-PC_Python3

 

 

 

 

 

 

 

 

 

 

 

 
 

 

 


Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #132 Seal

  • Member
  • 45 posts

+3
Neutral

Posted 17 December 2011 - 20:54

I tried today newest git and the problem is the same - on channels HD from Cyfrowy Polsat provider doesn't works...
I found on other forum that this is xine-lib issue because coguar_enigma cmpilation have this same issue with new xine-lib with older works...


Attached File  e2_new.zip   11.45KB   51 downloads Started on polonia channel, next polsat hd (not works) and back to polsat (sd) works


What with lirc support? It is commited to your Enigma? It would be very useful :)


@Seal,

[...]

2) please test with the todays git.


Edited by Seal, 17 December 2011 - 20:57.


Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #133 nobody9

  • Senior Member
  • 187 posts

+76
Good

Posted 17 December 2011 - 21:07

@Seal,
the lirc support are not commited you can add the patch switch to the enigma2 source directory
cd openpliPC/enigma2
patch -p1 < ../patches/enigma2_add_lirc_support.patch
make
sudo make install

what with lirc support? It is commited to your Enigma? It would be very useful :)


can you upload anyweare some minutes of ts stream. that i can test.

I tried today newest git and the problem is the same - on channels HD from Cyfrowy Polsat provider doesn't works...
I found on other forum that this is xine-lib issue because coguar_enigma cmpilation have this same issue with new xine-lib with older works...



Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #134 Seal

  • Member
  • 45 posts

+3
Neutral

Posted 17 December 2011 - 21:59

can you upload anyweare some minutes of ts stream. that i can test.



i send you to private mesg the link to the test stream (one minute).
second thing is that keyboard dont works alphanumeric - i cannot in setup inser text or recordings when i type text on screen see nothing :(

Edited by Seal, 17 December 2011 - 22:00.


Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #135 Seal

  • Member
  • 45 posts

+3
Neutral

Posted 17 December 2011 - 22:05

If you have problem with mouse coursor you can use app named 'unclutter' which hides cursor :)

This can be added to readme ;)

Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #136 1455

  • Senior Member
  • 404 posts

+10
Neutral

Posted 17 December 2011 - 22:10

Mpeg4-hd sample you can download from this page. Click "СКАЧАТЬ БЕСПЛАТНО" in the left window.

Mpeg4-sd sample:
eit
ts
cuts
meta
sc

GIT OpenPLi-PC_Python2

GIT OpenPLi-PC_Python3

 

 

 

 

 

 

 

 

 

 

 

 
 

 

 


Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #137 Seal

  • Member
  • 45 posts

+3
Neutral

Posted 17 December 2011 - 22:23

Here is log from vdr-sxfe with changing to channel Polsat HD - and this works well (yaVDR 0.4 with updates).

video_out_vdpau: overlay begin
video_out_vdpau: overlay[0] rle  unscaled  ycbcr  1024x729@0,0  extend 0x0  hili rect -1,-1--1,-1
video_out_vdpau: overlay[1] rle  unscaled  ycbcr  256x40@385,728  extend 0x0  hili rect -1,-1--1,-1
video_out_vdpau: overlay[2] rle  unscaled  ycbcr  255x40@641,728  extend 0x0  hili rect -1,-1--1,-1
video_out_vdpau: overlay[0] put ycbcr 0,0:1024,729
video_out_vdpau: overlay[1] create render surface 256x40
video_out_vdpau: overlay[1] put ycbcr 0,0:256,40
video_out_vdpau: overlay[2] create render surface 255x40
video_out_vdpau: overlay[2] put ycbcr 0,0:255,40
video_out_vdpau: overlay output 1024x768 -> 0,0:1024,768  video window 0,0:1024,768
video_out_vdpau: overlay init output surface 1024x768
video_out_vdpau: overlay[0] render 1024x729 -> 0,0:1024,729
video_out_vdpau: overlay[1] render 256x40 -> 385,728:641,768
video_out_vdpau: overlay[2] render 255x40 -> 641,728:896,768
video_out_vdpau: overlay begin
video_out_vdpau: overlay[0] rle  unscaled  ycbcr  1024x729@0,0  extend 0x0  hili rect -1,-1--1,-1
video_out_vdpau: overlay[1] rle  unscaled  ycbcr  256x40@385,728  extend 0x0  hili rect -1,-1--1,-1
video_out_vdpau: overlay[2] rle  unscaled  ycbcr  255x40@641,728  extend 0x0  hili rect -1,-1--1,-1
video_out_vdpau: overlay[0] put ycbcr 0,0:1024,729
video_out_vdpau: overlay[1] put ycbcr 0,0:256,40
video_out_vdpau: overlay[2] put ycbcr 0,0:255,40
video_out_vdpau: overlay output 1024x768 -> 0,0:1024,768  video window 0,0:1024,768
video_out_vdpau: overlay init output surface 1024x768
video_out_vdpau: overlay[0] render 1024x729 -> 0,0:1024,729
video_out_vdpau: overlay[1] render 256x40 -> 385,728:641,768
video_out_vdpau: overlay[2] render 255x40 -> 641,728:896,768
vdpau_set_property: property=0, value=0
vo_vdpau: deinterlace: none
video_out_vdpau: vo_vdpau: update_frame - destroy surface
video_out_vdpau: vo_vdpau: soft_surface size update
video_out_vdpau: vo_vdpau: update_frame - destroy surface
video_out_vdpau: overlay begin
video_out_vdpau: overlay[2] destroy render surface
video_out_vdpau: overlay[1] destroy render surface
video_out_vdpau: vo_vdpau: update_frame - destroy surface
video_out_vdpau: clear surface: 19
vdpau_set_property: property=0, value=1
vo_vdpau: deinterlace: temporal
video_out_vdpau: vo_vdpau: update_frame - destroy surface
video_out_vdpau: clear surface: 20
******** Missing refframes, dropping. nrf=3 lo=2 prefs=0 l1=1 brefs=2 type=1 (12 fps)
video_out_vdpau: vo_vdpau: update_frame - destroy surface
video_out_vdpau: clear surface: 13
******** Missing refframes, dropping. nrf=3 lo=2 prefs=0 l1=1 brefs=2 type=1 (12 fps)
******** Missing refframes, dropping. nrf=3 lo=2 prefs=0 l1=1 brefs=2 type=1 (12 fps)
video_out_vdpau: vo_vdpau: update_frame - destroy surface
video_out_vdpau: clear surface: 21
******** Missing refframes, dropping. nrf=3 lo=2 prefs=0 l1=1 brefs=2 type=1 (12 fps)
******** Missing refframes, dropping. nrf=3 lo=2 prefs=0 l1=1 brefs=2 type=1 (12 fps)
******** Missing refframes, dropping. nrf=3 lo=2 prefs=0 l1=1 brefs=2 type=1 (12 fps)
video_out_vdpau: vo_vdpau: update_frame - destroy surface
video_out_vdpau: clear surface: 18
video_out_vdpau: vo_vdpau: update_frame - destroy surface
video_out_vdpau: clear surface: 23
video_out_vdpau: vo_vdpau: update_frame - destroy surface
video_out_vdpau: clear surface: 30
video_out_vdpau: vo_vdpau: update_frame - destroy surface
video_out_vdpau: vo_vdpau: recreate mixer to match frames: width=1920, height=1080, chroma=0
video_out_vdpau: clear surface: 24
vo_vdpau: deinterlace: bob
vo_vdpau: set_scaling_level=0
vo_vdpau: enabled features: inverse_telecine=0
vo_vdpau: disable noise reduction.
vo_vdpau: disable sharpness.
vo_vdpau: vdpau_update_csc: hue=0.000000, saturation=1.000000, contrast=1.000000, brightness=0.000000, color_standard=1 studio_levels=0
vo_vdpau: skip_chroma = 1
vo_vdpau: background_color = 0
video_out_vdpau: vo_vdpau: update_frame - destroy surface
video_out_vdpau: clear surface: 12
video_out_vdpau: vo_vdpau: update_frame - destroy surface
video_out_vdpau: clear surface: 16
video_out_vdpau: vo_vdpau: update_frame - destroy surface
video_out_vdpau: clear surface: 10
video_out_vdpau: vo_vdpau: update_frame - destroy surface
video_out_vdpau: clear surface: 11
video_out_vdpau: vo_vdpau: update_frame - destroy surface
video_out_vdpau: clear surface: 26
video_out_vdpau: vo_vdpau: update_frame - destroy surface
video_out_vdpau: clear surface: 29
video_out_vdpau: vo_vdpau: update_frame - destroy surface
video_out_vdpau: clear surface: 28
video_out_vdpau: vo_vdpau: update_frame - destroy surface
video_out_vdpau: clear surface: 15
video_out_vdpau: vo_vdpau: update_frame - destroy surface
video_out_vdpau: clear surface: 25
video_out_vdpau: vo_vdpau: update_frame - destroy surface
video_out_vdpau: clear surface: 22
video_out_vdpau: vo_vdpau: update_frame - destroy surface
video_out_vdpau: clear surface: 31
video_out_vdpau: clear surface: 19
video_out_vdpau: clear surface: 32
video_out_vdpau: clear surface: 33
video_out_vdpau: clear surface: 34


Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #138 nobody9

  • Senior Member
  • 187 posts

+76
Good

Posted 17 December 2011 - 22:30

@seal,
at the moment only sms style works.

second thing is that keyboard dont works alphanumeric - i cannot in setup inser text or recordings when i type text on screen see nothing :(


@1455
the first link is a example of German Sky sports ?
German Sky provider works in HD without any problemms here.

The other TS-File i´m downloading at the moment.

Edited by nobody9, 17 December 2011 - 22:35.


Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #139 1455

  • Senior Member
  • 404 posts

+10
Neutral

Posted 17 December 2011 - 22:45

nobody9,

OK, i'll record other mpeg4-hd channels tomorrow.

GIT OpenPLi-PC_Python2

GIT OpenPLi-PC_Python3

 

 

 

 

 

 

 

 

 

 

 

 
 

 

 


Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #140 nobody9

  • Senior Member
  • 187 posts

+76
Good

Posted 17 December 2011 - 22:57

please pack all files in one archive
thanks

nobody9,

OK, i'll record other mpeg4-hd channels tomorrow.




4 user(s) are reading this topic

0 members, 4 guests, 0 anonymous users