libavg has supported the Raspberry Pi for a while now. In the last few weeks, I set up a cross-compile toolchain: You compile libavg for the Raspberry Pi on a separate Linux machine. This means compiling is done in a few minutes (as opposed to an hour or more if you compile directly) – here are build instructions. Also, after a bugfix, we have full libavg functionality on the Pi. Video decoding, sadly, is still done in software, since the first two people that have tried implementing it have given up – I’ll see what I can do on that front.
Have you a solution to view videos on the Pi with the hardware decoder?
Hi guys, I am trying to follow the cross compile chain, but at the ./rpi-configure, it keeps saying cannot create c executable.. And very few solutions for it.. Any idees?? And how dies it look when it plays vid? Is there any other other library I can use?
The compiler needs to be the cross-compiler (located under rpi/rpi-tools/…), and the compiler flags need to be set up correctly. Check that you’ve set up
- The path to point to the crosscompiler,
- the ARCHFLAGS, and
- the symlinks to libm and libdl
correctly.
Also, you can look at config.log – there’s usually a clear error message in there. Grep for the error message you’re currently getting.