Queue Overrun
Nicolas Dufresne
nicolas at ndufresne.ca
Tue Oct 10 15:49:33 UTC 2017
Le mardi 10 octobre 2017 à 17:09 +0200, Duchassin Frederic a écrit :
> Hello Nicolas,
>
> You're right about tipo. It's a mistake when I copy/paste and rewrite
> the pipeline on this post.
> In fact my pipeline is well written....
>
> If I replace the queue element by queue2, I doesn't get anymore
> OVER_RUN. (like if queue element doesn't accept max-size-bytes
> parameter.)
> Have you got an idea about why queue doesn't accept max-size-bytes ?
> and always gives overrun.
You seem to have missed my first reply:
Likely because you didn't disable the "max-size-time" and/or "max-size-
buffers" property. It is set to 10s and 200 buffers respectively by
default. Set these to 0 to disable.
Queue2 default configuration is different, as it targets a different use case.
regards,
Nicolas
>
> Frederic
>
>
>
> -----Message d'origine-----
> De : gstreamer-devel [mailto:gstreamer-devel-bounces at lists.freedeskto
> p.org] De la part de Nicolas Dufresne
> Envoyé : mardi 10 octobre 2017 15:47
> À : Discussion of the development of and with GStreamer
> Objet : Re: Queue Overrun
>
> Le mardi 10 octobre 2017 à 08:42 +0000, Duchassin Frédéric a écrit :
> > Hello,
> >
> > I use this pipeline on Imx6 :
> >
> > gst-launch-1.0 udpsrc address=239.0.0.1 port=1234 ! queue max-
> > size_bytes=20000000 min-threshold-bytes=100 ! tsdemux name=d
> > program-
>
> Please notice your typo here, It's "max-size-bytes" with a - not a _.
>
> > number=275 ! multiqueue name=q use-buffering=1 d. ! q. q. ! queue
> > !
> > decodebin ! queue ! imxg2dvideosink q. ! queue ! decodebin ! queue
> > !
> > audioconvert ! volume volume=10 ! alsasink
> >
> >
> > And i get queue OVERRUN signal on queue before decodebin.
> > I try to search why this queue has overflow by reading level and I
> > get
> > this :
> >
> > OVER_RUN : bufferdecodebinvideo : Max buffer size : 100000000
> > OVER_RUN : bufferdecodebinvideo : Number of bytes in buffer :
> > 1159086
> >
> > ???
> >
> > Why I get overrun whereas the max-size of queue is not reached ?
> >
> > BR.
> >
> > Frederic
> >
> > _______________________________________________
> > 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/20171010/1d4f1a5a/attachment.sig>
More information about the gstreamer-devel
mailing list