Low Camera Resolution Problem
Question
Motion stuck in the 352x288 resolution. Even if I set higher resolutions, it starts with this one.
thread.conf:
(...)
# Image width (pixels). Valid range: Camera dependent, default: 352
width 640
# Image height (pixels). Valid range: Camera dependent, default: 288
height 480
after starting motion:
(...)
[2] Selected palette YU12
[2] index_format 8 Test palette YU12 (640x480)
[2] Adjusting resolution from 640x480 to 352x288.
[2] Using palette YU12 (352x288) bytesperlines 352 sizeimage 152064 colorspace 00000008
(...)
Note: I had to start motion using "LD_PRELOAD=/usr/lib/libv4l/v4l2convert.so motion" because of the palette issues with my kernel version.
Environment
Motion version: |
3.2.11 |
ffmpeg version: |
r11872+debian_3:0.svn20080206-12ubuntu3.1 |
Libraries: |
ffmpeg, mysql |
Server OS: |
Ubuntu 8.10, kernel 2.6.27-11 |
--
VitorPerito - 18 May 2009
Answer
Vitor , you forgot to write what camera / kernel module and version ( or svn revision ) but i guess it's uvcvideo or one based on it. This driver reduces the image size based on USB bandwidth , so you can try to use a palette forma like JPG or use a real USB 2.0 host. Usually your problem is because camera is attached to a USB 1.1 or 1.0 host.
But also could be a problem of libv4l.
Cheers !