OpenCV Java binds VideoCapture from file failing silently -


I am using OpenCV 2.4.8 with supplied Windows 64 bit Java Jar. I am using OpenCV in my current environment to this point.

I am unable to open video files using the VideoCapture class, but Webcam feeds work fine.

Expected work with video. Translated is returning true

  videocapture video = new video capture (); Boolean results = video. Open (0);   

Down with the video fails. Open Returned

  VideoCapture Video = New Video Capture (); Boolean results = video.open ("res / hand-test-1.mp4");   

Neither the file format makes a difference (these are changed, not just in the name of hope)

  video.open (" res / hand-test-1.mp4 "); Video.open ("race / hand test 1.avi"); Video.open ("race / hand test 1.wmv");   

The location does not seem to matter either.

  video.open ("C: /hand-test-1.mp4"); Video.open ("C: \\ manual test 1.mp4"); Video.open ("manual test 1.mp4");   

Neither makes garbage, OpenCV is not an exception by Java, either silently failing.

  video.open ("ashdkfhkajsjdfkhaksdf");   

PATH is the ffmpeg directory provided with opencv installation,

  C: \ dev \ opencv \ sources \ 3rdparty \ ffmpeg   

Right now I have run away from ideas, it seems that whatever I extract through the original through video.open (string) will return false.

Any help would be greatly appreciated

OpenCV 2.4.9 There was only one problem with. For example, "C: \ OpenCV \ build \ x64 \ vc11 \ bin".

Comments

Popular posts from this blog

Verilog Error: output or inout port "Q" must be connected to a structural net expression -

jasper reports - How to center align barcode using jasperreports and barcode4j -

c# - ASP.NET MVC - Attaching an entity of type 'MODELNAME' failed because another entity of the same type already has the same primary key value -