Motion help please (Motion only supports mmap) ??
Hi I'm trying to get Motion to work with my Webcam and hope someone can help.
I'm using Ububntu 8.10 with a webcam Logitech Quickcam Chat.
I have used EasyCam to install the driver and tested it with Cheese Webcam Booth.
I then Installed Motion through Synaptic.
When I try to start Motion I get the below.
 Processing thread 0 - config file /etc/motion/motion.conf
 Motion 3.2.9 Started
 ffmpeg LIBAVCODEC_BUILD 3355136 LIBAVFORMAT_BUILD 3409664
 Thread 1 is from /etc/motion/motion.conf
 Thread 1 started
 cap.driver: "ivtv"
 cap.card: "Hauppauge WinTV PVR-150"
 cap.bus_info: "0000:02:09.0"
 - VIDEO_CAPTURE
 - VBI_CAPTURE
 - TUNER
 - AUDIO
 - READWRITE
 motion-httpd/3.2.9 running, accepting connections
 motion-httpd: waiting for data on port TCP 8080
 Supported palettes:
 0: HM12 (HM12 (YUV 4:2:0))
 1: MPEG (MPEG)
 Unable to find a compatible palette format.
 ioctl(VIDIOCGMBUF) - Error device does not support memory map
 V4L capturing using read is deprecated!
 Motion only supports mmap.
 Capture error calling vid_start
 Thread finishing...
Could someone help me to sort this out with Motion if not is there another motion detector I could use.
Thanks in advance
Fixes the error
Found this on another site. Try preloading v4l2convert.so:
LD_PRELOAD=/usr/lib/libv4l/v4l2convert.so motion -n
I'm posting here because this page came up on top of the google search I did...
motion runs all the time
you wont be able to start any thing to do with the cam till you turn it off
wxcam has motion i think its a nice program
read and install all the page tell you to
hope that helps
Sorry to bump this old thread, but i have the exact same error with 1 of my webcams.
Where am i supposed to add the line "LD_PRELOAD=/usr/lib/libv4l/v4l2convert.so motion -n"?
I'm running Debian.
Thanks in advance...
|All times are GMT -5. The time now is 10:07 AM.|