libavg development team has recently announced a beta port of their multimedia library to the Raspberry Pi. libavg is a high-level development platform for media-centric applications using Python as scripting language and written in C++. I came to know this platform as I tried Xibo Digital Signage, and I tested it on ARM platforms. Up to know this would only work using software rendering/decoding, and everything was painfully slow on ARM, but libavg developers are now making use of OpenGL ES to boost graphics speed. More work is needed, and they intend to eventually support features such as hardware video decoding (OpenMAX possibly via gstreamer) and compressed textures. Installing libavg on Raspberry Pi. Pre-built packages are available for Raspberry, so installation is pretty straight forward:
1 2 3 4 5 |
sudo apt-get install libxml2 libpango1.0-0 librsvg2-2 libgdk-pixbuf2.0-0 \ libavcodec53 libavformat53 libswscale2 libboost-python1.49.0 \ libboost-thread1.49.0 libsdl1.2debian libxxf86vm1 wget https://www.libavg.de/site/attachments/download/190 -O libavg-raspberry.tar.bz2 sudo tar -C /usr/local -xjf libavg-raspberry.tar.bz2 |
Running Samples Apps 32 samples are located in /usr/local/lib/python2.7/dist-packages/libavg/samples/ directory, and they rely on X11, so first start LXDE:
1 |
startx |
Open a serial console (LXTerminal) […]