Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4997

Graphics, sound and multimedia • RPi to show pic until button pressed then show video

$
0
0
This should be simple, but I'm running into a constant loop.

I would like to do this on a RPi5:

On program start:

open a picture in fullscreen mode and keep it open until a button is pressed. at the button press, turn on an LED and play a video. When the video is over, turn off the LED and go back to the starting picture (start of the code) so that the process starts over again for the next user. It would be nice if the media player could do this seamlessly. The picture is a still of the first and last frame of the video.

Seems super easy, but I'm struggling because I'm new to this, but I need this for a project. Any help is VERY appreciated.

Tim

Statistics: Posted by alfordtp — Fri Jan 17, 2025 1:44 am



Viewing all articles
Browse latest Browse all 4997

Trending Articles