Paweł Jabłoński schrieb:
2008/12/19 GWater <[email protected]>:
Paweł Jabłoński schrieb:
Thanks a lot, but to be honest today version is a bit worse than yesterday

Yesterday too dark version:
http://www.wrzuta.pl/obraz/jlAHqXgWw8/yesterday

today:
http://www.wrzuta.pl/obraz/ygTNKOwOXV/today

I suppose sensivity is too low,

I tested it in the evening with four bulbs (today picture)

I used guimicrodia to do  manual setting,
britgtness, contrast, gamma, white balance work OK

Exposure is too sensitive  - small change and I see nothing :-(

Nightmode doesn't work - I think it is reason of terrible picture.
Image flip doesn't work too.

Best regards
Pawel

paw...@hpw:~/webcam/microdia>
LD_PRELOAD=/usr/lib/libv4l/v4l2convert.so mplayer tv:// -tv
driver=v4l2:width=640:height=480:fps=25:device=/dev/video0 -vo x11
MPlayer dev-SVN-r27637-4.3-openSUSE Linux 11.0 (i686)-Packman (C)
2000-2008 MPlayer Team
CPU: Genuine Intel(R) CPU           T2500  @ 2.00GHz (Family: 6,
Model: 14, Stepping: 8)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
Warning unknown option fourcc at line 2
Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote
control.

Playing tv://.
TV file format detected.
Selected driver: v4l2
 name: Video 4 Linux 2 input
 author: Martin Olschewski <[email protected]>
 comment: first try, more to come ;-)
Selected device: Microdia USB 2.0 Webcam Driver
 Capabilites:  video capture  read/write  streaming
 supported norms:
 inputs: 0 = Webcam;v4l2: ioctl get input failed: Invalid argument

 Current input: 1
 Current format: unknown (0x4745504a)
v4l2: ioctl set format failed: Invalid argument
tv.c: norm_from_string(pal): Bogus norm parameter, setting default.
v4l2: ioctl enum norm failed: Invalid argument
Error: Cannot set norm!
Selected input hasn't got a tuner!
v4l2: Cannot get fps
v4l2: ioctl set mute failed: Invalid argument
v4l2: ioctl query control failed: Invalid argument
v4l2: ioctl query control failed: Invalid argument
==========================================================================
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 640 x 480 (preferred colorspace: Planar I420)
VDec: using Planar I420 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [x11] 640x480 => 640x480 Planar I420
[swscaler @ 0x8d632e0]using unscaled yuv420p -> rgb32 special converter
Selected video codec: [rawi420] vfm: raw (RAW I420)
==========================================================================
Audio: no sound
Starting playback...
libv4lconvert: Error decompressing JPEG: fill_nbits error: need 1 more
bits
libv4lconvert: Error decompressing JPEG: fill_nbits error: need 1 more
bits
libv4lconvert: Error decompressing JPEG: fill_nbits error: need 2 more
bits
libv4lconvert: Error decompressing JPEG: fill_nbits error: need 2 more
bits
libv4lconvert: Error decompressing JPEG: fill_nbits error: need 1 more
bits
libv4lconvert: Error decompressing JPEG: fill_nbits error: need 1 more
bits
libv4lconvert: Error decompressing JPEG: fill_nbits error: need 2 more
bits
libv4lconvert: Error decompressing JPEG: fill_nbits error: need 6 more
bits
libv4lconvert: Error decompressing JPEG: fill_nbits error: need 2 more
bits
libv4lconvert: Error decompressing JPEG: fill_nbits error: need 2 more
bits
libv4lconvert: Error decompressing JPEG: fill_nbits error: need 3 more
bits
libv4lconvert: Error decompressing JPEG: fill_nbits error: need 6 more
bits
libv4lconvert: Error decompressing JPEG: fill_nbits error: need 4 more
bits
libv4lconvert: Error decompressing JPEG: fill_nbits error: need 2 more
bits
libv4lconvert: Error decompressing JPEG: fill_nbits error: need 1 more
bits
libv4lconvert: Error decompressing JPEG: fill_nbits error: need 2 more
bits
libv4lconvert: Error decompressing JPEG: fill_nbits error: need 1 more
bits
libv4lconvert: Error decompressing JPEG: fill_nbits error: need 4 more
bits
libv4lconvert: Error decompressing JPEG: fill_nbits error: need 2 more
bits
libv4lconvert: Error decompressing JPEG: fill_nbits error: need 3 more
bits
libv4lconvert: Error decompressing JPEG: fill_nbits error: need 3 more
bits
libv4lconvert: Error decompressing JPEG: fill_nbits error: need 1 more
bits
libv4lconvert: Error decompressing JPEG: fill_nbits error: need 1 more
bits
libv4lconvert: Error decompressing JPEG: fill_nbits error: need 1 more
bits
libv4lconvert: Error decompressing JPEG: fill_nbits error: need 1 more
bits
libv4lconvert: Error decompressing JPEG: fill_nbits error: need 5 more
bits
libv4lconvert: Error decompressing JPEG: fill_nbits error: need 3 more
bits
libv4lconvert: Error decompressing JPEG: fill_nbits error: need 6 more
bits
libv4lconvert: Error decompressing JPEG: fill_nbits error: need 3 more
bits
libv4lconvert: Error decompressing JPEG: fill_nbits error: need 3 more
bits
libv4lconvert: Error decompressing JPEG: fill_nbits error: need 2 more
bits
libv4lconvert: Error decompressing JPEG: fill_nbits error: need 2 more
bits
libv4lconvert: Error decompressing JPEG: fill_nbits error: need 2 more
bits
libv4l2: error dequeuing buf: Invalid argument
v4l2: ioctl set mute failed: Invalid argument
v4l2: 33 frames successfully processed, -32 frames dropped.

