afourastro
Posts: 2
Joined: Fri Feb 01, 2013 4:01 pm

Video Player Project - NEED HELP!!

Fri Feb 01, 2013 4:16 pm

I am trying to play a playlist of 10 short 2-3 second clips and loop. I want to play file1.xxx, then stop playback, then when instructed to play file2.xxx it plays and so on then loops back to file1.xxx. The catch is I need the execution of the playback to come from the GPIO. For instance Closure of pin 1 and 2 would execute the playback. I am guessing a closure of 500ms would be enough to kick the video to play. This would happen over and over. Any Ideas, SUPER NOOB here!

Thanks

afourastro
Posts: 2
Joined: Fri Feb 01, 2013 4:01 pm

Re: Video Player Project - NEED HELP!!

Sat Feb 02, 2013 2:28 pm

After a bunch of reading it looks like the video player does not support playlist.
More information...

i have a device external to the rpi that has a GPIO interface which is a simple open/close circuit. I was thinking I could take GPI OUT 1 from that device to GPI IN 17 on the rpi and then GND (or a GPI OUT not sure) from the rpi to GPI IN 1 on the external device. This would complete the circuit when the external device closes and tell the video player to play file1.xxx

This seems a lot like a button push program. I see a lot of people using the outs to light up stuff, but not many to control software on the rpi. Any thing will help.

Thanks

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

Re: Video Player Project - NEED HELP!!

Mon Feb 04, 2013 10:32 pm

Try Pi Presents

https://github.com/KenT2/pipresents

set up a repeating mediashow with manual progress. Use resources.cfg to get rid of the annoying messages.

Use the next button to trigger each video. The 'button' is just a pin on the GPIO which you should connect to gnd to trigger the video.

The time lag before the video starts could be a problem.
Pi Presents - A toolkit to produce multi-media interactive display applications for museums, visitor centres, and more
Download from http://pipresents.wordpress.com

Return to “Graphics, sound and multimedia”