Page 1 of 1

new user with programming question

Posted: Thu Nov 13, 2014 6:56 pm
by djwatson23
Hi,
I have purchased the pi B+ and was able to boot it up. Aside from that, i'm unsure where to start next:)
I am trying to use the pi to use as an alarm. When the sensor triggers the alarm, the pi will play back a video. Any suggestions as to where I should focus my attention?
thanks in advance,
-torry

Re: new user with programming question

Posted: Thu Nov 13, 2014 7:01 pm
by joan
Perhaps look through http://www.themagpi.com/ to find articles which chime with you.

Re: new user with programming question

Posted: Thu Nov 13, 2014 7:28 pm
by djwatson23
okay, thanks for that. I found one article that might help but the video playback part is still a mystery to me :?

Re: new user with programming question

Posted: Thu Nov 13, 2014 9:40 pm
by DirkS
It should be straightforward to make a call to an external program from whatever programming language you're using.
You could use omxplayer for video playback.

Gr.
Dirk.

Re: new user with programming question

Posted: Thu Nov 13, 2014 9:42 pm
by B.Goode
There is an example of the use of omxplayer in this tutorial by the Raspberry Pi Foundation -

http://www.raspberrypi.org/learning/cress-egg-heads/