Gstreamer execution problem

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

Gstreamer execution problem

lchand
Hi,

I am new to gstreamer,

When I execute
 gst-inspect-0.10 osssink
Getting: No such element or plugin 'osssink'

Even for gst-launch-0.10 audiotestsrc ! audioconvert ! audioresample ! osssink
getting ERROR: pipeline could not be constructed: no element "audiotestsrc"

I downloaded & installed the following plugins on Ubuntu PC:
* gstreamer-0.10.36
* gst-plugins-base-0.10.36
* gst-plugins-good-0.10.31
* gst-plugins-bad-0.10.23
* gst-plugins-ugly-0.10.19
* gst-ffmpeg-0.10.13
* gst-phytho-0.10.6

All plugins compiled with --prefix=/usr/local

export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
export GST_PLUGIN_PATH= /usr/local/lib/gstreamer-0.10

All the plugins got successfully compiled.

Please help whether anything I am missing in the installation.

Thanks
L. Chand
Reply | Threaded
Open this post in threaded view
|

Re: Gstreamer execution problem

Stefan Sauer
On 05/08/2012 02:51 PM, lchand wrote:

> Hi,
>
> I am new to gstreamer,
>
> When I execute
>  gst-inspect-0.10 osssink
> Getting: No such element or plugin 'osssink'
>
> Even for gst-launch-0.10 audiotestsrc ! audioconvert ! audioresample !
> osssink
> getting ERROR: pipeline could not be constructed: no element "audiotestsrc"
>
> I downloaded & installed the following plugins on Ubuntu PC:
> * gstreamer-0.10.36
> * gst-plugins-base-0.10.36
> * gst-plugins-good-0.10.31
> * gst-plugins-bad-0.10.23
> * gst-plugins-ugly-0.10.19
> * gst-ffmpeg-0.10.13
> * gst-phytho-0.10.6
>
> All plugins compiled with --prefix=/usr/local
>
> export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
> export GST_PLUGIN_PATH= /usr/local/lib/gstreamer-0.10
>
> All the plugins got successfully compiled.
Also export
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
or add /usr/local/lib to your /etc/ld.so.conf

Stefan

>
> Please help whether anything I am missing in the installation.
>
> Thanks
> L. Chand
>
> --
> View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Gstreamer-execution-problem-tp4617380.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Gstreamer execution problem

lchand
Hi stefan,

Thanks for the reply.

I tried export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
getting the same problem.

Is that anywhere I am missing in linking  alsa,ossaudio plugins to gstreamer.
I compiled
/gst-plugins-good-0.10.31
./configure  --prefix=/usr/local --disable-static --sysconfdir=/etc --with-gtk=3.0 && make

compiled gst-ffmpeg-0.10.13
./configure  --prefix=/usr/local && make

Whether I linked oss properly.

When I checked gst-inspect-0.10.0 with working PC (default loaded with Ubuntu) and my compiled gstreamer.  The difference is
ossaudio:  osssrc: Audio Source (OSS)                                  
ossaudio:  osssink: Audio Sink (OSS)
is there in PC (ubuntu loaded) and for my compiled it is not there.

Even I tried gstreamer-properties:
I am getting
gstreamer-properties-Message: Skipping unavailable plugin 'autoaudiosink'
gstreamer-properties-Message: Skipping unavailable plugin 'alsasink'
gstreamer-properties-Message: Skipping unavailable plugin 'artsdsink'
gstreamer-properties-Message: Skipping unavailable plugin 'esdsink'
gstreamer-properties-Message: Skipping unavailable plugin 'osssink'
gstreamer-properties-Message: Skipping unavailable plugin 'oss4sink'
gstreamer-properties-Message: Skipping unavailable plugin 'pulsesink'
gstreamer-properties-Message: Skipping unavailable plugin 'sunaudiosink'

Is this the linking problem or not finding PC audio libraries.

Regards
L. Chand
Reply | Threaded
Open this post in threaded view
|

Re: Gstreamer execution problem

Stefan Sauer
On 05/10/2012 08:31 AM, lchand wrote:

> Hi stefan,
>
> Thanks for the reply.
>
> I tried export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
> getting the same problem.
>
> Is that anywhere I am missing in linking  alsa,ossaudio plugins to
> gstreamer.
> I compiled
> /gst-plugins-good-0.10.31
> ./configure  --prefix=/usr/local --disable-static --sysconfdir=/etc
> --with-gtk=3.0 && make
>
> compiled gst-ffmpeg-0.10.13
> ./configure  --prefix=/usr/local && make
>
> Whether I linked oss properly.
>
> When I checked gst-inspect-0.10.0 with working PC (default loaded with
> Ubuntu) and my compiled gstreamer.  The difference is
> ossaudio:  osssrc: Audio Source (OSS)                                  
> ossaudio:  osssink: Audio Sink (OSS)
> is there in PC (ubuntu loaded) and for my compiled it is not there.
Run your selfbuilt /usr/local/bin/gst-launch-0.10 under strace:
strace -e file 2>strace.log /usr/local/bin/gst-launch-0.10
and check the log to see what problems exists.

Stefan

>
> Even I tried gstreamer-properties:
> I am getting
> gstreamer-properties-Message: Skipping unavailable plugin 'autoaudiosink'
> gstreamer-properties-Message: Skipping unavailable plugin 'alsasink'
> gstreamer-properties-Message: Skipping unavailable plugin 'artsdsink'
> gstreamer-properties-Message: Skipping unavailable plugin 'esdsink'
> gstreamer-properties-Message: Skipping unavailable plugin 'osssink'
> gstreamer-properties-Message: Skipping unavailable plugin 'oss4sink'
> gstreamer-properties-Message: Skipping unavailable plugin 'pulsesink'
> gstreamer-properties-Message: Skipping unavailable plugin 'sunaudiosink'
>
> Is this the linking problem or not finding PC audio libraries.
>
> Regards
> L. Chand
>
> --
> View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Gstreamer-execution-problem-tp4617380p4622628.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel