gstreamer-1.0 plugin for videosink without X

Sebastian Dröge sebastian at centricular.com
Tue Jun 21 06:28:31 UTC 2016


On So, 2016-06-19 at 21:04 +0200, Marco Trapanese wrote:
> [...]

In general, make sure to compile gst-plugins-bad (and libgstgl in
there) without X11/GLX support and only EGL/DispManX support. Then it
will work without X11, and especially the X11 GL support on the RPi is
complete software based and you don't want to use it :)

> In the meanwhile I'm recompiling all from git sources which are more
> recent than tar.gz file and have fixed some issues.
> After compiling gstreamer, plugins base/good I tried to compile gst-
> omx in this way:
> 
> ./configure --prefix=/usr --sysconfdir=/etc --with-omx-header-
> path=/opt/vc/include/IL --with-omx-target=rpi CPPFLAGS="-
> I/tmp/src/gst-plugins-bad/gst-libs -I/opt/vc/include/
> -I/opt/vc/include/interface/vcos/pthreads/
> -I/opt/vc/include/interface/vmcs_host/linux/"
> 
> but the building fails:
> 
> [lot of similar warnings]
> testegl.c:1383:5: warning: nested extern declaration of
> ‘glDetachShader’ [-Wnested-externs]
> testegl.c:1392:5: warning: implicit declaration of function
> ‘glDeleteProgram’ [-Wimplicit-function-declaration]
>      glDeleteProgram (state->program);
>      ^
> testegl.c:1392:5: warning: nested extern declaration of
> ‘glDeleteProgram’ [-Wnested-externs]

Can you file a bug about this? Looks like a problem with the build
system for the example application.

https://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer

> testegl-testegl.o: In function `open_ogl':
> /tmp/src/gst-omx/examples/egl/testegl.c:1425: undefined reference to
> `bcm_host_init'
> [...]

Also these. It would have to link with -lbcm_host.

-- 

Sebastian Dröge, Centricular Ltd · http://www.centricular.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160621/a9c7680c/attachment-0001.sig>


More information about the gstreamer-devel mailing list