@Override public void open(String path, int w, int h, int pixFormat) { width = w; height = h; devicePath = path; V4L2Loopback.pixFormat = pixFormat; devFD = CV4l2.INSTANCE.open_device(devicePath, w, h, pixFormat); if (devFD <= 0) { System.out.println("Error Opening Device"); } }