there are three module parameters for horizontal and vertical image
flip: hflip, vflip and flip_detect
They can be set to 0 or 1 when loading the driver:
insmod microdia.ko vflip=1 hflip=1 flip_detect=0 (example)
Please tell us if flip_detect works for this cam !
Frank
Calin schrieb:
flip_detect is for rotatable cameras. With this parameter enabled, the
driver tries to flip the image automaticly depending on the cameras
position. I don't know if your cam supports this...
Another question: if I remember right, there are 3 other Microsoft cams
that are supposed to used Sonix-bridges as well. Could you please watch
out for a *.inf-file of the windows driver (if you have access to
Windows system ;-) ) ?
Frank
Calin schrieb:
Frank
Frank
Calin schrieb:
Frank
Calin schrieb:
Don't worry about logsize, concentrate on making us a clean sniff.
if it gets too big, you can
ZIP it to get the size down,
if that fails, you can use the PERL parser script to cut the log file
down further
do a complete sniff, zip the log thus obtained, then tell us the size.
-JoJo
Frank
Did you tried to change exposure value?
# mplayer tv:// -tv driver=v4l2:width=640:height=480:outfmt=bgr24:fps=30
also the bgr24 should not really have its bytes swapped since it is
after all supposed to be ordered blue, green, and red. if you were
using camstream thats probably because its requesting the RGB24 format
under v4l1 which is really supposed to return BGR24 despite its name.
And finally like vasily said try adjusting the exposure value for your
cam to see if you can get a better picture this can be done under
sysfs. however i find it easier and perfer using the v4l2 controls to
adjust these values. you can down v4l2ucp from
http://v4l2ucp.sourceforge.net/. This is a control panel that makes
avaiable allow v4l2 image controls such as gamma and exposure. Just
compile it and then run v4l2ucp </path/to/video/device> then adjust
the settings using the sliders. You can also be running mplayer at the
same time so you can see when things look better for you
2008/7/17 Brian Johnson <bri...@gmail.com>:
>
> First I'd make sure you are using the latest code from git. from your
> post it looks like you are using camstream which is v4l1 only [...]
You are (almost) right - I used camstream and v4l1 driver version
because without any modification this gave me better image quality
than mplayer with any settings, no matter if I used v4l1 or v4l2
driver version. 624F init procedure did not change since "last v4l1
release" so even using latest version from git repository I got the
same poor picture quality in mplayer, including flickering.
> also the bgr24 should not really have its bytes swapped since it is
> after all supposed to be ordered blue, green, and red. if you were
> using camstream thats probably because its requesting the RGB24 format
> under v4l1 which is really supposed to return BGR24 despite its name.
Colors are reversed also in jpeg's saved using program "motion"...
> And finally like vasily said try adjusting the exposure value for your
> cam to see if you can get a better picture this can be done under
> sysfs. [...]
Changing exposure value didn't change image quality at all. It looks
like gamma and/or (depends on the program I use) whitebalance (?)
value affects exposure parameter, but all the time exposure is too
high so pictures are too contrast and noisy.
Regards,
Jarek