Hello there,<div>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.</div>
<div><b>Command</b>: "<span style="background-color:rgb(255,255,255)">gst-launch filesrc location=thesong.mp3 ! mad ! audioconvert ! </span><span style="background-color:rgb(255,255,255)">audioresample ! osssink"</span></div>
<div><span style="background-color:rgb(255,255,255)">I changed "<b>thesong.mp3</b>" with a local file named "<b>emptines.mp3</b>"</span></div><div><span style="background-color:rgb(255,255,255)"><br></span></div>
<div><span style="background-color:rgb(255,255,255)">But I keep getting this error:</span></div><div><span style="background-color:rgb(255,255,255)"><b>Error:</b></span>Pipeline doesn't want to pause.</div><div>ERROR: from element /GstPipeline:pipeline0/GstFileSrc:filesrc0: Resource not found.</div>
<div>Additional debug info:</div><div>gstfilesrc.c(1036): gst_file_src_start (): /GstPipeline:pipeline0/GstFileSrc:filesrc0:</div><div>No such file "emptines.mp3"</div><div>Setting pipeline to NULL ...</div><div>
Freeing pipeline ...</div><div><br></div><div><span style="background-color:rgb(255,255,255)">I replaced <b>osssink</b> with <b>alsasink</b>, <b>pulseaudiosink</b>, and <b>autoaudiosink</b> 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 "<b>/home/rajat/Documents/emptines.mp3</b>" as a variant to the command, but it didn't helped either. Can anyone please help. </span></div>
<div><span style="background-color:rgb(255,255,255)"><br></span></div><div><span style="background-color:rgb(255,255,255)">Regards<br></span>Rajat jain</div><div><br><div class="gmail_quote">On 26 March 2012 22:14, Matthias Kattanek <span dir="ltr"><<a href="mailto:mattes@mykmk.com">mattes@mykmk.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5"><br>
osssink0: Could not open audio device for playback<br>
<br>
Your system does not support the (deprecated) OSS sound system or it is nor longer<br>
installed/configured<br>
<br>
> However, just<br>
> out of curiosity, I wanted to know why osssink was not working.<br>
><br>
>> > command: $ gst-launch audiotestsrc ! audioconvert ! audioresample !<br>
>> > osssink<br>
>> ><br>
>> > ERROR: from element /GstPipeline:pipeline0/GstOssSink:osssink0: Could<br>
>> > not open audio device for playback.<br>
>> > Additional debug info:<br>
>> > gstosssink.c(414): gst_oss_sink_open<br>
>> > (): /GstPipeline:pipeline0/GstOssSink:osssink0:<br>
>> > system error: No such file or directory<br>
<br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</div></div></blockquote></div><br></div>