I can use some help on the following:
in a program of mine i want to extract a frame of an avi while its running. In a separate thread, this frame is then analysed and the result is shown in a TImage (as a TBitmap).
I've tried using the VFW.pas, along with some code to handle this unit, but i failed to implement it just yet. It seems that sometimes (due to memory shortages?) the VFW doesn't correctly extract the frames from the AVI. Also, i've only extracted frames from an AVI stored on my HDD, and thus, not real-time.
Here is what i want:
How to extract IN REAL TIME the current frame from a running AVI? This avi should be shown together in the same app.
I'd really love some code for this, but if that isn't possible, could you point me to some resources where to find out how it should be done?
Also, if you point me to a component, please make sure its free to use, so no shareware or other commercial license can be allowed.
Thanks in advance!