chuco61
Posts: 37
Joined: Thu Aug 08, 2013 3:55 am

Video output with push button advance

Thu Aug 08, 2013 4:00 am

Hi,

I am a super noob and just bought my first Raspberry Pi B.

I am working on an art project where i have several avi video clips each 10 seconds in length. I want the user to be able to press on a push-button switch to advance to the next clip. I dont need any UI that the user will work with; simply push a button to view the next slide. Ideally i'd like to have the clips displayed through a projector.

Where do i start? I am here to learn!

Thanks in advance, im super stoked to start working with this new toy!! :D

PiGraham
Posts: 3971
Joined: Fri Jun 07, 2013 12:37 pm
Location: Waterlooville

Re: Video output with push button advance

Thu Aug 08, 2013 5:38 am

http://omxplayer.sconde.net/

Omxplayer works with keyboard controls.

If you don't want a normal keyboard you could wire a few buttons to the controller board from a usb keyboard, or use gpio-keys to generate keyboard input from gpio inputs connected to buttons.
I'm not sure what constitutes "next chapter".

KenT
Posts: 758
Joined: Tue Jan 24, 2012 9:30 am
Location: Hertfordshire, UK
Contact: Website

Re: Video output with push button advance

Thu Aug 08, 2013 5:54 am

Pi Presents, see sig. Use mediashow with progress=manual Wire a button between the Next/Down GPIO input and 0 volts. Advancing from GPIO is all programmed into the application. You can get rid of the Loading... messages by editing resources.cfg
Pi Presents - A toolkit to produce multi-media interactive display applications for museums, visitor centres, and more
Download from http://pipresents.wordpress.com

chuco61
Posts: 37
Joined: Thu Aug 08, 2013 3:55 am

Re: Video output with push button advance

Thu Aug 08, 2013 3:46 pm

wow!

Both of these options look really helpful. I think im going to play with the Pi Presents later this evening.

Thanks a lot! :P

chuco61
Posts: 37
Joined: Thu Aug 08, 2013 3:55 am

Re: Video output with push button advance

Fri Aug 09, 2013 11:47 pm

This Pi Presentation looks amazing as i am reading the manual and readme.

Since im so new to this, do i first need to load Raspbian onto my RPi as an operating system, then load in pi presentation as i would any other application?

Thanks again for the help and the "hand holding" :?:

Return to “Beginners”