LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   Motion help please (Motion only supports mmap) ?? (http://www.linuxquestions.org/questions/linux-software-2/motion-help-please-motion-only-supports-mmap-701174/)

RaeMarvin 01-31-2009 02:06 AM

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.

[0] Processing thread 0 - config file /etc/motion/motion.conf
[0] Motion 3.2.9 Started
[0] ffmpeg LIBAVCODEC_BUILD 3355136 LIBAVFORMAT_BUILD 3409664
[0] Thread 1 is from /etc/motion/motion.conf
[1] Thread 1 started
[1] cap.driver: "ivtv"
[1] cap.card: "Hauppauge WinTV PVR-150"
[1] cap.bus_info: "0000:02:09.0"
[1] cap.capabilities=0x01070051
[1] - VIDEO_CAPTURE
[1] - VBI_CAPTURE
[1] - TUNER
[1] - AUDIO
[1] - READWRITE
[0] motion-httpd/3.2.9 running, accepting connections
[0] motion-httpd: waiting for data on port TCP 8080
[1] Supported palettes:
[1] 0: HM12 (HM12 (YUV 4:2:0))
[1] 1: MPEG (MPEG)
[1] Unable to find a compatible palette format.
[1] ioctl(VIDIOCGMBUF) - Error device does not support memory map
[1] V4L capturing using read is deprecated!
[1] Motion only supports mmap.
[1] Capture error calling vid_start
[1] 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

Rae

MorderVomUbel 08-02-2010 01:29 AM

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...

no2498 08-02-2010 01:04 PM

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

http://wxcam.sourceforge.net/

hope that helps

ownos 09-15-2011 01:10 AM

Quote:

Originally Posted by MorderVomUbel (Post 4052216)
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...

Thank you, this solved my problem with motion!

Guldstrand 09-06-2012 01:25 PM

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 06:07 AM.