ravi5677 / aforge

Automatically exported from code.google.com/p/aforge
0 stars 0 forks source link

Very noticeable video flicker/blinking using multiple different devices #290

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Connect USB video device
2. Run the sample Snapshot Maker program
3. Connect and inspect the output

What is the expected output? What do you see instead?
Expected: Steady image
Actual: Very much flicker

What version of the product are you using?
2.2.4

Please provide any additional information below.

I have run a number of different test cases to isolate/characterize this 
problem.  All devices are analog video to usb converters.  All devices work 
fine with their respective OEM software.  All devices work fine with AFORGE 
2.2.3 .  I would stick with 2.2.3, but I need the crossbar functionality :

OS: Windows 7 32 bit

Device used & result: 
   * DFG/USB2-lt - From the imaging source  - videoSourcePlayer flickers a lot
   * Easycap device (USB 2861 Device) - videoSourcePlayer Blinks about 3 times / second
   * GrabBee-AV (WDM 2828x Capture)  - videoSourcePlayer Blinks about 3 times / second
   * Video DVR(Syntek STK1150 Device) - Works fine

Things that did not work:
    * Recompiling the Aforge 2.2.4 dlls with .NET 4.0 & optimization on

Other observations:
    * The flicker and blinking are temporarily fixed (do not occur) when the videoDevice.DisplayPropertyPage dialog box is active.  As soon as the dialog box is closed, the problems resume.

Original issue reported on code.google.com by JerryKRu...@gmail.com on 28 Feb 2012 at 7:17

GoogleCodeExporter commented 9 years ago
>> All devices work fine with AFORGE 2.2.3 .
Does this mean that all devices work fine in 2.2.4 as long as you don't use new 
crossbar API (just open devices with default settings)? Or it stops working as 
soon as you switch to 2.2.4?

Original comment by andrew.k...@gmail.com on 28 Feb 2012 at 7:59

GoogleCodeExporter commented 9 years ago
Try this and check it if helps. Rename Z++ to ZIP and unzip. Then just replace 
the DLL in the 2.2.4 version you have.

Original comment by andrew.k...@gmail.com on 28 Feb 2012 at 8:04

Attachments:

GoogleCodeExporter commented 9 years ago
Yes that .dll fixes all the problems.  All device images are rock solid.

Thanks,

Jerry

Original comment by JerryKRu...@gmail.com on 28 Feb 2012 at 8:44

GoogleCodeExporter commented 9 years ago

Original comment by andrew.k...@gmail.com on 28 Feb 2012 at 8:52

GoogleCodeExporter commented 9 years ago
Resetting flag which requires update of crossbar input right after the input 
type was set. There was a bug in the code which was resulting setting crossbar 
input type again and again causing flickering.

Committed in revision 1680. Will be release in version 2.2.4.1, which will be 
uploaded soon.

Original comment by andrew.k...@gmail.com on 28 Feb 2012 at 8:57

GoogleCodeExporter commented 9 years ago

Original comment by andrew.k...@gmail.com on 28 Feb 2012 at 9:18