Images saved fine, but webcam stream completely black
Hello. I'm using the Ubuntu Breezy standard version of motion, which is 3.2.3. Everything appears to work fine with the default config (which does not save images, but only provides the stream), however the image is completely dark. I can view the webcam stream in local and remote browsers, and it is clear that the browser is not caching the image, as the time increments in the bottom right-hand corner of the image.
Sometimes when I start viewing the stream I see a short burst of images from the camera. Then it's gone, and I can't seem to reproduce it consistently.
- I've checked the privileges on the /dev/video0 device.
- I've tried different browsers
- I've tried different machines with the same webcam driver (scpa5xx) but a different kernel - the result is the same.
I'm pretty sure I've simply missed a config somewhere...
Many thanks for your help.
- 07 Feb 2006
james@garnet:/home/james# cat /etc/motion/motion.conf
# Minimal motion example config file provided by the
# Debian motion package - for basic webcam operation.
# You most certainly want to investigate
# for further configuration options. Also, refer to the
# motion man page and /usr/share/doc/motion/motion_guide.html
# for detailed information on configuration options.
# You may very well need to change this (check with 'dmesg'
# after plugging in your webcam)
# Image size in pixels (valid range is camera dependent)
# Initial brightness, contrast, hue (NTSC), and saturation
# 0 = disabled (valid range 0-255)
# Encode movies in real-time (install ffmpeg before enabling)
# Target base directory for pictures and films
# You should probably change this (create dir beforehand)
# Define a port number (e.g. 8000) to enable the mini-http server
# 0 = disabled
# Set to 'off' to allow anybody (not just localhost) to view the
# webcam via the mini-http server (http://hostname:port)
| Motion version:
| ffmpeg version:
|| ffmpeg, mysql, postgresql
| Server OS:
|| Linux garnet 2.6.14vanilla #1 PREEMPT i686 GNU/Linux
- 07 Feb 2006
Please try to use a newwe version of motion ( ubuntu as debian is out of date ).
So you can use the latest stable version
or latest daily snap
- 10 Feb 2006