V4L2_PIX_FMT_PAC207 ( PAC207 ) not supported
Question
Hi, I have two cameras (one speedlink and another one), both seem to use the same driver. I can get images using 'webcam', so I guess they are functional. I'm running Ubuntu, kernel 2.6.27-9. The attached text shows my problem, but there may be something I miss. There seems to be no "compatible" palette format, is there any solution for this? Thanks a lot, I really much like what this program might do, so I want to give it a try.
[0] Processing thread 0 - config file /usr/local/etc/motion.conf
[0] Motion 3.2.10 Started
[0] Motion running in setup mode.
[0] Thread 1 is from /usr/local/etc/motion.conf
[0] Thread 1 is device: /dev/video0 input 8
[0] Webcam port 8081
[1] Thread 1 started
[1] cap.driver: "pac207"
[1] cap.card: "CIF Single Chip "
[1] cap.bus_info: "0000:00:1d.1"
[1] cap.capabilities=0x05000001
[1] - VIDEO_CAPTURE
[1] - READWRITE
[1] - STREAMING
[1] Supported palettes:
[1] 0: P207 (P207)
[1] Unable to find a compatible palette format.
[0] motion-httpd/3.2.10 running, accepting connections
[0] motion-httpd: waiting for data on port TCP 8080
[0] Waiting for threads to finish, pid: 20800
[1] Using VIDEO_PALETTE_YUV420P palette
[1] Using V4L1
[1] Resizing pre_capture buffer to 1 items
[1] Started stream webcam server in port 8081
[1] sync error in proc 20800: Invalid argument
[1] Raw changes: 36854 - changes after 'E': 0 - noise level: 92
[1] mcapture error in proc 20800: Invalid argument
[1] Video device fatal error - Closing video device
[1] Closing video device /dev/video0
Environment
Motion version: |
3.2.11 |
ffmpeg version: |
|
Libraries: |
ffmpeg, mysql, postgresql |
Server OS: |
Ubuntu, kernel 2.6.27-9 |
--
ConstantinPetra - 15 Jan 2009
Follow Up
It's being developed to give support to new palettes in kernel 2.6.27 and above ...
Probably you can use [http://people.atrpms.net/~hdegoede/ libv4l] meanwhile to convert from
V4L2 _PIX_FMT_PAC207 to
V4L2 _PIX_FMT_YUV420
Take a look :
http://m560x-driver.wiki.sourceforge.net/libv4l
--
AngelCarpintero - 16 Jan 2009
Answer
Look at
http://www.lavrsen.dk/twiki/bin/view/Motion/SupportQuestion2009x01x20x183230
--
AngelCarpintero - 22 Jan 2009