[gst-devel] issue on osssink in version 0.10.0

Jan Schmidt thaytan at noraisin.net
Fri Jan 13 07:07:04 CET 2006


On Fri, 2006-01-13 at 06:43 -0800, rong wang wrote:
>  Jan:
>  
>  Thanks for the reply
> 
>  After taking your advice, I did as you said. It gave
> me following result:
> 
> [root at Linux /root]#gst-launch filesrc
> location=sine.wav ! wavparse ! audioconvert ! osssink
> Setting pipeline to PAUSED ...
> ERROR: Pipeline doesn't want to pause.
> Setting pipeline to NULL ...
> FREEING pipeline 
> 
> It seems that after using wavparse, pipeline has some
> issue.
> Any clue?

Then I guess the file you have named 'sine.wav' isn't actually  a wav
file then. What mime type (if any) does gst-typefind sine.wav report?

If the data is just raw samples that you've made with something like
gst-launch sinesrc ! filesink, you need to tell GStreamer what the
sample format is. You do this using a caps filter that specifies the
exact format.

J.

-- 
Jan Schmidt thaytan at noraisin.net

I came for the quality. I stayed for the freedom. -- Sean Neakums






More information about the gstreamer-devel mailing list