Skip to content

Instantly share code, notes, and snippets.

@rveitch
Forked from cpmpercussion/loop_pi_video.sh
Last active November 23, 2020 21:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rveitch/7bbb68335d7c7a3b048d0b9eba50caa1 to your computer and use it in GitHub Desktop.
Save rveitch/7bbb68335d7c7a3b048d0b9eba50caa1 to your computer and use it in GitHub Desktop.
omxplayer command to loop a video forever for use in video art exhibitions
#!/bin/bash
omxplayer --loop --vol -1300 -o asla /home/pi/twinkle-long.mp3
# omxplayer --loop --vol -1300 -o asla /home/pi/twinkle-long.mp3 &
@rveitch
Copy link
Author

rveitch commented Nov 23, 2020

@rveitch
Copy link
Author

rveitch commented Nov 23, 2020

@rveitch
Copy link
Author

rveitch commented Nov 23, 2020

@rveitch
Copy link
Author

rveitch commented Nov 23, 2020

image

@rveitch
Copy link
Author

rveitch commented Nov 23, 2020

Find out what card the DAC is by running: aplay -l then plumb that into omxplayer: -o alsa:hw:0,0 where the numbers are -o alsa:hw:<CARD>,<DEVICE>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment