You are not logged in.
Hi everyone,
I am experiencing some problems with OpenCV Python and don't really know how to deal with it.
Currently, I have a python script which tries to load an mp4/mov file through cv2.VideoCapture. I am always getting this error "Unable to stop the stream: Inappropriate ioctl for device".
I went through issues on github, tried to donwgrade the opencv package and/or the PyPi package opencv-python (and -contrib-). Reinstalling ffmpeg did not work.
I don't really know what to do, should I re-build myself OpenCV with the right flags and make a symbolic link to my own build ? I am not sure it will solve anything.
Thank you for your help,
EDIT: Problem resolved,there was another thing with no relation that was creating this problem
Last edited by pravez (2018-07-16 16:03:20)
Offline
I'm facing the same problem, what was the unrelated problem maybe your solution helps me too.
Edit:
Installing `gst-plugins-good` solved my problem.
Last edited by clentfort (2018-07-21 15:53:21)
Offline