LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 01-31-2009, 01:06 AM   #1
RaeMarvin
LQ Newbie
 
Registered: Jan 2009
Posts: 1

Rep: Reputation: 0
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
 
Old 08-02-2010, 12:29 AM   #2
MorderVomUbel
LQ Newbie
 
Registered: Mar 2009
Distribution: Archlinux
Posts: 13

Rep: Reputation: 2
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...
 
Old 08-02-2010, 12:04 PM   #3
no2498
Member
 
Registered: Jan 2010
Posts: 120

Rep: Reputation: 23
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
 
Old 09-15-2011, 12:10 AM   #4
ownos
LQ Newbie
 
Registered: Sep 2011
Posts: 3

Rep: Reputation: Disabled
Quote:
Originally Posted by MorderVomUbel View Post
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!
 
Old 09-06-2012, 12:25 PM   #5
Guldstrand
LQ Newbie
 
Registered: Sep 2012
Location: Orebro, Sweden
Distribution: Debian 7
Posts: 6

Rep: Reputation: Disabled
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...

Last edited by Guldstrand; 09-06-2012 at 12:25 PM. Reason: spelling
 
  


Reply

Tags
motion, webcam


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
WinTV PVR-150 & Motion - MMAP unsupported? cotwild Linux - Hardware 1 12-15-2008 10:59 AM
Error with "SDL_MouseMotionEvent *motion = event->motion;" aatwell Programming 3 11-30-2007 01:46 PM
Motion Eye pasteNoctem Linux - Hardware 2 02-25-2007 01:42 PM
vim: motion to , gypsy_rabbi Linux - Software 1 02-22-2005 05:20 PM
In Motion... Or Not.. robhargreaves Linux - Software 1 05-20-2004 03:10 PM


All times are GMT -5. The time now is 06:59 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration