public static VideoCapturer createFileVideoCapturer(String path) { try { return new FileVideoCapturer(path); } catch (IOException e) { return null; } }