I'm new to Raspberry Pi. I am trying to develop a media player that would use a library like libvlc to do the decoding. Now the problem is that I can't get the hardware acceleration going...

I have read a lot on the internet and but no one seems to really know.

Has anyone got it working? Could you please share how?

Solution: I have successfully compiled VLC with hardware acceleration on Raspberry and posted a tutorial on my blog! For all interested here's the link: VLC hw on Pi tutorial

  • What is the question specifically? Have we got what working? there is allot of hardware acceleration for allot of various things. Allot of encoding/decoding is done using hardware, there is also OpenGLES.. What are you asking abooot?
    – Piotr Kula
    Commented Oct 29, 2012 at 11:04
  • The omxplayer is a popular command line media player on the pi, and does support hardware acceleration. Maybe a starting point?
    – Frepa
    Commented Oct 30, 2012 at 19:31
  • Adding to @Frepa's point. OMXPlayer is open source so should be useful to have a look at
    – Jivings
    Commented Oct 31, 2012 at 8:02
  • This is great. H/W acceleration is the only reason I use omxplayer. Looks like I can ditch it now :) Commented Oct 19, 2013 at 5:00
  • 1
    One small suggestion. You could post the solution here as an answer ;)
    – Mauker
    Commented May 18, 2015 at 13:33

2 Answers 2


If you would like to learn about OpenGL ES used on Raspberry Pi here is a interactive walk through with examples.

You can find out more about OpenGL at opengles-book

That can be useful for the GUI and at the moment you do not need X to run them (in some ways nice but in other not nice)

You would also need to implement hardware decoding video using the available (and if licensed options) spoken about on the charities site.


I would recommend OpenElec. It's an open source media player distribution and works very well out of the box on a 256MB Model B RasPi, able to play media files from a USB key or over a network.

There are installation images (and source code) available from the website and there is a RasPi compatible image available by automatic download with BerryBoot (multi-image bootloader). Very easy to configure and a makes a great starting point for development of either your own system or a module within OpenElec itself.

  • Does OpenElec support functions such as synchronizing video on mulitple nodes (raspis), audio visualizations and running in slave mode (ie. ssh in, or remotely issue commands to run on main screen)
    – puk
    Commented Oct 18, 2013 at 4:46
  • I think there are some existing visualization modules and I suppose you could find / write modules/hacks for the rest. The main advantages are that it's configured as a HTPC straight out of the box and there are a lot of existing modules you can leverage Commented Jan 29, 2014 at 3:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.