How do you play video on a raspberry pi ? I have my sound working but cannot find a way to play video. Also which format does the video have to be? I'm using a Debian squeeze.
andy33
How to play video on a Pi ?
12 posts
- Posts: 16
- Joined: Fri Jul 06, 2012 12:42 pm
omxplayer
- Posts: 153
- Joined: Tue May 15, 2012 6:06 am
Do you install omxplayer via the cli or through the guy and then how do you start it? I have tried installing via get-apt and it seemed to install ok, but I can't get it to start!
- Posts: 16
- Joined: Fri Jul 06, 2012 12:42 pm
Recommended is to install Wheezy, which has omxplayer installed by default:
http://www.raspberrypi.org/archives/1435
http://www.raspberrypi.org/archives/1435
- Moderator
- Posts: 3229
- Joined: Wed Aug 17, 2011 7:41 pm
- Location: Cambridge
andy33 wrote:How do you play video on a raspberry pi ? I have my sound working but cannot find a way to play video. Also which format does the video have to be? I'm using a Debian squeeze.
andy33
As dom said, for a beginner, it is easiest to get omxplayer by switching to Wheezy beta. Once you have it installed, the only formats you can play are H264 or Xvid (with any container, I believe)
{sig} Setup: Original version Raspberry Pi (B, rev1, 256MB), Dell 2001FP monitor (1600x1200), 8GB Class 4 SD Card with Raspbian and XBMC, DD-WRT wireless bridge
- Posts: 514
- Joined: Wed Jan 25, 2012 9:06 pm
And once you've got it on Wheezy, go to the folder where your H.264 mp4 files are and type...
...where -o hdmi directs the sound to the HDMI on the TV
- Code: Select all
omxplayer -o hdmi /path/to/filename.mp4
...where -o hdmi directs the sound to the HDMI on the TV
I have now got wheezy running but I cannot find the omxplayer! Do I have to install it?
- Posts: 16
- Joined: Fri Jul 06, 2012 12:42 pm
you shouldn't need to find it. Just type 
- Code: Select all
omxplayer
Thanks guys I now have it playing hd video with sound. I installed omxplayer on squeeze with help from the latest issue of The MagPi. http://www.themagpi.com/
- Posts: 16
- Joined: Fri Jul 06, 2012 12:42 pm
Hi! I've followed andy's link to the magazine website and I followed the instructions to downloading omxplayer but nothing happens! I'm new to all this kind of stuff and I'm doing my best to teach myself using YouTube and these forums but it's painfully slow! Any easily explained help welcome please! Thank you. Paul
- Posts: 1
- Joined: Fri Dec 21, 2012 11:14 pm
Rasbmc,you will need to download a new OS.Go to website:www.rasbmc.com
- Posts: 2
- Joined: Sun Dec 23, 2012 10:40 am
I kicked the following:
Looks cool! You do not even need to have the GUI started (no startx)
- Code: Select all
# omxplayer MyMovie.avi
Looks cool! You do not even need to have the GUI started (no startx)
- Posts: 5
- Joined: Wed Apr 17, 2013 6:07 pm