[gst-devel] Ogg, Spider, and Volume not working together

Thomas Vander Stichele thomas at apestaart.org
Fri Mar 5 06:14:06 CET 2004


Hi,

Ok, so I tried to reproduce your problems using my 0.7.5 install, and
HEAD (Benjamin says he put a fix in yesterday).


> gst-launch-0.7 filesrc location=filename.ogg ! spider ! volume ! osssink

worked fine for me in HEAD, also had static in 0.7.5

> Same results with static when I use alsasink or esdsink at the end.
Cannot test alsasink.  esdsink worked fine in both versions for me.

> gst-launch-0.7 filesrc location=filename.ogg ! spider ! osssink
> 
> also produces static, but using alsasink or esdsink at the end sounds
> perfectly fine.
> 
> gst-launch-0.7 filesrc location=filename.ogg ! vorbisfile ! volume ! osssink
> 
> is also fine, along with any other output sink.  Also fine without volume.
> 
> gst-launch-0.7 filesrc location=filename.ogg ! oggdemux ! vorbisdec ! alsasink
> 
> is also fine.  No sound if I use osssink, though, with lots of errors of
> the type: 
> (process:29366): GStreamer-WARNING **: push on peer of pad vorbisdec0:src but peer is not active

I looked into why vorbisdec ! osssink doesn't just error out, and I
noticed the parsing code tries to unlock the sink and then sync the
state to that of the parent, which then of course fails.

Benjamin, I added a check there and a GST_ELEMENT_ERROR, but I would
rather find some way to make the error say, before that, that the caps
nego failed.  Any idea how I should do that ?

Also, I then noticed that the rest of the pipeline happily tries to keep
playing, so I added some code to the error handler that tries to pause
the parents recursively.  If someone thinks this is a bad idea, let me
know.

For now, it does what it should do; error out and stop running after
that.

John, do all these fixes combined fix your problems, or is something
still left now ?

Thanks
Thomas

Dave/Dina : future TV today ! - http://www.davedina.org/
<-*- thomas (dot) apestaart (dot) org -*->
The blood before me makes me open up my heart again
And I feel it coming over like a storm again
<-*- thomas (at) apestaart (dot) org -*->
URGent, best radio on the net - 24/7 ! - http://urgent.fm/






More information about the gstreamer-devel mailing list