zpaker34
Posts: 1
Joined: Thu Feb 18, 2016 2:21 pm

Looping

Thu Feb 18, 2016 2:25 pm

Is there a way to loop videos on the omxplayer?

elatllat
Posts: 1337
Joined: Sat Dec 17, 2011 5:05 pm

Re: Looping

Thu Feb 18, 2016 5:07 pm

As noted here:
https://github.com/popcornmix/omxplayer
you can;

Code: Select all

omxplayer --loop file.mp4
but "Loop file [is] Ignored if file not seekable" so in that case you can;

Code: Select all

while true ; do omxplayer file.mp4; done
SBC with 32GB RAM: https://hardkernel.com

FAQ : https://raspberrypi.stackexchange.com

Unanswered: https://www.raspberrypi.org/forums/search.php?search_id=unanswered

Return to “Troubleshooting”