Raspberry Pi Adventures

Join me on my fun ride

Raspberry Pi and OMXPlayer

Leave a comment

Hi All,

I have installed OMXPlayer using

sudo apt-get install omxplayer

right click any video file > open with and i just typed in omxplayer the the box
and file started playin in fullscreen but there is no control i have to watch the video forcibly till the end, the playback is real smooth though.

Audio comes from the Audio Jack not via HDMI there might be some configs but i havent explored it much.

Edit After a little bit of more tinkering

Everything is run from console now.

To use omxplayer, the system must allocate at least 64MB of RAM for the GPU. Run the script and make sure there is a 192/64 Mb of RAM split between the system and GPU. A split of 128/128 can also be used:
$ sudo rpi-update 192
$ sudo reboot

Help
omxplayer --help
Options :
-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

To Play File
$omxplayer Filename.mp4

Keys To Control Playback
Arrow Keys : Move ahead and back
Space : Pause
Q : Quit to console

Reference
Building Omxplayer for Raspbian on the Raspberry Pi
Building Omxplayer for Debian on the Raspberry Pi
Raspberry Pi • View topic – Omxplayer and subtitles

Advertisements

Author: Sanket Sonavane

Sanket Sonavane Software Developer, IoT Enthusiast, Photographer, Bike Rider, Chef, AndroidUser, MacOSXNewbie & 3x3x3 Cuber ;) Loves computers, programming, web developement, micro-controllers, gadgets, automation and many more such tech innovations that defines the way we live in the modern age and likes to explore what more can be done to help the human race :)

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s