How do I avoid "not negotiated error"?

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

How do I avoid "not negotiated error"?

S Boucher
I get the following error:
GStreamer Error: gstbasetransform.c(1918): gst_base_transform_handle_buffer (): /GstPipeline:player/GstBin:mbaudiosink/GstAudioConvert:audioconvert:
not negotiated

I have a pipeline which uses decoderbin. This means that buffers are pushed in the pipeline while the pipeline is not yet fully linked.

How am I supposed to know when it is ok for the source's pad task to push data in order to avoid negotiation errors?

I do set the caps of the src pad of my source element.

I'm using autoaudiosink as the sink of the pipeline.  If I switch to pulsesink, then the problem does not seem occur, but given that this is an intermittent problem, it's not clear that I'm actually fixing anything by going to pulsesink.



      __________________________________________________________________
Yahoo! Canada Toolbar: Search from anywhere on the web, and bookmark your favourite sites. Download it now
http://ca.toolbar.yahoo.com.

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: How do I avoid "not negotiated error"?

Tim-Philipp Müller-2
On Wed, 2010-02-24 at 12:23 -0800, S Boucher wrote:

> I have a pipeline which uses decodebin.

"A pipeline"? If you could provide details about the whole pipeline,
that would be helpful.

> I'm using autoaudiosink as the sink of the pipeline.  If I switch to
>  pulsesink, then the problem does not seem occur, but given that this
>  is an intermittent problem, it's not clear that I'm actually fixing
>  anything by going to pulsesink.

Maybe you're missing an audioresample element in addition to the
audioconvert?

Cheers
 -Tim



------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: How do I avoid "not negotiated error"?

S Boucher


--- On Wed, 2/24/10, Tim-Philipp Müller <[hidden email]> wrote:

> > I have a pipeline which uses decodebin.
>
> "A pipeline"? If you could provide details about the whole
> pipeline,
> that would be helpful.

homemadesrc->decodebin->audioconvert->audioresample->volume->audiopanorama->autoaudiosink

> > I'm using autoaudiosink as the sink of the
> pipeline.  If I switch to
> >  pulsesink, then the problem does not seem occur,
> but given that this
> >  is an intermittent problem, it's not clear that
> I'm actually fixing
> >  anything by going to pulsesink.
>
> Maybe you're missing an audioresample element in addition
> to the
> audioconvert?

The problem is intermittent, not systematic.



      __________________________________________________________________
Looking for the perfect gift? Give the gift of Flickr!

http://www.flickr.com/gift/

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel