[gst-devel] issue on osssink in version 0.10.0

Michal Benes michal.benes at itonis.tv
Sat Jan 14 01:37:02 CET 2006


What about,
gst-launch -v --gst-debug-level=2 audiotestsrc ! audioconvert ! osssink
?	

This command should produce a harmonic tone.

If it works, try
gst-launch -v --gst-debug-level=2 filesrc location=sine.wav ! wavparse !
filesink location=output
does it create the file "output" containing some data?

	Michal

rong wang píše v Pá 13. 01. 2006 v 08:32 -0800:
> Michal
>    I got no more information than before after using
>   gst-launch -v --gst-debug-level=2 filesrc
>  location=sine.wav ! wavparse !
>  audioconvert ! osssink
> 
> 
>    here is the result:
> Setting pipeline to PAUSED ...
> ERROR: Pipeline doesn't want to pause.
> Setting pipeline to NULL ...
> FREEING pipeline ...
> 
> Any other way to do the debug work...
> 
> Thanks
> 
> Rong
> 
> 
> 
> 
> --- Michal Benes <michal.benes at itonis.tv> wrote:
> 
> > Hi Rong,
> > 
> > 	try to run your pipe with higher debug level:
> > gst-launch -v --gst-debug-level=2 filesrc
> > location=sine.wav ! wavparse !
> > audioconvert ! osssink
> > 
> > 	Regards,
> > 		Michal
> > 
> > rong wang pí¹e v Pá 13. 01. 2006 v 06:43 -0800:
> > >  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?
> > > 
> > > Thanks
> > > 
> > > Rong
> > > 
> > > --- Jan Schmidt <thaytan at noraisin.net> wrote:
> > > 
> > > > On Fri, 2006-01-13 at 06:03 -0800, 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
> > > > > negotiated.
> > > > > Additional debug info:
> > > > > gstbaseaudiosink.c(351):
> > > > gst_base_audio_sink_preroll:
> > > > > /pipeline0/osssink0:
> > > > > sink not negotiated.
> > > > > ERROR: pipeline doesn't want to preroll.
> > > > > Setting pipeline to PAUSED ...
> > > > > Setting pipeline to READY ...
> > > > > Setting pipeline to NULL ...
> > > > > FREEING pipeline ...
> > > > 
> > > > You can't play a .wav file directly into the
> > osssink
> > > > - you need to decode it.
> > > > 
> > > > Try: gst-launch filesrc location=sine.wav !
> > wavparse
> > > > ! audioconvert ! osssink
> > > > 
> > > > Cheers,
> > > > Jan.
> > > > 
> > > > -- 
> > > > Jan Schmidt thaytan at noraisin.net
> > > > 
> > > > If Darl McBride had his way, he would have
> > banned
> > > > marriage too, because
> > > > it
> > > > obviously is against the remunerative interests
> > of
> > > > prostitutes
> > > > - Bruce Perens
> > > > 
> > > > 
> > > > 
> > > 
> > > 
> > > __________________________________________________
> > > Do You Yahoo!?
> > > Tired of spam?  Yahoo! Mail has the best spam
> > protection around 
> > > http://mail.yahoo.com 
> > > 
> > > 
> > >
> >
> -------------------------------------------------------
> > > 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!
> > >
> >
> http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
> > > _______________________________________________
> > > gstreamer-devel mailing list
> > > gstreamer-devel at lists.sourceforge.net
> > >
> >
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
> > 
> > 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 
> 
> 
> -------------------------------------------------------
> 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!
> http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel





More information about the gstreamer-devel mailing list