I've been working on a project for a while now. I'm using a Rpi Zero W (yeah wifi!) for displaying content on a 9" screen. It will be placed at shops to show a video of a product. People can touch some metal pins (which are attached to capacitive sensors and mapped to keys of the keyboard) when that happens, i want the video to stop and show the info for that pin for a while before resuming with the looped video. Additionally, a pushbutton attached to the GPIO that sets the video to the beginning.
So: show a fullscreen video on a loop, nine different keys to trigger nine images that would be displayed for a time. (stopping the video and resuming after that time).
What i've tried:
Write a little script for omx player. Instad of images, have everything in one video, so that if one of the key is pressed, it just jumps to a specific time, some seconds later it jumps back to where the video was. The problem i encountered there was that i cant figure out how to change the time of omx player while the video is playing. I posted here about this issue. Still waiting for a response :(
Pi Presents. I can't figure out how to set triggers for displaying images in the middle of the video. I posted this question in what seems to be the most active forum
Write everything in html/css. This would be the best solution as i could easily program transitions, sadly i haven't found an efficient enough way for playing video on the Zero player, it just lags a lot...
Isn't there a Python library for media, in which i can combine Video and images?
Thanks in advance for any help!