UnsatisfiedLinkError in Java with VideoCapture
I have been able to connect to and open an rstp h264 IP camera stream, and grab the first frame. But this code:
import org.opencv.highgui.VideoCapture;
public class Connector {
public static void main(final String[] args) throws Exception
{
VideoCapture capture = new VideoCapture("rtsp://109.110.33.67:1935/live/CAM-Shamora.stream");
if (capture.isOpened()) {
System.out.println("Video is captured");}
}
}
give me exception
Exception in thread "main" java.lang.UnsatisfiedLinkError: org.opencv.highgui.VideoCapture.VideoCapture_1(Ljava/lang/String;)J
at org.opencv.highgui.VideoCapture.VideoCapture_1(Native Method)
at org.opencv.highgui.VideoCapture.<init>(VideoCapture.java:128)
at Connector.main(Connector.java:7)
I use Opencv 2.4.9 and IntelliJIdea13