So one of the first things I was very interested in the Raspberry Pi doing was running 1080p videos. All that power coming from one little controller, I couldn’t believe it. So here is my success story of how I got my new raspberry pi to run 1080p videos right after installing Debian onto it.
Here is a video of my working success:
- SanDisk 8GB microSD
- Raspberry Pi
- Standard Series HDMI to DVI Cable
- PC – with Windows or Linux
- 1080p video
- 1080p TV screen/Monitor ( I recommend Samsung 40 “LED 1080P HDTV)
There are a few different tools I found that play back HD content. The one I chose to use was called Omxplayer. From a terminal window lets install all the prerequisite applications first.
sudo apt-get install libpcre3-dev libpcrecpp0 libva-dev libva-x11-1 libva1
After some amount of time it will finish and then next we need to install the omxplayer.
After it’s downloaded unzip it and install
sudo dpkg -i omxplayer_0.0.1-arm.deb
And that’s it!!
Playing a movie
The last part of the tutorial will be playing a movie and how to call and use the omxplayer. Make sure you have a movie file i’m using an episode of friends that is located on a flash drive (extension MKV), many other extensions work too. Here is a list of all the omxplayer options and a general how to use them.
pi@raspberrypi:~$ omxplayer –help
Usage: omxplayer [OPTIONS] [FILE]
-h / –help print this help
-a / –alang language audio language : e.g. ger
-n / –aidx index audio stream index : e.g. 1
-o / –adev device audio out device : e.g. hdmi/local
-i / –info dump stream format and exit
-s / –stats pts and buffer stats
-p / –passthrough audio passthrough
-d / –deinterlace deinterlacing
-w / –hw hw audio decoding
-3 / –3d switch tv into 3d mode
-y / –hdmiclocksync adjust display refresh rate to match video
-t / –sid index show subtitle with index
-r / –refresh adjust framerate/resolution to video
For me i’m going to use my HDMI to DVI cable to output video and standard 3.5mm for audio output. So i’m going to use the command.
sudo omxplayer -o local /My/Folder/MyVideoFileName.videoextension
If I was wanting to send my audio through the HDMI cable I would call something like this.
sudo omxplayer -o hdmi /MyFolder/MyVideoFileName.videoextension
And that’s it, your 1080p Video will now run!! Please feel free to check out my other blogs or leave questions and comments below.