Motion - Bug Report 2009x 04x 25x 020128
You are here: Foswiki>Motion Web>BugReports>BugReport2009x04x25x020128 (09 Jul 2009, AngelCarpintero)Edit Attach

BUG: Motion doesn't work without v4l2convert with Logitech QuickCam Chat

When starting normally, Motion fails to open the camera because it can't find a valid palette format. If you use LD_PRELOAD to load v4l2convert.so when running Motion, then it can find a usable format, but this really shouldn't be needed, at least not to be done manually..

Without v4l2convert:

[1] cap.driver: "spca561"
[1] cap.card: "Camera"
[1] cap.bus_info: "0000:00:02.1"
[1] cap.capabilities=0x05000001
[1] - VIDEO_CAPTURE
[1] - READWRITE
[1] - STREAMING
[1] v4l2_select_input: name = "spca561", type 0x00000002, status 00000000
[1] - CAMERA
[1] Supported palettes:
[1] 0: S561 (S561)
[1] 1: GBRG (GBRG)
[1] Unable to find a compatible palette format.

With v4l2convert:
[1] cap.driver: "spca561"
[1] cap.card: "Camera"
[1] cap.bus_info: "0000:00:02.1"
[1] cap.capabilities=0x05000001
[1] - VIDEO_CAPTURE
[1] - READWRITE
[1] - STREAMING
[1] v4l2_select_input: name = "spca561", type 0x00000002, status 00000000
[1] - CAMERA
[1] Supported palettes:
[1] 0: S561 (S561)
[1] 1: GBRG (GBRG)
[1] 2: RGB3 (RGB3)
[1] 3: BGR3 (BGR3)
[1] 4: YU12 (YU12)
[1] Selected palette YU12

Environment

Motion version: 3.2.11
ffmpeg version: 0.4.9
Shared libraries: ffmpeg
Server OS: Fedora 10, kernel 2.6.29

-- RobertHancock - 25 Apr 2009

Follow up

Well that's a missing feature rather than a bug, too many requests and features to be handled everything , so this was a quick solution meanwhile

support of all those palettes are integrated.

-- AngelCarpintero - 09 Jul 2009

BugReportForm edit

TopicTitle Motion doesn't work without v4l2convert with Logitech QuickCam Chat
BugStatus Rejected
AssignedBugTo
SubmittedBy RobertHancock
Topic revision: r2 - 09 Jul 2009, AngelCarpintero
Copyright © 1999-2024 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.