Hi Andrew, On Wed, 08 Mar 2006 22:16:49 -0800, Andrew Piecka wrote: > I do have a problem with some flickering when I am capturing video from > a VCR. When I run xawtv the picture occasionally flickers. Looking at a > captured file, I can see that the brightness varies from one frame to > the next. This may go on for a second or two, then it will be clean for > quite a while, then randomly comes back. I also have a DC10+ in a > Windows box, and that card shows the same occasional flickering. It does > the same with output from my television and a different VCR as well. On > Windows I am using the Pinnacle driver. There is a configuration window > for this driver which has a checkbox for AGC on it. When I disable the > AGC, the flickering goes away, so this looks like a mild Macrovision > type issue. I can't find a way to turn off the AGC in your driver > though. Have I missed something? I would like to be able to get as clean > a picture on linux as I do with Windows/Pinnacle. I have found several > posts on the net that indicate that the DC10+ should be immune to this > type of problem but I have two cards that show the same thing.
This'll require some self-compiling, I hope you're comfortable with that. If not, feel free to ask some more and we'll give you some closer info on how to get all that working. I'll assume you know how to load the driver and compile the driver and such for now. In the kernel tree (or your locally downloaded separate driver tree, whichever of the two you use), edit saa7110.c (in the kernel tree, it's in drivers/media/video/) and change around line 200, in the initseq[] array: /* 0x20 */ 0xD9, 0x16, 0x40, 0x41, 0x80, 0x41, 0x80, 0x4F, either to (changing the third value from 0x40 to 0x00): /* 0x20 */ 0xD9, 0x16, 0x00, 0x41, 0x80, 0x41, 0x80, 0x4F, or to (changing the last value from 0x4F to 0xCF): /* 0x20 */ 0xD9, 0x16, 0x40, 0x41, 0x80, 0x41, 0x80, 0xCF, and then recompile and reload the driver. one of those should turn off AGC, the datasheet isn't totally clear to me, both controls are called AGC (see page 46 and 48 of the datasheet on the driver website if you're interested). After reloading the driver, just see if the flickering goes away. If one of those works for you, I can add a setting so that future users will be able to enable this option in their modprobe.conf or using some graphical kernel configuration tool (such as what redhat/suse ship). Ronald ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Mjpeg-users mailing list Mjpeg-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mjpeg-users