Skip to content
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

org.bytedeco.javacv.FrameGrabber$Exception: read() Error: Could not read frame in start(). #850

Closed
leftvalue opened this issue Dec 5, 2017 · 1 comment
Labels

Comments

@leftvalue
Copy link

I wanna use javacv on my raspberry pi3 to take pictures.
At first,i write the code on my computer( OS X 10.13.1)and use the follow Jars
image
and then,i copy the project and replace jars like these
image
then,i run the exported on my raspberry,but it gave me the follow error informations

org.bytedeco.javacv.FrameGrabber$Exception: read() Error: Could not read frame in start().
	at org.bytedeco.javacv.OpenCVFrameGrabber.start(OpenCVFrameGrabber.java:222)

my code is followed(partly):

this.grabber = this.grabber = new OpenCVFrameGrabber(0);
grabber.start();//it seems that it crash at here

and ,after I change like this

this.grabber = OpenCVFrameGrabber.createDefault("/dev/video0");//the /dev/video0 do exist
grabber.start();//it seems that it crash at here

it still goes wrong
what should I do?
thanks very much :)

@leftvalue
Copy link
Author

leftvalue commented Dec 5, 2017

Sorry for my uncarefully
I just find that in another question you really answer my que;
new FFmpegFrameGrabber("/dev/video0");
it really works
thanks!

@saudet saudet added the question label Dec 5, 2017
saudet added a commit to bytedeco/javacpp-presets that referenced this issue Dec 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants