-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot open local webcam on NetBeans JavaFX 8 Project #1618
Comments
It looks like the main JAR file for JavaCPP is missing from the class path. Make sure all JAR files are in the class path. |
I don't use javafx-maven-plugin. Its on Java 8 in Netbeans 8.2. |
Sounds like a bug in JavaFX 8... Time to upgrade maybe? It's a 6-year-old release that is no longer supported. |
Since JavaFX is out of jdk and not easy to porting my project with many of unknowns, this is not an option at the moment Same Problem while calling this: BTW: bevore I used |
That never worked. FFmpeg needs a |
Yes, I know, that's why I have had to use the factory method FFmpegFrameGrabber.createDefault(int deviceNumber) |
What you're probably talking about is |
I use new version 1.5.5 with example code JavaFxPlayVideo.java on JavaFX 8
For grabbing local webcam I use
FrameGrabber grabber = new OpenCVFrameGrabber(1);
becauseFFmpegFrameGrabber grabber = FFmpegFrameGrabber.createDefault(1);
is no more possible (yes 1 is correct).In normal Java-Project I can run this example, but when I create it with NetBeans as a JavaFX project, I get an exception:
The text was updated successfully, but these errors were encountered: