Like a lot of other folk it seems I am working on a video looper for a gallery installation.
I have the pis fitted with on/off switches so that the gallery people can turn them on easily and am loading softshut.py and the
video looping code from start up by modifying /etc/rc.local
That all works fine, video loads, looks good, one or two of the pis freeze occasionally which is a bit of a pain but no disaster.
BUT
I can't get out of the loop, so now - when I would just like to swap the video files for one which has been edited slightly differently - I can't get into anything. (actually the command line still operates behind the video, but I can't see anything)
I am using this code - which seems like the most lightweight option of the solutions I have seen:
#!/bin/sh
# get rid of the cursor so we don't see it when videos are running
setterm cursor off
# set here the path to the video
VIDEOPATH=“/home/pi/video/video.mp4"
# you can normally leave this alone
clear
omxplayer --loop --no-osd $VIDEOPATH > /dev/null
I think the problem is that the way I have done this I am not logged in to the pi by the time it is running the video, but even if I log in while the video is running I don't seem to be able to break out of the code.
any ideas?
I have tried the things suggested here with no luck: viewtopic.php?f=29&t=80178