Exiting... (Quit)

usb 5-6: USB disconnect, address 8
microdia: Microdia USB 2.0 Webcam unplugged
microdia: Microdia USB 2.0 Webcam releases control of video device
/dev/video0
microdia: usb_microdia_exit: Microdia USB 2.0 webcam driver unloaded
usbcore: deregistering interface driver usb_microdia_driver
Linux video capture interface: v2.00
microdia: Microdia USB 2.0 webcam driver loaded
usbcore: registered new interface driver usb_microdia_driver
microdia: v2008.11 : Microdia USB 2.0 Webcam Driver
usb 5-6: new high speed USB device using ehci_hcd and address 9
usb 5-6: configuration #1 chosen from 1 choice
microdia: Microdia USB 2.0 Webcam - 0C45:627C plugged-in.
microdia: Detected SN9C20X Bridge
microdia: Detected HV7131R Sensor
microdia: Microdia USB 2.0 Webcam is now controlling video device
/dev/video0
usb 5-6: New USB device found, idVendor=0c45, idProduct=627c

guiMicrodia is still a very experimental piece of software. I really advise
to use v4l2ucp instead.

Thanks, I was too lazy to download qt-devel and compile it, but I did
it, when you told me v4l2ucp is better.

Unfortunately when I started v4l2ucp unclear picture in mplayer window
almost disapear, I saw only noise.
and spot of bulb
I played a lot with v4l2ucp  settings, but I can't improve picture -
I guess maximal gain is too small,
and smaller that gain level without v4l2ucp:
http://www.wrzuta.pl/obraz/3COQNheo94/withv4l2ucp

before  v4l2ucp:
http://www.wrzuta.pl/obraz/5xVKppcNAe/withoutv5l2ucp

In Windows with identical light conditions I have quite good picture
even without turn on night mode
http://www.wrzuta.pl/obraz/tUyLLEJFUO/stanard



OK,
thanks for the screenshots.

Night mode. Hmm that doesn't show up in the datasheets but I'll see if I can put a few options together that increase exposure.

Anyway I'll push the basic code for hv7131r now so other people can at least see that work is being done.

GWater

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to