I made a script to run video's with omxplayer
using omxd
:
sudo service stop omxd
sleep 0.5
sudo service start omxd
sleep 0.5
omxd X
omxd h
omxd O --blank
omxd O --no-osd
VIDEOPATH='/home/pi/videos"
for entry in $VIDEOPATH/*
do
clear
echo A $entry > /var/run/omxctl
done
This works well, it does loop all the videos in $VIDEOPATH
, however; between the video's theres a gap where it closes the player and starts a new one with the next video. Because of this you will see the desktop/terminal windows between the video's.
The display will be shown in a store, therefor it is not very nice to have this visible between the videos.
Is there any way to have this more seamless? Or any ways to hide the gap between the video's?