-
-
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
This file contains 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
#!/bin/bash | |
omxplayer --loop --vol -1300 -o asla /home/pi/twinkle-long.mp3 | |
# omxplayer --loop --vol -1300 -o asla /home/pi/twinkle-long.mp3 & |
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
https://www.raspberrypi.org/documentation/usage/audio/#:~:text=The%20simplest%20way%20of%20playing,described%20in%20more%20detail%20here.&text=This%20will%20play%20the%20audio,connected%20via%20the%20headphone%20jack.