Questions tagged [motion]

Motion is a software that can detect motion, typically used with cameras, e.g., in security camera applications.

Only use this tag for questions related to the software package, motion.

28 questions
7
votes
4 answers

Problems running python script from motion

I'm trying to set up the raspberry pi with my webcam as a motion detecting cctv that uploads the videos to google drive using Jeremy Blythe's script I have motion working correctly and the python script runs when I test it from the terminal. However…
DanBrum
  • 71
  • 1
  • 2
7
votes
1 answer

Can the focus of a Microsoft LifeCam HD-5000 be fixed at infinity under linux?

I have two Microsoft LifeCam HD-5000 webcams which I am using as a home security system with the Motion package for linux. One problem I have is that because these webcams have auto-focus, sometimes they will try to automatically adjust the focus…
Josh
  • 8,311
  • 12
  • 54
  • 73
5
votes
2 answers

How to configure a video4linux loopback device

I am writing an application which is based on Motion. Motion allows me to define a video4linux loopback device: # Output images to a video4linux loopback device # The value '-' means next available (default: not defined) ; video_pipe value # Output…
RevMoon
  • 153
  • 1
  • 4
3
votes
1 answer

sound recording with motion?

I want to set up a daemon that starts recording video with sound when it detects noise or movement. There are tools that do that separately but can they be done at the same time? Can I set up motion in a way that when it detects motion it executes a…
tst
  • 195
  • 1
  • 2
  • 5
3
votes
1 answer

How to set up Motion to access my copied config file?

As suggested in this tutorial I made a copy of the Motion configuration file in my home folder under ~/.motion/motion.conf . But Motion then still tries to access the config-file under /etc/motion/motion.conf . How do I fix this behaviour? Here is…
empedokles
  • 181
  • 1
  • 2
  • 7
2
votes
0 answers

Motion with MJPEG format in OpenWRT?

Right now my router implemented by OpenWRT. The router has motion and webcam for IP cam. But when I activated motion, the following error message appears: [1] [CRT] [VID] mjpegtoyuv420p: Corrupt image ... continue [1] [CRT] [VID] mjpegtoyuv420p:…
2
votes
0 answers

using motion to trigger snapshot when movement stops

I am trying to use motion software (but I could use just any other linux software) in order to "log" some manual work by snapshots. So imagine I want to make a stop-motion film with my LEGO(r) toys (just an example, but for better understanding),…
viridis
  • 21
  • 2
2
votes
1 answer

who is accessing /dev/video0

I have a streaming video feed set up with the motion package. something like this: https://www.youtube.com/watch?v=jGkHSU-UPLU Works great. What I want to know, is who is connecting to my streaming media feed? It's supposed to just be my…
Brooke Fogg-Wolfe
  • 143
  • 1
  • 1
  • 8
2
votes
0 answers

Motion command images are jibberish

It seems my motion command config will not take complete pictures. It used to take a few tiny ok images, and a garbled image, now after adjusting it to full resolution it takes a large image of garbled blocks: It used to give a message about the…
NoBugs
  • 56
  • 4
2
votes
2 answers

Linux motion user - run it as ssh key as pi to remote server

This question is related to the two other questions I had earlier, about enabling Raspberry Pi to act as a motion sensor that will try to ssh into a more powerful server when it detects motion (the more power server will then do additional…
Uzumaki Naruto
  • 157
  • 1
  • 7
2
votes
1 answer

Show List of USB device to know name /dev/?

I want use two USB webcam with motion, I've connected both to an USB hub, giving from CLI the command sudo lsusb I can see that both cams are connected Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp. Bus 001 Device 001: ID 1d6b:0002…
Mitro
  • 1,091
  • 6
  • 22
  • 37
2
votes
1 answer

Compare video and image (percentage of differences)

I was wondering if it's possible to get the percentage of difference between a video and an static image using avconv (from libav) I have a surveillance camera constantly providing an RTSP video feed. The camera is statically pointing to the floor.…
Savir
  • 1,221
  • 1
  • 17
  • 24
1
vote
1 answer

Motion doesn't detected my webcam : UNABLE TO OPEN VIDEO DEVICE

I would use a USB webcam with Motion software, installed in Ubuntu on my Windows PC (WSL2 ) But when I started Motion as a service and i check on browser at the address [LOCALHOLST:port 8080 or 8081 ] it appears the Motion interface but never has…
DanielePP
  • 11
  • 1
  • 4
1
vote
0 answers

How is lightswitch_percent and maximum_threshold different in Motion?

The Motion documentation for lightswitch_percent is as follows: "Ignore sudden massive light intensity changes when the percentage of the picture area that changed intensity is greater than this value. The value defines the picture area in percent…
1
vote
1 answer

"Motion" video motion detecting software framerate issues

I am trying to configure motion (https://motion-project.github.io/) to record video files. No matter what value I set the framerate option the video files that are created all appear to have a framerate of between 1 and 2 FPS. I am running on a…
WillD
  • 183
  • 1
  • 3
1
2