Decodebin and queue

Duchassin Frédéric duchassin at sefram.fr
Fri Sep 1 07:41:52 UTC 2017


Hello All,

I try using gstreamer API to decode a TS stream.
In order to do this, I use decodebin.
Using this command I get some artefacts on the screen:

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 ???

Thanks  in advance for your help

Frederic



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20170901/a0c5436f/attachment.html>


More information about the gstreamer-devel mailing list