Skip to content

Instantly share code, notes, and snippets.

@fabriziogiordano
Created January 18, 2016 03:36
Show Gist options
  • Select an option

  • Save fabriziogiordano/f6e84035265efba4b0bd to your computer and use it in GitHub Desktop.

Select an option

Save fabriziogiordano/f6e84035265efba4b0bd to your computer and use it in GitHub Desktop.
FIFO pmxplayer Raspberry PI
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