Site Tools


linux:raspberry:picam:motion

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
linux:raspberry:picam:motion [2015/06/05 14:54] lunetikklinux:raspberry:picam:motion [2019/01/21 10:45] – [Troubleshooting] lunetikk
Line 3: Line 3:
 ==== Installation ==== ==== Installation ====
  
-[[http://jankarres.de/2013/12/raspberry-pi-kamera-modul-mit-motion-tracking/|Install instructions]]+<code>apt-get install motion</code>
  
 ==== Configuration ==== ==== Configuration ====
  
-My Config+=== Maskfile === 
 + 
 +[[http://www.lavrsen.dk/foswiki/bin/view/Motion/ConfigOptionMaskFile|How to create a Maskfile]] 
 + 
 +==== Troubleshooting ==== 
 + 
 +=== libavformat error === 
 + 
 +"motion: error while loading shared libraries: libavformat.so.53: cannot open shared object file: no such file or directory" 
 + 
 +You might have to install some dependencies 
 + 
 +<code>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</code> 
 + 
 +If some are not found, try to get the right version for your current distribution via 
 + 
 +<code>apt-cache search <package></code> 
 + 
 +=== /dev/video0 not found === 
 + 
 +"vid_v4lx_start: Failed to open video device /dev/video0: No such file or directory" 
 + 
 +Activate the module, /dev/video0 should be there afterwards 
 + 
 +<code>modprobe bcm2835-v4l2</code> 
 + 
 +and add the module to /etc/modules as a new line (persistent) 
 + 
 +<code>bcm2835-v4l2</code> 
 + 
 +==== My configurationfile ==== 
 + 
 +This is the dozencrows config with my values, some things have changed in the current "apt-get"-version. Most of the config is the same, just compare it with the new one 
 <code sh motion.conf> <code sh motion.conf>
 # /etc/motion.conf # /etc/motion.conf
Line 744: Line 777:
 </code> </code>
  
-=== Maskfile === +\\ 
- +\\ 
-[[http://www.lavrsen.dk/foswiki/bin/view/Motion/ConfigOptionMaskFile|How to create a Maskfile]]+~~DISCUSSION:closed~~
linux/raspberry/picam/motion.txt · Last modified: 2022/06/13 18:57 by lunetikk