I'm using camsource 0.7 with qc-usb/quickcam driver.
Everything works just fine, except for autobrightness/brightness settings. It's NOT useless, but for example: If I put the camera on the window looking into the sunny bright day the picture is sometimes to bright or even just white. Then I point the camera into the house which is quite darker, and picture gets too dark. Usually it takes big amount of time readjust and usually it won't find correct level.
I've been experimenting with autobrightness and brightness options in camsource as well as with brightness option of quickcam driver (using qcset).
I'm streaming camera to http using multipart jpeg and it would be great if these settings did not need any user care during the time.
I'm wondering if there is anything more that user can set today or if autobrightness code just need some more work. Also wondered there is a plan for auto/color/satur and so on ..
Picture I'm getting is sometimes so nice and sometimes so crapy.
thanx for good work and answers.hall.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello Hall,
For my camera I found that the autobrightness code would make jumps that were just too large. The image would go black and then white, etc. At first I put a limit to how large a jump could be. I found that it always made the largest jump possible so that did not really help.
The next change I made was to the code that determines how large a jump to make. I changed line 376 in input_v4l.c to read:
change = camdev->vidpic.brightness * (change/1000) * 3;
that would be change/100 -> change/1000.
I am about to change it to not make a jump unless it meets a minumum size since it still constantly changes the brightness.
That is what I am doing at any rate.
Jack
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm using camsource 0.7 with qc-usb/quickcam driver.
Everything works just fine, except for autobrightness/brightness settings. It's NOT useless, but for example: If I put the camera on the window looking into the sunny bright day the picture is sometimes to bright or even just white. Then I point the camera into the house which is quite darker, and picture gets too dark. Usually it takes big amount of time readjust and usually it won't find correct level.
I've been experimenting with autobrightness and brightness options in camsource as well as with brightness option of quickcam driver (using qcset).
I'm streaming camera to http using multipart jpeg and it would be great if these settings did not need any user care during the time.
I'm wondering if there is anything more that user can set today or if autobrightness code just need some more work. Also wondered there is a plan for auto/color/satur and so on ..
Picture I'm getting is sometimes so nice and sometimes so crapy.
thanx for good work and answers.hall.
Hello Hall,
For my camera I found that the autobrightness code would make jumps that were just too large. The image would go black and then white, etc. At first I put a limit to how large a jump could be. I found that it always made the largest jump possible so that did not really help.
The next change I made was to the code that determines how large a jump to make. I changed line 376 in input_v4l.c to read:
change = camdev->vidpic.brightness * (change/1000) * 3;
that would be change/100 -> change/1000.
I am about to change it to not make a jump unless it meets a minumum size since it still constantly changes the brightness.
That is what I am doing at any rate.
Jack