Camera Board and Motion


6 posts
by nazargren » Thu Jul 18, 2013 4:58 am
Hi everyone, I'm using Wheezy and have Motion working perfectly with a USB webcam, and I was wondering if there are any extra steps when configuring/connecting the Pi camera to motion as compared to the USB webcam, and if so, what are those steps? Thanks!
Posts: 51
Joined: Mon Jan 07, 2013 11:32 pm
by ghans » Thu Jul 18, 2013 5:28 am
• Don't like the board ? Missing features ? Change to the prosilver theme ! You can find it in your settings.
• Don't like to search the forum BEFORE posting 'cos it's useless ? Try googling : yoursearchtermshere site:raspberrypi.org
Posts: 3911
Joined: Mon Dec 12, 2011 8:30 pm
Location: Germany
by nazargren » Thu Jul 18, 2013 3:17 pm
How do I set up Motion-mmal?
Posts: 51
Joined: Mon Jan 07, 2013 11:32 pm
by jbeale » Thu Jul 18, 2013 4:44 pm
It was very easy. I got a working system in a few minutes without understanding anything about motion or ever having used it before.

Code: Select all
    $ sudo apt-get install -y libjpeg62 libjpeg62-dev libavformat53 libavformat-dev libavcodec53 libavcodec-dev libavutil51 libavutil-dev libc6-dev zlib1g-dev libmysqlclient18 libmysqlclient-dev libpq5 libpq-dev
    $ wget https://www.dropbox.com/s/xdfcxm5hu71s97d/motion-mmal.tar.gz
    $ tar zxvf motion-mmal.tar.gz
    $ ./motion -n -c motion-mmalcam.conf


That got me going. Then I started wading into the config file to tweak things. See also this post and subsequent in that thread: viewtopic.php?t=44966&p=379561#p374790
User avatar
Posts: 1885
Joined: Tue Nov 22, 2011 11:51 pm
by Duckegg999 » Tue Nov 05, 2013 11:57 am
I've done this and I can get the camera capturing images but I have to manually start the Motion software running by typing the following....

./motion -n -c motion-mmalcam.conf

How can I get it to start running automatically at start-up?

Cheers
Duckegg999
Posts: 2
Joined: Mon Nov 04, 2013 12:00 pm
by djscoutmaster » Mon Nov 25, 2013 6:35 pm
Has anyone used the UV4L drivers for the camera module and motion as explained here

http://www.linux-projects.org/modules/sections/index.php?op=viewarticle&artid=14

?
Posts: 4
Joined: Sat Nov 02, 2013 2:43 am