Ask Your Question

How to Use OpenCV with Gstreamer in iOS

asked 2016-08-15 05:54:48 -0500

funaota gravatar image

updated 2016-08-16 04:19:00 -0500

i want to use gstreamer in iOS

this question is how to use gstreamer in the opencv.

Corresponding part is here

Development environment

  • branch: 3.1.0-ios-fixed
  • ios: 9.3
  • xcode: 7.3

Normal building is completed, but Building with GStreamer is not completed.

please tell me How to use GStreamer in iOS. thanks

edit retag flag offensive close merge delete



sounds off-topic for me, how ist that related to OpenCV?

Guanta gravatar imageGuanta ( 2016-08-15 06:04:04 -0500 )edit

sorry It is gstreamer how to use in the opencv.

please refer to this url.

funaota gravatar imagefunaota ( 2016-08-15 08:34:51 -0500 )edit

@funaota, what you are pointing to is a cmake file that searches for available GStreamer installations. It does not install it. So again, how is this related to OpenCV?

StevenPuttemans gravatar imageStevenPuttemans ( 2016-08-16 07:40:25 -0500 )edit

How it's possible? Can anyone explain clearly?

mathumitha gravatar imagemathumitha ( 2017-02-28 09:35:40 -0500 )edit

1 answer

Sort by » oldest newest most voted

answered 2016-08-16 01:52:07 -0500

how I was finally able to use, among others, the gst-plugins-good soup to use libsoup from the iOS GStreamer interface.

First a note about the installation of the iOS GStreamer framework. One might get a warning that the installer might not install in “this location”. Clicking on the location will remove the message and the installer should work anyway.

The big blob (~1.3 GB) which is installed in /Users/user/Library/Developer/GStreamer/iPhone.sdk/GStreamer.framework/Versions/1.0/GStreamer seems to contain all the plugins, both good and bad.

The tutorials in the legacy iOS installation basically show what needs to be included to use the plugins. They must be statically declared and registered. The files gst_ios_init.h and gst_ios_init.m in the tutorials show how this is done. Just open the dmg file and copy the files. I also found at least one plugin mentioned on the net which was not documented on the GStreamer page, but which was still possible to include with the method below. Note the G_BEGIN_DECLS which must be used. Even Qlikview also have some bi issue over AWS so its a better way to do so






int main (int argc, char *argv[]) {



QString desc = QString("souphttpsrc location=%1").arg(base_url); source = gst_parse_bin_from_description_full(desc.toLatin1().data(), TRUE, NULL, GST_PARSE_FLAG_NO_SINGLE_ELEMENT_BINS, &err); ...


edit flag offensive delete link more


@sindhu17 Could you format the code using 10101 button ?

pklab gravatar imagepklab ( 2016-08-26 11:16:49 -0500 )edit
Login/Signup to Answer

Question Tools

1 follower


Asked: 2016-08-15 05:50:07 -0500

Seen: 325 times

Last updated: Aug 16 '16