I am trying to capture a video from a file using
captureFrame = new Capture(FileName);
The program works fine with .mpg images, but when I want to capture video from a .mp4 file, I get the following error:
An unhandled exception of type "System.AccessViolationException" occurred in Emgu.CV.dll
Additional Information: Attempted to read or write protected memory. This often indicates that another memory is corrupt.
It is strange that this error occurs only occasionally. For a while, the program works fine, and then this error occurs.
Do you have any ideas?
Thanks B
bxxxi source
share