djwatson23
Posts: 2
Joined: Thu Nov 13, 2014 6:47 pm

new user with programming question

Thu Nov 13, 2014 6:56 pm

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

User avatar
joan
Posts: 14935
Joined: Thu Jul 05, 2012 5:09 pm
Location: UK

Re: new user with programming question

Thu Nov 13, 2014 7:01 pm

Perhaps look through http://www.themagpi.com/ to find articles which chime with you.

djwatson23
Posts: 2
Joined: Thu Nov 13, 2014 6:47 pm

Re: new user with programming question

Thu Nov 13, 2014 7:28 pm

okay, thanks for that. I found one article that might help but the video playback part is still a mystery to me :?

DirkS
Posts: 10363
Joined: Tue Jun 19, 2012 9:46 pm
Location: Essex, UK

Re: new user with programming question

Thu Nov 13, 2014 9:40 pm

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.

User avatar
B.Goode
Posts: 10356
Joined: Mon Sep 01, 2014 4:03 pm
Location: UK

Re: new user with programming question

Thu Nov 13, 2014 9:42 pm

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/

Return to “General discussion”