Motion - Support Question 2007x 01x 06x 004923

v4l2 Camera & palette problem

Question

I've compiled the svn version and applied the v4l2 patch everything seems to be OK, i've edited my motion.conf to change videodevice to v4l2:/dev/video0 but motion doesn't works telling that my palette is not supported. Here is the output.

[0] Processing thread 0 - config file /usr/local/etc/motion.conf
[0] Thread 1 is from /usr/local/etc/motion.conf
[1] Thread started
[1] cap.driver: "uvcvideo"
[1] cap.card: "USB 2.0 Camera"
[1] cap.bus_info: "0000:00:1d.7"
[1] cap.capabilities=0x04000001
[1] - VIDEO_CAPTURE
[1] - STREAMING
[1] v4l2_select_input: name = "Camera", type 0x00000002, status 00000000
[1] - CAMERA
[1] Supported palettes:
[1] 0: YUYV (Uncompressed)
[1] Unable to find a compatible palette format.
[1] Capture error calling vid_start
[1] Thread finishing...

Environment

Motion version: svn (20070105)
ffmpeg version:  
Libraries:  
Server OS: Debian SID

-- DedommelinAlexandre - 06 Jan 2007

Follow up

Talk about this support question :

http://koala.ilog.fr/twikiirc/bin/irclogger_log/motion?date=2007-01-06,Sat

The problem is that current v4l2 patch doens't support the palette of your webcam , that uses ucvideo module ( http://linux-uvc.berlios.de/ )

-- AngelCarpintero - 06 Jan 2007

Answer

Added support for YUYV palette in V4L2 patch.

-- AngelCarpintero - 07 Jan 2007
Topic revision: r3 - 07 Jan 2007, AngelCarpintero
Copyright © 1999-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Please do not email Kenneth for support questions (read why). Use the Support Requests page or join the Mailing List.
This website only use harmless session cookies. See Cookie Policy for details. By using this website you accept the use of these cookies.