Using some simple code:
- Code: Select all
reader.Open(fileToOpen);
which is inside a loop to open a file, process for motion, and close it again. However, random video clips get this exception. The video files are exactly the same video, just renamed for testing. Also each time I run it, the exception happens on different files.
Could something else be locking the file and cause this?