Is there an OpenCV version which links against GStreamer 1.0?

I am using the GStreamer C/C++ API in a C++ program, in particular AppSrc and AppSink. I need to pull samples from the AppSink (it works ok) and process the frames with OpenCV. But the problem is that OpenCV is linked against gstreamer0.10 (I am using Archlinux). So it does compile okay, but I get a runtime error, because gstreamer0.10 is already initialized.

So is there a "git-version" or "developer-version" which links against 0.10 ?


It seems OpenCV is not ported to GStreamer 1.x yet, but other distributions are just disabling the GStreamer module of OpenCV anyway. It's not that useful, especially if you use GStreamer directly anyway. Porting it would seem like 2 hours of work though.

Not that this necessarily helps you, but best would be to try building OpenCV with GStreamer support.

Also unrelated, please note that in gst-plugins-bad there is an OpenCV plugin that provides many filters already and also infrastructure for glueing OpenCV and GStreamer together.

链接地址: http://www.djcxy.com/p/25424.html

上一篇: gstreamer获取视频播放事件

下一篇: 是否有OpenCV版本链接到GStreamer 1.0?