You are not logged in.

#1 2018-07-10 15:19:49

schmidtbag
Member
From: NH, USA
Registered: 2011-02-08
Posts: 337

OpenCV and gstreamer error

I'm writing a program using OpenCV that grabs a video feed from a network stream.  It works perfectly fine on Debian, but it fails on Arch, with the following error:

(python:21141): GStreamer-CRITICAL **: 15:07:32.361: gst_element_get_state: assertion 'GST_IS_ELEMENT (element)' failed

From what I understand, OpenCV has to be compiled to use gstreamer.  However, I find it hard to believe that Arch's isn't, because "gst-plugins-base" is one of the dependencies of the opencv package:
https://www.archlinux.org/packages/extra/x86_64/opencv/

Any suggestions?

EDIT:
I tried install opencv-git and that doesn't change the behavior.  Considering it took a couple hours to build, I'd rather not go through with it again without a known working solution.

Last edited by schmidtbag (2018-07-10 17:44:57)

Offline

#2 2018-07-10 18:39:27

arojas
Developer
From: Spain
Registered: 2011-10-09
Posts: 2,097

Re: OpenCV and gstreamer error

If you can provide a minimal failing test case please attach it to https://bugs.archlinux.org/task/59290

Offline

Board footer

Powered by FluxBB