tennis-court-detection icon indicating copy to clipboard operation
tennis-court-detection copied to clipboard

Unable to stop the stream: Inappropriate ioctl for device

Open retoweber opened this issue 5 years ago • 1 comments

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

retoweber avatar Feb 05 '20 15:02 retoweber

Probably your opencv library wasn't built with ffmpeg. Refer to https://github.com/opencv/opencv/issues/8097 Let me know, whether this fixes your problem.

gchlebus avatar Feb 06 '20 07:02 gchlebus