Idiot trying to set up motion... help
Posted: Wed Jul 02, 2014 8:20 pm
Hi! I can't get motion to run. It's killing me.
I've looked at numerous guides online, they all more or less follow the same steps. I'm at the stage I should be able to run motion and connect to it via web browser.
When run from command line (motion -n) it bombs out with a segfault (last few lines of output follow):
If I run it as root (sudo motion -n) it bombs out in the exact same place but doesn't report a segfault.
Once (once it went further, firing up and beginning to snap photos (all of which were grey, but had text overlayed inside them). Stopping and attempting to load it again went back to the above behaviour.
I am able to view my webcam output using mplayer with: which works just fine, so the camera appears to be OK.
Entire output from motion to follow in second post (guess I need to copy it from the RPi).
I've looked at numerous guides online, they all more or less follow the same steps. I'm at the stage I should be able to run motion and connect to it via web browser.
When run from command line (motion -n) it bombs out with a segfault (last few lines of output follow):
Code: Select all
[1] 0 length=40960
[1] 1 length=40960
[1] 2 length=40960
[1] 3 length=40960
[1] Using V4L2
[1] Resizing pre_capture buffer to 1 items
Segmentation fault
Once (once it went further, firing up and beginning to snap photos (all of which were grey, but had text overlayed inside them). Stopping and attempting to load it again went back to the above behaviour.
I am able to view my webcam output using mplayer with:
Code: Select all
mplayer tv:// -tv driver=v4l2:width=640:height=480:device=/dev/video0 -fps 1
Entire output from motion to follow in second post (guess I need to copy it from the RPi).