Motion - Support Question 2009x 05x 18x 133556

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 !
Topic revision: r2 - 08 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.