Author Topic: Where to store the background images  (Read 13634 times)

Offline MartenR

  • Hero Member
  • *****
  • Posts: 789
    • View Profile
Re: Where to store the background images
« Reply #15 on: October 03, 2012, 21:18:57 »
Most issues of this thread should now be closed. See recent git changes.

Marten

Offline Uwe

  • Full Member
  • ***
  • Posts: 22
    • View Profile
    • Email
Re: Where to store the background images
« Reply #16 on: October 03, 2012, 21:38:15 »
Most issues of this thread should now be closed. See recent git changes.

The new version in the git looks very nice. HD and SD so far worked without stuttering. :)

Many many thanks.

Uwe

Offline clausmuus

  • Full Member
  • ***
  • Posts: 125
    • View Profile
    • MLD
    • Email
Re: Where to store the background images
« Reply #17 on: October 04, 2012, 15:24:28 »
Hi,
I have problems with compiling the new version. I get this error message:
Code: [Select]
g++ -Wall -Wl,--format=binary -Wl,fonts/sourcesans.ttf -Wl,other/vdrhires.jpg -Wl,other/wallpaper720p.jpg -Wl,--format=default    -o vompclient  command.o  tcp.o dsock.o thread.o timers.o i18n.o message.o messagequeue.o udp.o wol.o audio.o video.o log.o  mutex.o vdr.o recman.o recording.o recinfo.o channel.o rectimer.o event.o directory.o mark.o option.o player.o playerradio.o vfeed.o afeed.o demuxer.o demuxervdr.o demuxerts.o stream.o region.o colour.o boxstack.o boxx.o tbboxx.o vinfo.o vquestion.o vrecordinglist.o vrecording.o vmute.o vvolume.o vtimerlist.o vtimeredit.o vrecordingmenu.o vchannellist.o vwelcome.o vvideorec.o vepgsettimer.o vchannelselect.o vserverselect.o vconnect.o vepg.o vrecmove.o vradiorec.o vaudioselector.o vscreensaver.o vopts.o wselectlist.o wjpeg.o wsymbol.o wbutton.o wtextbox.o woptionpane.o woptionbox.o wremoteconfig.o wtabbar.o fonts/helvB24.o fonts/helvB18.o remote.o led.o mtd.o  osd.o surface.o media.o vpicturebanner.o audioplayer.o demuxeraudio.o abstractoption.o eventdispatcher.o vdrrequestpacket.o vdrresponsepacket.o vvideolivetv.o vsleeptimer.o playerlivetv.o playerliveradio.o wprogressbar.o bitmap.o dvbsubtitles.o imagereader.o  mediaoptions.o mediaplayer.o serialize.o localmediafile.o   playermedia.o demuxermedia.o tfeed.o vteletextview.o teletextdecodervbiebu.o teletxt/txtfont.o mediafile.o  main.o threadp.o  osdvector.o surfacevector.o osdopenvg.o ledraspberry.o mtdraspberry.o videoomx.o audioomx.o wjpegsimple.o remotelinux.o    -L/home/nightbuild/nightbuild/MLD/vompclient/../vc/src/vc/lib -L/home/nightbuild/nightbuild/MLD/vompclient/src/libcec/install/usr/lib -lpthread -lrt -lEGL -lOpenVG -lopenmaxil -lbcm_host -lvcos -lvchiq_arm -lavformat -lavcodec -lavutil -lfreetype -lMagick++ -lMagickCore
/home/nightbuild/nightbuild/MLD/vompclient/../vc/src/vc/lib/libEGL.so: undefined reference to `glxx_client_CheckFramebufferStatus'
/home/nightbuild/nightbuild/MLD/vompclient/../vc/src/vc/lib/libEGL.so: undefined reference to `glxx_client_BindRenderbuffer'
/home/nightbuild/nightbuild/MLD/vompclient/../vc/src/vc/lib/libEGL.so: undefined reference to `glxx_client_DeleteFramebuffers'
/home/nightbuild/nightbuild/MLD/vompclient/../vc/src/vc/lib/libEGL.so: undefined reference to `glxx_set_error'
/home/nightbuild/nightbuild/MLD/vompclient/../vc/src/vc/lib/libEGL.so: undefined reference to `glxx_client_RenderbufferStorage'
/home/nightbuild/nightbuild/MLD/vompclient/../vc/src/vc/lib/libEGL.so: undefined reference to `glxx_client_state_free'
/home/nightbuild/nightbuild/MLD/vompclient/../vc/src/vc/lib/libEGL.so: undefined reference to `glPointSizePointerOES'
/home/nightbuild/nightbuild/MLD/vompclient/../vc/src/vc/lib/libEGL.so: undefined reference to `gl11_client_state_init'
/home/nightbuild/nightbuild/MLD/vompclient/../vc/src/vc/lib/libEGL.so: undefined reference to `glxx_client_GetFramebufferAttachmentParameteriv'
/home/nightbuild/nightbuild/MLD/vompclient/../vc/src/vc/lib/libEGL.so: undefined reference to `glDiscardFramebufferEXT'
/home/nightbuild/nightbuild/MLD/vompclient/../vc/src/vc/lib/libEGL.so: undefined reference to `glxx_set_error_api'
/home/nightbuild/nightbuild/MLD/vompclient/../vc/src/vc/lib/libEGL.so: undefined reference to `glxx_client_IsRenderbuffer'
/home/nightbuild/nightbuild/MLD/vompclient/../vc/src/vc/lib/libEGL.so: undefined reference to `glxx_buffer_info_set'
/home/nightbuild/nightbuild/MLD/vompclient/../vc/src/vc/lib/libEGL.so: undefined reference to `glxx_client_GenerateMipmap'
/home/nightbuild/nightbuild/MLD/vompclient/../vc/src/vc/lib/libEGL.so: undefined reference to `glxx_client_FramebufferTexture2D'
/home/nightbuild/nightbuild/MLD/vompclient/../vc/src/vc/lib/libEGL.so: undefined reference to `glxx_client_GetRenderbufferParameteriv'
/home/nightbuild/nightbuild/MLD/vompclient/../vc/src/vc/lib/libEGL.so: undefined reference to `glxx_client_IsFramebuffer'
/home/nightbuild/nightbuild/MLD/vompclient/../vc/src/vc/lib/libEGL.so: undefined reference to `glxx_client_GenRenderbuffers'
/home/nightbuild/nightbuild/MLD/vompclient/../vc/src/vc/lib/libEGL.so: undefined reference to `glxx_client_GenFramebuffers'
/home/nightbuild/nightbuild/MLD/vompclient/../vc/src/vc/lib/libEGL.so: undefined reference to `glxx_client_FramebufferRenderbuffer'
/home/nightbuild/nightbuild/MLD/vompclient/../vc/src/vc/lib/libEGL.so: undefined reference to `glintAttribPointer'
/home/nightbuild/nightbuild/MLD/vompclient/../vc/src/vc/lib/libEGL.so: undefined reference to `glxx_client_BindFramebuffer'
/home/nightbuild/nightbuild/MLD/vompclient/../vc/src/vc/lib/libEGL.so: undefined reference to `gl20_client_state_init'
/home/nightbuild/nightbuild/MLD/vompclient/../vc/src/vc/lib/libEGL.so: undefined reference to `glxx_buffer_info_get'
/home/nightbuild/nightbuild/MLD/vompclient/../vc/src/vc/lib/libEGL.so: undefined reference to `glxx_client_DeleteRenderbuffers'
collect2: ld returned 1 exit status
Maybe you use an other vc Version? I use the latest version (26.09.2012).

Claus
MLD - A Distribution also for the Raspberry PI

Offline MartenR

  • Hero Member
  • *****
  • Posts: 789
    • View Profile
Re: Where to store the background images
« Reply #18 on: October 04, 2012, 15:33:51 »
Hi,
I do not know which vc version I am currently using, but usually I update every weekend.
libEGL seems complain about missing opengl stuff, may be you have to include some opengl libs, which are fetched in my compiler setup automatically, just an idea.
Look at the last commit diff for possible names of the libs.

Btw. did you make a "make clean"?

Marten

Offline JTe

  • Full Member
  • ***
  • Posts: 81
    • View Profile
Re: Where to store the background images
« Reply #19 on: October 04, 2012, 18:27:18 »
If compiling on the Raspberry Pi itself in addition to the packages needed for the previous version (from the clean Raspbian installation), I needed to add the following:

Code: [Select]
sudo apt-get install libfreetype6-dev libmagick++-dev


Offline clausmuus

  • Full Member
  • ***
  • Posts: 125
    • View Profile
    • MLD
    • Email
Re: Where to store the background images
« Reply #20 on: October 05, 2012, 13:56:15 »
Hi,

I have found the reason for my compile problem. You have removed the linker option "-lGLESv2", but that is needed. Maybe it is defined in your cross compile enviroment,... But I need it.
So, after I readd this, I can compile the vompclient without further problems.

Claus
MLD - A Distribution also for the Raspberry PI

Offline MartenR

  • Hero Member
  • *****
  • Posts: 789
    • View Profile
Re: Where to store the background images
« Reply #21 on: October 05, 2012, 13:59:57 »
That is what I assumed, btw. maybe opengl version 1 should be sufficient.
I am not using a cross compiler, I compile directly on the raspbian os, probably ld on raspbain is smart enough to add opengl lib.

Marten

Offline clausmuus

  • Full Member
  • ***
  • Posts: 125
    • View Profile
    • MLD
    • Email
Re: Where to store the background images
« Reply #22 on: October 05, 2012, 14:21:22 »
Hi,

I'm also compile on a raspian os (in QEMU).

Claus
MLD - A Distribution also for the Raspberry PI

Offline clausmuus

  • Full Member
  • ***
  • Posts: 125
    • View Profile
    • MLD
    • Email
Re: Where to store the background images
« Reply #23 on: October 05, 2012, 20:01:34 »
Hi,

does the actual version should also show the background Image? I ask, because I see that that will be included in the makefile, but I do not see the bg image on the RPI.

Claus
MLD - A Distribution also for the Raspberry PI

Offline MartenR

  • Hero Member
  • *****
  • Posts: 789
    • View Profile
Re: Where to store the background images
« Reply #24 on: October 06, 2012, 10:00:39 »
Yes it should display the background image and also the VDR logo

Marten

Offline clausmuus

  • Full Member
  • ***
  • Posts: 125
    • View Profile
    • MLD
    • Email
Re: Where to store the background images
« Reply #25 on: October 06, 2012, 10:04:26 »
Hi,

do you have any idea, how I can debug this, to find the reason, why I don't see the images? Or do you know, if there is any library that is needed but not seen by the ldd command?

Claus
MLD - A Distribution also for the Raspberry PI

Offline MartenR

  • Hero Member
  • *****
  • Posts: 789
    • View Profile
Re: Where to store the background images
« Reply #26 on: October 06, 2012, 10:06:28 »
First you should post a log file....

Offline MartenR

  • Hero Member
  • *****
  • Posts: 789
    • View Profile
Re: Where to store the background images
« Reply #27 on: October 06, 2012, 10:49:56 »
May be your imagemagick has no jpeg support.

Marten

Offline clausmuus

  • Full Member
  • ***
  • Posts: 125
    • View Profile
    • MLD
    • Email
Re: Where to store the background images
« Reply #28 on: October 06, 2012, 16:22:33 »
The problem was a missing lib.

Now I have a new wish. Is it possible to show a "no signal" picture, if there is nothing to show, and not only the blue screen? I want to show the MLD Logo in this case, like I do it with xineliboutput.

Claus
MLD - A Distribution also for the Raspberry PI

Offline MartenR

  • Hero Member
  • *****
  • Posts: 789
    • View Profile
Re: Where to store the background images
« Reply #29 on: October 06, 2012, 16:29:18 »
No it is not easily possible, the background layer is just one pixel, so you can choose the color, if you wish.

There is no drawing system in vomp handling this layer.
For handling drawing also on this layer and not only the osd layer,
 I have to rewrite the whole drawing system to also draw on the background layer..... and this is too much work.
Alternatively, a no signal mpg can be put on the video layer but also this needs major changes to the video streaming code....


Marten