Problem using Gstreamer

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

Problem using Gstreamer

Rajat Jain
Hi there,
I am having running the most basic example in gstreamer. This example is provided in the documentation provided by gstreamer.
command: $ gst-launch audiotestsrc ! audioconvert ! audioresample ! osssink

error: Setting pipeline to PAUSED ...
ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstPipeline:pipeline0/GstOssSink:osssink0: Could not open audio device for playback.
Additional debug info:
gstosssink.c(414): gst_oss_sink_open (): /GstPipeline:pipeline0/GstOssSink:osssink0:
system error: No such file or directory
Setting pipeline to NULL ...
Freeing pipeline ...

All the commands before this example to test if the installation of gstreamer and it's plug-ins ran perfectly. Only this command caused problems.

I am unable to understand what is wrong with the command, as I have tried using the same command again and again, after browsing the web.
Please tell me what should I do. Any sort of help will be appreciated.

Regards
Rajat Jain

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

Re: Problem using Gstreamer

Tim-Philipp Müller-2
On Sun, 2012-03-25 at 19:39 +0530, Rajat Jain wrote:

Hi,

> I am having running the most basic example in gstreamer. This example
> is provided in the documentation provided by gstreamer.
> command: $ gst-launch audiotestsrc ! audioconvert ! audioresample !
> osssink
>
> ERROR: from element /GstPipeline:pipeline0/GstOssSink:osssink0: Could
> not open audio device for playback.
> Additional debug info:
> gstosssink.c(414): gst_oss_sink_open
> (): /GstPipeline:pipeline0/GstOssSink:osssink0:
> system error: No such file or directory

> All the commands before this example to test if the installation of
> gstreamer and it's plug-ins ran perfectly. Only this command caused
> problems.
>
> I am unable to understand what is wrong with the command, as I have
> tried using the same command again and again, after browsing the web.
> Please tell me what should I do. Any sort of help will be appreciated.

Try pulsesink or alsasink or autoaudiosink instead of osssink.

Cheers
 -Tim

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

Re: Problem using Gstreamer

Rajat Jain
Hello Tim,
Thanks for the prompt reply. it worked without any problem. However, just out of curiosity, I wanted to know why osssink was not working.

Regards.

On 25 March 2012 20:19, Tim-Philipp Müller <[hidden email]> wrote:
On Sun, 2012-03-25 at 19:39 +0530, Rajat Jain wrote:

Hi,

> I am having running the most basic example in gstreamer. This example
> is provided in the documentation provided by gstreamer.
> command: $ gst-launch audiotestsrc ! audioconvert ! audioresample !
> osssink
>
> ERROR: from element /GstPipeline:pipeline0/GstOssSink:osssink0: Could
> not open audio device for playback.
> Additional debug info:
> gstosssink.c(414): gst_oss_sink_open
> (): /GstPipeline:pipeline0/GstOssSink:osssink0:
> system error: No such file or directory

> All the commands before this example to test if the installation of
> gstreamer and it's plug-ins ran perfectly. Only this command caused
> problems.
>
> I am unable to understand what is wrong with the command, as I have
> tried using the same command again and again, after browsing the web.
> Please tell me what should I do. Any sort of help will be appreciated.

Try pulsesink or alsasink or autoaudiosink instead of osssink.

Cheers
 -Tim

_______________________________________________
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: Problem using Gstreamer

Stefan Sauer
On 03/25/2012 05:26 PM, Rajat Jain wrote:
Hello Tim,
Thanks for the prompt reply. it worked without any problem. However, just out of curiosity, I wanted to know why osssink was not working.

oss is not widely in use anymore. If you want make a patch to the documentation and replace osssink with autoaudiosink. Submit the patch to http://bugzilla.gnome.org for product=gstreamer.

Stefan

Regards.

On 25 March 2012 20:19, Tim-Philipp Müller <[hidden email]> wrote:
On Sun, 2012-03-25 at 19:39 +0530, Rajat Jain wrote:

Hi,

> I am having running the most basic example in gstreamer. This example
> is provided in the documentation provided by gstreamer.
> command: $ gst-launch audiotestsrc ! audioconvert ! audioresample !
> osssink
>
> ERROR: from element /GstPipeline:pipeline0/GstOssSink:osssink0: Could
> not open audio device for playback.
> Additional debug info:
> gstosssink.c(414): gst_oss_sink_open
> (): /GstPipeline:pipeline0/GstOssSink:osssink0:
> system error: No such file or directory

> All the commands before this example to test if the installation of
> gstreamer and it's plug-ins ran perfectly. Only this command caused
> problems.
>
> I am unable to understand what is wrong with the command, as I have
> tried using the same command again and again, after browsing the web.
> Please tell me what should I do. Any sort of help will be appreciated.

Try pulsesink or alsasink or autoaudiosink instead of osssink.

Cheers
 -Tim

_______________________________________________
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


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

Re: Problem using Gstreamer

Matthias Kattanek
In reply to this post by Rajat Jain

     osssink0: Could not open audio device for playback

Your system does not support the (deprecated) OSS sound system or it is nor longer
installed/configured

