Unable to build pipeline: no element audiotestsrc

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Unable to build pipeline: no element audiotestsrc

dhruv-jindal
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/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Unable to build pipeline: no element audiotestsrc

Gst-Geek
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/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Unable to build pipeline: no element audiotestsrc

dgoiko
In reply to this post by dhruv-jindal
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/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Unable to build pipeline: no element audiotestsrc

dhruv-jindal
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/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel