Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
32 Views

OpenVino OpenCV compiled without FFMPEG on MacOS?

I have a running prototype on Ubuntu that does connect to a MJPEG camera using OpenVINO OpenCV. On MacOS it does not connect to it. Looks like OpenVino OpenCV is compiled without FFMPEG support. Is it so?

I've tried to compile OpenCV from source, branch 4.1.0-openvino, with ffmpeg, but it fails with:

/Users/.../opencv/modules/dnn/src/dnn.cpp:1714:45: error: no member named 'getConstantData' in 'InferenceEngine::Builder::Layer'
                auto& blobs = ieNode->layer.getConstantData();
                              ~~~~~~~~~~~~~ ^

Any hints or explanations?

0 Kudos
3 Replies
Highlighted
Employee
32 Views

Dear Poca, Ramon, 

This particular forum is focused on Model Optimizer and Inference Engine. For OpenCV questions, your best bet would be to post in https://answers.opencv.org/questions/

Thanks !

Shubha

0 Kudos
Highlighted
Beginner
32 Views

Ok, I've succeeded in recompiling OpenCV with both FFMPEG and Inference Engine enabled:


cmake   -DWITH_INF_ENGINE=ON   -DENABLE_CXX11=ON -DINF_ENGINE_RELEASE=2019010001 .../path/to/opencv


The error was due to opencv defaulting to the 2018 version of Inference Engine.
 

0 Kudos
Highlighted
Employee
32 Views

Dear Poca, Ramon,

Congrats and thanks for reporting back here and informing the OpenVino community !

Shubha

0 Kudos