I have a problem using EmguCV to load a file in VideoCapture constructor.
The constructor always return some empty VideoCapture and calling QueryFrame always return null.
Did Anyone Have similiar issues ? What am i doing wrong ?
Here is some Code snippet from my exampleProject:
var file = await CrossMedia.Current.PickVideoAsync();
/.../
_localCapture = new VideoCapture(file.Path);
_localCapture.Start();
_localCapture.ImageGrabbed += _localCapture_ImageGrabbed;
/.../
bool GrabResult = _localCapture.Grab();
Mat frame = _localCapture.QueryFrame();
UpdateConsole("Video Selected Location: GRAB TEST RESULT " + GrabResult);
Link to the ExampleProject : [link text](https://drive.google.com/file/d/0B8yxP5sipWvqd0xFMjNIVjlJWE0/view?usp=sharing )
in the project is //TODO line where is the Emgu code
If you are reading this thanks you for stoping by.
Any thoughts about possible mistakes in code would be helpfull.
↧