https://elinux.org/api.php?action=feedcontributions&user=Gimli&feedformat=atomeLinux.org - User contributions [en]2024-03-29T13:40:54ZUser contributionsMediaWiki 1.31.0https://elinux.org/index.php?title=Omxplayer&diff=154982Omxplayer2012-07-27T11:21:41Z<p>Gimli: </p>
<hr />
<div>[[Category:RaspberryPi]]<br />
<br />
[https://github.com/huceke/omxplayer Omxplayer] is a video player specifically made for the Raspberry PI's GPU made by Edgar (gimli) Hucek from the XBMC project.<br />
<br />
RaspberryPI forum user spenning made precompiled binaries available on the forum see [http://www.raspberrypi.org/phpBB3/viewtopic.php?f=2&t=5543 here].<br />
<br />
== Troubleshooting ==<br />
=== No rights to VCHIQ ===<br />
On bare installations of the default distributions Omxplayer often has insufficient permissions to access /dev/vchiq. One solution would be to run omxplayer as root, but a nicer solution is to add a udev rule so that /dev/vchiq is also accessible from other users. To accomplish this, do the following under root:<br />
<pre><br />
# echo 'SUBSYSTEM=="vchiq",GROUP="video",MODE="0660"' > /etc/udev/rules.d/10-vchiq-permissions.rules<br />
</pre><br />
Now add yourself to the group named 'video':<br />
<pre><br />
# usermod -aGvideo USERNAME<br />
</pre><br />
Reboot the Raspberry and you should be able to run omxplayer without the vchiq-error showing up.<br />
<br />
=== HDMI ===<br />
When using HDMI make sure to pass '-o hdmi' to omxplayer if you want the audio to playthrough the HDMI cable:<br />
<pre><br />
omxplayer -o hdmi videofile.mp4<br />
</pre><br />
<br />
<br />
===Helpful Links===<br />
* [http://www.brianhensley.net/2012/07/how-to-get-1080p-videos-running-on-my.html?spref=fb Successful Raspberry Pi 1080p blog, Start->Finish]<br />
* [http://www.brianhensley.net/2012/07/how-to-get-debian-working-on-my.html How to install Debian Raspberry Pi]<br />
<br/><br />
<br/></div>Gimli