Decodebin and queue

Duchassin Frederic duchassin at sefram.fr
Mon Sep 4 13:48:52 UTC 2017


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 ?

Frédéric

-----Message d'origine-----
De : gstreamer-devel [mailto:gstreamer-devel-bounces at lists.freedesktop.org] De la part de Nicolas Dufresne
Envoyé : lundi 4 septembre 2017 15:21
À : Discussion of the development of and with GStreamer
Objet : Re: Decodebin and queue

Le lundi 04 septembre 2017 à 09:09 +0200, Duchassin Frederic a écrit :
> gst-launch-1.0 udpsrc address=239.0.0.1 port=1234 buffer-
> size=20000000 ! tsdemux program-number=275 name=d d. ! multiqueue 
> name=q d. ! q. q. ! decodebin ! queue ! imxipuvideosink q. ! queue !
> decodebin ! queue ! audioconvert ! alsasink
>  
> But using this command, it’s working quite well:
>  
> gst-launch-1.0 udpsrc address=239.0.0.1 port=1234 buffer-size
> =20000000 ! tsdemux program-number=275 name=d d. ! multiqueue name=q 
> d. ! q. q. ! h264parse ! queue! imxvpudec ! queue ! imxipuvideosink q. 
> ! queue ! decodebin ! queue ! audioconvert ! alsasink
>  
> I suppose that the buffer between parser and decoder is needed in 
> order to decode smoothly. (without this buffer, I get same problem 
> than decodebin)
>  
> Have you got an idea about a method to add this buffer in decodebin 
> ???

I have the impression that this case will work with decodebin3, best is to give it a try. You can also split your pipeline using parsebin !
queue ! decodebin. Though, overall, I don't understand why adding these queue will make any difference, maybe you need to tweak the multiqueue settings ?

regards,
Nicolas
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



More information about the gstreamer-devel mailing list