Open franva opened 3 years ago
Update
The issue seems fixed once I removed the below line from ~/.bashrc
source /opt/intel/openvino_2021/bin/setupvars.sh
So now, it is clear that the setupvars.sh
breaks gstreamer somehow.
So the workaround is:
.bashrc
.bashrc
Not ideal, hopefully some "hero" will show up and have a decent solution for this issue.
The missing symbol - gst_type_mark_as_plugin_api
- comes from GstUtils and was introduced in GStreamer 1.18, so 1.0 version won't have it. I haven't dig into it yet, but I think either LD_LIBRARY_PATH
or PATH
env variables are overwriting a default GStreamer location in the system (as they are modified inside the setupvars.sh
script)
From our side, we would add a warning if we detect an active OpenVINO version (e.g. by checking InferenceEngine_DIR
or INTEL_OPENVINO_DIR
or INTEL_CVSDK_DIR
env variables) that it may cause issues when inferencing on video
Describe the bug After today's
git pull
and/or maybe installation ofopenvino
, whenever I ran thedepthai_demp.py
with-vid
param, I receive this error:To Reproduce Steps to reproduce the behavior:
depthai
from this repo-vid
paramExpected behavior A video window will show up and start seeing draws on top of the video.
Additional context This issue could be treated like "kick away ball" between DepthAI and OpenVINO since it might be caused by DepthAI and/or OpenVINO, so users ask question on either side could be kicked away and asked to post issue on the other side.
But to me if both sides don't want to take this issue, then it falls on the user's shoulder and as an individual user, I have to admit that I don't have that much knowledge on either side, so impossible for me to figure it out.
Plus, the DepthAI users has to setup OpenVINO env anyway as the true purpose of using OAK cameras + DepthAI is to deploy custom trained models onto the camera and utilize DepthAI to implement our ideas.
What have I tried so far I tried to install the
gstreamer
by runningsudo apt-get install --reinstall gstreamer1.0-alsa gstreamer1.0-libav gstreamer1.0-plugins-bad gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-ugly gstreamer1.0-pulseaudio libgstreamer-plugins-bad1.0-0 libgstreamer-plugins-base1.0-0 libgstreamer-plugins-good1.0-0 libgstreamer1.0-0
. this doesn't workgstreamer
website to install itapt-get install libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libgstreamer-plugins-bad1.0-dev gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly gstreamer1.0-libav gstreamer1.0-doc gstreamer1.0-tools gstreamer1.0-x gstreamer1.0-alsa gstreamer1.0-gl gstreamer1.0-gtk3 gstreamer1.0-qt5 gstreamer1.0-pulseaudio
, also doesn't workWhat I will do for helping solving this issue I will also post an issue on Intel's OpenVINO github and hook these 2 issues with each other by providing links inside these 2 issues.
Here is the link.