You are not logged in.

#1 2018-07-16 13:58:22

pravez
Member
Registered: 2018-07-16
Posts: 1

[RESOLVED] [OpenCV] Unable to stop the stream: ...

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

#2 2018-07-18 17:51:31

clentfort
Member
Registered: 2013-05-21
Posts: 17

Re: [RESOLVED] [OpenCV] Unable to stop the stream: ...

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

Board footer

Powered by FluxBB