Created
January 18, 2016 03:36
-
-
Save fabriziogiordano/f6e84035265efba4b0bd to your computer and use it in GitHub Desktop.
FIFO pmxplayer Raspberry PI
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| mkfifo /tmp/cmd | |
| omxplayer -ohdmi mymedia.avi < /tmp/cmd | |
| echo . > /tmp/cmd (Start omxplayer running as the command will initial wait for input via the fifo) | |
| echo -n p > /tmp/cmd - Playback is paused | |
| echo -n q > /tmp/cmd - Playback quits |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment