capture video from camera by OpenCV?

asked 2019-10-02 03:08:01 -0600

patrick129 gravatar image

updated 2019-10-02 04:06:27 -0600

berak gravatar image

I've written code for video capturing from my Basler camera but when compile the code I've got this error:

[ INFO:0] global C:\build\master_winpack-build-win64-vc14\opencv\modules\videoio\src\backend_plugin.cpp (172) cv::impl::DynamicLib::libraryLoad load D:\NGUYEN TRI VIEN\OpenCV 4.1.1\opencv\build\x64\vc14\bin\opencv_videoio_gstreamer411_64.dll => FAILED
[ INFO:0] global C:\build\master_winpack-build-win64-vc14\opencv\modules\videoio\src\backend_plugin.cpp (172) cv::impl::DynamicLib::libraryLoad load opencv_videoio_gstreamer411_64.dll => FAILED

I've checked in the directory mentioned in the below screen and didn't find the file videoio gstreamer411 64.dll So can anyone show me how to get this file? Thank you!

edit retag flag offensive close merge delete

Comments

please be so kind and replace your (useless) screenshot with a TEXT version of your errors, so we can at least TRY to translate the japanese .... - thank you.

berak gravatar imageberak ( 2019-10-02 03:12:47 -0600 )edit

@berak I'll edit the screenshot thanks

patrick129 gravatar imagepatrick129 ( 2019-10-02 03:15:39 -0600 )edit
1

@berak Is this ok?

patrick129 gravatar imagepatrick129 ( 2019-10-02 04:03:09 -0600 )edit

yea nice, thank you ;) (and sorry for the nagging ..)

berak gravatar imageberak ( 2019-10-02 04:06:37 -0600 )edit

@berak no problem thank you

patrick129 gravatar imagepatrick129 ( 2019-10-02 04:09:55 -0600 )edit

imho you're safe to ignore this info / warning, it's not an error. you can plugin an experimental gstreamer dll, but it's not delivered with the prebuilt things.

does your camera work, as expected ?

berak gravatar imageberak ( 2019-10-02 04:16:22 -0600 )edit

@berak Yes My camera works very well.

patrick129 gravatar imagepatrick129 ( 2019-10-02 04:34:59 -0600 )edit

@berak You mean that i have to install gstreamer into my openCV library ?

patrick129 gravatar imagepatrick129 ( 2019-10-02 04:35:49 -0600 )edit

You mean that i have to install gstreamer into my openCV library ?

no. afaik, it's a (still experimental) way to use gstreamer without recompiling opencv, and you should not feel bothered, if you don't actually need it.

berak gravatar imageberak ( 2019-10-02 04:50:09 -0600 )edit