[gst-devel] issue on osssink in version 0.10.0

Edgard Lima edgard.lima at indt.org.br
Fri Jan 13 06:31:01 CET 2006

Hi Rong,

if gst-launch-0.8 filesrc location=sine.wav ! osssink works it is just 
luck (..may be you got the file from gst-launch sinesrc ! filesink 
I mean, your sine.wav has the format that osssink uses by default.
try gst-launch-0.8 -v filesrc location=sine.wav ! osssink to see 
somethink like:
caps = audio/x-raw-int, width=(int)8, depth=(int)8, 
signed=(boolean)false, channels=(int)2, rate=(int)44100

I should instead use gst-launch-0.8 filesrc location=sine.wav ! wavparse 
! osssink.

Why it doenst run on 0.10, it is because 0.10 is better and checks the 
"caps" to avoid you play things good just because you very luck or just 
play it as a noise because there is no caps negotiation.

So, just try gst-launch-0.10 filesrc location=sine.wav ! wavparse ! osssink

Edgard_ (alima)
edgard.lima at indt.org.br

rong wang wrote:

>I meet following problem in 0.10.0 version which I
>never had in 
>0.8.11, Could somebody light me up on this?
>[root at Linux /root]#gst-launch filesrc
>location=sine.wav ! osssink
>Setting pipeline to PAUSED ...
>Pipeline is PREROLLING ...
>Pipeline is PREROLLED ...
>ERROR: from element /pipeline0/osssink0: sink not
>Additional debug info:
>gstbaseaudiosink.c(351): gst_base_audio_sink_preroll:
>sink not negotiated.
>ERROR: pipeline doesn't want to preroll.
>Setting pipeline to PAUSED ...
>Setting pipeline to READY ...
>Setting pipeline to NULL ...
>FREEING pipeline ...
>Do You Yahoo!?
>Tired of spam?  Yahoo! Mail has the best spam protection around 
>This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
>for problems?  Stop!  Download the new AJAX search engine that makes
>searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
>gstreamer-devel mailing list
>gstreamer-devel at lists.sourceforge.net

More information about the gstreamer-devel mailing list