# Playing video on Raspberry PI

**URL:** <https://forums.balena.io/t/playing-video-on-raspberry-pi/1545>\
**Category:** Product support\
**Tags:** raspberrypi3, docker\
**Created:** [July 29, 2017, 9:18am UTC](https://forums.balena.io/t/playing-video-on-raspberry-pi/1545 "2017-07-29T09:18:08Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Michael](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/michael/32/521_2.png) [@Michael](https://forums.balena.io/u/Michael)\
**Post date:** [July 29, 2017, 9:18am UTC](https://forums.balena.io/t/playing-video-on-raspberry-pi/1545/1 "2017-07-29T09:18:08Z")

</div>

I can’t make video play on Raspberry Pi running resinOS.

I have compiled “hello\_video” player from raspbian jessie lite, put it along with a sample video into repository and created a bash oneliner to play the video in a loop.

The log shows that my bash script is started (I see “Starting the player loop…” echoing from my bash-script dockerfile entrypoint), but then nothing happens on the screen.

Here’s the repo: [https://github.com/mvasin/rpi\_hello\_video](https://github.com/mvasin/rpi_hello_video)

---

<div class="post-metadata">

**Author:** ![shaunmulligan](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/shaunmulligan/32/34_2.png) [@shaunmulligan](https://forums.balena.io/u/shaunmulligan)\
**Post date:** [July 29, 2017, 9:37am UTC](https://forums.balena.io/t/playing-video-on-raspberry-pi/1545/2 "2017-07-29T09:37:05Z")

</div>

Hey @Michael, I see that your binary relies on `bcm_host.h` existing in the file system, can you check that this is there? It might be that you need to install `libraspberrypi-bin` and/or `libraspberrypi0` via apt-get.

Also if you use the webterminal and launch your binary from there, do you get more informative errors? Oh and one other thought, have you upped the about of RAM partitioned for the GPU? by default we set this to 16MB, which is often too little for GPU based stuff. You can see docs on increasing this here: [https://docs.resin.io/configuration/advanced/#modifying-config-txt-remotely-](https://docs.resin.io/configuration/advanced/#modifying-config-txt-remotely-)

---

<div class="post-metadata">

**Author:** ![Michael](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/michael/32/521_2.png) [@Michael](https://forums.balena.io/u/Michael)\
**Post date:** [July 29, 2017, 4:04pm UTC](https://forums.balena.io/t/playing-video-on-raspberry-pi/1545/3 "2017-07-29T16:04:34Z")

</div>

Thank you, @shaunmulligan! Changing RAM partitioned for the GPU to 75MB did the trick!

---

<div class="post-metadata">

**Author:** ![shaunmulligan](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/shaunmulligan/32/34_2.png) [@shaunmulligan](https://forums.balena.io/u/shaunmulligan)\
**Post date:** [July 29, 2017, 4:21pm UTC](https://forums.balena.io/t/playing-video-on-raspberry-pi/1545/4 "2017-07-29T16:21:44Z")

</div>

Awesome, glad to hear @Michael
