5,710
edits
Changes
→Video Playback
== Video Playback ==
*[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.
*The commands*omxplayer comes pre-installed on our raspbian distribution. *Controlling omxplayer hotkey referencewith hotkeys:
**http://elinux.org/Omxplayer#Hotkeys
*Try it out, by hand.
**Copy a movie file to your raspberry pi using scp.
**movie needs to be mp4 format.
***you can transcode with ffmpeg:
****<code>ffmpeg -i mouse_brain.wmv mouse_brain.mp4</code>
**run omxplayer and try hotkey controls
***<code>omxplayer ~/Movies/mouse_brain.mp4<code>
**notice responsiveness.
*We will send those via STDIN in python:
**http://stackoverflow.com/questions/12755968/sending-arrow-keys-to-popen
===ffmpeg===
*install homebrew
*<code>brew install ffmpeg</code>
== Scripting Video Playback ==