Decodebin and queue

Nicolas Dufresne nicolas at ndufresne.ca
Wed Sep 6 16:31:14 UTC 2017


Le mercredi 06 septembre 2017 à 16:49 +0200, Duchassin Frederic a
écrit :
> I don't read the latency value.
> I just put 1ms. 
> But I get no error. Just the sound is not present.

By forcing it to 1ms, you are likely reducing the latency, that can
explain why you lost audio (everything is late). Try something in the
range of 400ms. alsasink default latency is 200ms (can be configured
through buffer-time property).

> 
> BR
> 
> Frederic
> 
> 
> 
> -----Message d'origine-----
> De : gstreamer-devel [mailto:gstreamer-devel-bounces at lists.freedeskto
> p.org] De la part de Nicolas Dufresne
> Envoyé : mercredi 6 septembre 2017 15:04
> À : Discussion of the development of and with GStreamer
> Objet : Re: Decodebin and queue
> 
> Le mercredi 06 septembre 2017 à 12:05 +0200, Duchassin Frederic a
> écrit :
> > Hello Nicolas,
> > 
> > I try to increase the latency (using gst_pipeline_set_latency())
> > but I 
> > lost the sound !
> 
> How much did you increase it ? Maybe you don't have enough buffering.
> 
> > 
> > BR
> > 
> > Frédéric
> > 
> > 
> > 
> > -----Message d'origine-----
> > De : gstreamer-devel [mailto:gstreamer-devel-bounces at lists.freedesk
> > to
> > p.org] De la part de Nicolas Dufresne
> > Envoyé : lundi 4 septembre 2017 17:19
> > À : Discussion of the development of and with GStreamer Objet :
> > Re: 
> > Decodebin and queue
> > 
> > Le lundi 04 septembre 2017 à 15:48 +0200, Duchassin Frederic a
> > écrit
> > :
> > > I can't use decodebin3. I'm working in a embedded device and 
> > > gstreamer version is 1.0. Decodebin3 is not installed.
> > > I don't really know why this queue between parser and decoder
> > > gives 
> > > better result...
> > > So what I should do ? build the whole pipeline myself ?
> > 
> > When, everyone can update GStreamer, it's just a matter of effort 
> > really. See by yourself what's the best use of your time.
> > 
> > What probably happens is that your decoder is barely fast enough.
> > You 
> > could also try and increase the latency (see 
> > gst_pipeline_set_latency()).
> > 
> > regards,
> > Nicolas
> > _______________________________________________
> > gstreamer-devel mailing list
> > gstreamer-devel at lists.freedesktop.org
> > https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> > 
> > _______________________________________________
> > gstreamer-devel mailing list
> > gstreamer-devel at lists.freedesktop.org
> > https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> 
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20170906/e4989c3a/attachment.sig>


More information about the gstreamer-devel mailing list