> However, just
> out of curiosity, I wanted to know why osssink was not working.
>
>> > command: $ gst-launch audiotestsrc ! audioconvert ! audioresample !
>> > osssink
>> >
>> > ERROR: from element /GstPipeline:pipeline0/GstOssSink:osssink0: Could
>> > not open audio device for playback.
>> > Additional debug info:
>> > gstosssink.c(414): gst_oss_sink_open
>> > (): /GstPipeline:pipeline0/GstOssSink:osssink0:
>> > system error: No such file or directory

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

Re: Problem using Gstreamer

mattes
In reply to this post by Rajat Jain

     osssink0: Could not open audio device for playback

Your system does not support the (deprecated) OSS sound system or it is nor longer
installed/configured

> However, just
> out of curiosity, I wanted to know why osssink was not working.
>
>> > command: $ gst-launch audiotestsrc ! audioconvert ! audioresample !
>> > osssink
>> >
>> > ERROR: from element /GstPipeline:pipeline0/GstOssSink:osssink0: Could
>> > not open audio device for playback.
>> > Additional debug info:
>> > gstosssink.c(414): gst_oss_sink_open
>> > (): /GstPipeline:pipeline0/GstOssSink:osssink0:
>> > system error: No such file or directory

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

Re: Problem using Gstreamer

Rajat Jain
In reply to this post by Matthias Kattanek
Hello there,
Please pardon me, but I am a novice while using gstreamer as well as linux. I am using gstreamer on ubuntu version 11.10. While going through the same FAQ(s), I found another command which puzzled me.
Command: "gst-launch filesrc location=thesong.mp3 ! mad ! audioconvert ! audioresample ! osssink"
I changed "thesong.mp3" with a local file named "emptines.mp3"

But I keep getting this error:
Error:Pipeline doesn't want to pause.
ERROR: from element /GstPipeline:pipeline0/GstFileSrc:filesrc0: Resource not found.
Additional debug info:
gstfilesrc.c(1036): gst_file_src_start (): /GstPipeline:pipeline0/GstFileSrc:filesrc0:
No such file "emptines.mp3"
Setting pipeline to NULL ...
Freeing pipeline ...

I replaced osssink with alsasink, pulseaudiosink, and autoaudiosink as I was asked to do last time, but I didn't get any result. Also like windows, I gave the path name of the file as "/home/rajat/Documents/emptines.mp3" as a variant to the command, but it didn't helped either. Can anyone please help. 

Regards
Rajat jain

On 26 March 2012 22:14, Matthias Kattanek <[hidden email]> wrote:

    osssink0: Could not open audio device for playback

Your system does not support the (deprecated) OSS sound system or it is nor longer
installed/configured

> However, just
> out of curiosity, I wanted to know why osssink was not working.
>
>> > command: $ gst-launch audiotestsrc ! audioconvert ! audioresample !
>> > osssink
>> >
>> > ERROR: from element /GstPipeline:pipeline0/GstOssSink:osssink0: Could
>> > not open audio device for playback.
>> > Additional debug info:
>> > gstosssink.c(414): gst_oss_sink_open
>> > (): /GstPipeline:pipeline0/GstOssSink:osssink0:
>> > system error: No such file or directory

_______________________________________________
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: Problem using Gstreamer

Rajat Jain
Hello there,
The problem was resolved. Apparently there was some problem with the file name.

Rajat

On 27 March 2012 00:47, Rajat Jain <[hidden email]> wrote:
Hello there,
Please pardon me, but I am a novice while using gstreamer as well as linux. I am using gstreamer on ubuntu version 11.10. While going through the same FAQ(s), I found another command which puzzled me.
Command: "gst-launch filesrc location=thesong.mp3 ! mad ! audioconvert ! audioresample ! osssink"
I changed "thesong.mp3" with a local file named "emptines.mp3"

But I keep getting this error:
Error:Pipeline doesn't want to pause.
ERROR: from element /GstPipeline:pipeline0/GstFileSrc:filesrc0: Resource not found.
Additional debug info:
gstfilesrc.c(1036): gst_file_src_start (): /GstPipeline:pipeline0/GstFileSrc:filesrc0:
No such file "emptines.mp3"
Setting pipeline to NULL ...
Freeing pipeline ...

I replaced osssink with alsasink, pulseaudiosink, and autoaudiosink as I was asked to do last time, but I didn't get any result. Also like windows, I gave the path name of the file as "/home/rajat/Documents/emptines.mp3" as a variant to the command, but it didn't helped either. Can anyone please help. 

Regards
Rajat jain

On 26 March 2012 22:14, Matthias Kattanek <[hidden email]> wrote:

    osssink0: Could not open audio device for playback

Your system does not support the (deprecated) OSS sound system or it is nor longer
installed/configured

> However, just
> out of curiosity, I wanted to know why osssink was not working.
>
>> > command: $ gst-launch audiotestsrc ! audioconvert ! audioresample !
>> > osssink
>> >
>> > ERROR: from element /GstPipeline:pipeline0/GstOssSink:osssink0: Could
>> > not open audio device for playback.
>> > Additional debug info:
>> > gstosssink.c(414): gst_oss_sink_open
>> > (): /GstPipeline:pipeline0/GstOssSink:osssink0:
>> > system error: No such file or directory

_______________________________________________
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