Dispmanx based sample player using GstPlayer
munezbn / dispmanx-gst-play Goto Github PK
View Code? Open in Web Editor NEWDispmanx based sample player using GstPlayer
License: MIT License
Dispmanx based sample player using GstPlayer
License: MIT License
Hi,
I was testing big buck bunny which comes with the pi. If you toggle full screen, the screen goes black.
$ GST_DEBUG=3 ./dispmanx-gst-play --interactive /opt/vc/src/hello_pi/hello_video/test.h264
Press F
Hi,
Thanks for this example :)
I'm running this under gst-uninstalled on raspbian jessie and have the .pc files for EGL and dispmanx, installed.
After running ./autogen.sh && make
it says it can't find them:
$ make -j4
make all-recursive
make[1]: Entering directory '/home/pi/dispmanx-gst-play'
Making all in dispmanx
make[2]: Entering directory '/home/pi/dispmanx-gst-play/dispmanx'
CC dispmanx-gst-play.o
CC dispmanx-window.o
CC gst-play-kb.o
In file included from dispmanx-window.c:28:0:
dispmanx-gst-play.h:27:21: fatal error: EGL/egl.h: No such file or directory
#include <EGL/egl.h>
^
In file included from dispmanx-gst-play.c:34:0:
dispmanx-gst-play.h:27:21: fatal error: EGL/egl.h: No such file or directory
#include <EGL/egl.h>
^
compilation terminated.
compilation terminated.
Makefile:405: recipe for target 'dispmanx-window.o' failed
make[2]: *** [dispmanx-window.o] Error 1
make[2]: *** Waiting for unfinished jobs....
Makefile:405: recipe for target 'dispmanx-gst-play.o' failed
make[2]: *** [dispmanx-gst-play.o] Error 1
make[2]: Leaving directory '/home/pi/dispmanx-gst-play/dispmanx'
Makefile:400: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/pi/dispmanx-gst-play'
Makefile:331: recipe for target 'all' failed
make: *** [all] Error 2
I can manually give it the location by setting CFLAGS from pkg-config:
CFLAGS=$(pkg-config --cflags --libs egl) ./configure && make -j4
...But it would be great if it could find these without this step.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.