Discussion:
Unable to build pipeline: no element audiotestsrc
dhruv-jindal
2018-11-26 08:43:19 UTC
Permalink
I have trying to run an iOS Swift Project with GStreamer library. I am
getting the following issue whenever I try to go get_parse_launch of
audiotestsrc.

Unable to build pipeline: no element "audiotestsrc". Any idea what am I
doing wrong here?

Code :

GstElement *pipeline = gst_parse_launch("audiotestsrc ! audioconvert !
audioresample ! autoaudiosink", &error);



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
ShilVin
2018-11-27 06:59:43 UTC
Permalink
audiotestsrc is part of gst-plugins-base.

Have u installed base plugins??
What is the output of the inspect??
gst-inspect-1.0 audiotestsrc



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
dgoiko
2018-11-27 14:46:29 UTC
Permalink
I haven't programmed gstreammer with C++.


The plugin audiotestsrc is part of gst-plugins-base, so you need to have
gst-plugins-base installed. You can check if the plugin is available in your
system with:

gst-inspect-1.0 audiotestsrc

Partial output:
Plugin Details:
Name audiotestsrc
Description Creates audio test signals of given frequency and
volume
Filename
/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstaudiotestsrc.so
Version 1.10.4
License LGPL
* Source module gst-plugins-base*
Source release date 2017-02-23
Binary package GStreamer Base Plugins (Debian)
Origin URL http://packages.qa.debian.org/gst-plugins-base1.0





--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
dhruv-jindal
2018-11-28 09:23:23 UTC
Permalink
Solved the issue. I just needed to include gst_ios_init.h and gst_ios_init.m
files in my iOS Project.



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/

Loading...