Decodebin and queue

Nicolas Dufresne nicolas at ndufresne.ca
Mon Sep 4 13:20:39 UTC 2017


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


More information about the gstreamer-devel mailing list