Created
July 15, 2016 08:31
-
-
Save cpmpercussion/607e7fd5ad1f5b1cf4fc76950e6bcd13 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 | |
# This one-liner script plays a video in an infinite loop on a raspberry pi | |
# for a video-art exhibition. | |
# It was written for a video in portrait orientation so the video is rotated 270 | |
# to use up the whole screen (which was also rotated). | |
# Charles Martin, July 2016 | |
omxplayer -o local --loop /home/pi/video.mp4 --orientation 270 |
Okay I finally figured out how to loop a video seamlessly with no break, cut, terminal, anything. There is no delay between loops. This was a long process for me but isn't too difficult if someone wants to know how to do it let me know! (no sound just video)
I would also like to know.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I would like to know.