Python Python OpenCV error

Im trying to use openCV, which ive installed with PKG, in a python script.

This is working fine on my Mac (installed via brew there) but when I run it on my FreeBSD server (which has more CPU power) I get the following error:

[ WARN:0] global /wrkdirs/usr/ports/graphics/opencv/work/opencv-4.5.3/modules/videoio/src/cap_gstreamer.cpp (1044) open OpenCV | GStreamer warning: unable to query duration of stream
[ WARN:0] global /wrkdirs/usr/ports/graphics/opencv/work/opencv-4.5.3/modules/videoio/src/cap_gstreamer.cpp (1081) open OpenCV | GStreamer warning: Cannot query video
position: status=1, value=8, duration=-1
so the path in the error doesn't exist and im wondering if this was complied into the package by the maintainer.

Has anyone else used this package, got this working or basically got any ideas that may help?

Thanks
Rob
 
Back
Top