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

Unable to stop the stream: Inappropriate ioctl for device #2

Open
retoweber opened this issue Feb 5, 2020 · 1 comment
Open

Unable to stop the stream: Inappropriate ioctl for device #2

retoweber opened this issue Feb 5, 2020 · 1 comment

Comments

@retoweber
Copy link

Hi

I compiled your project and tried it but it returned:

./detect ../../../clips/diff4.avi
   Reading file ../../../clips/diff4.avi
   Unable to stop the stream: Inappropriate ioctl for device
   Cannot open file ../../../clips/diff4.avi
@gchlebus
Copy link
Owner

gchlebus commented Feb 6, 2020

Probably your opencv library wasn't built with ffmpeg. Refer to opencv/opencv#8097
Let me know, whether this fixes your problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants