Decodebin and queue

Duchassin Frederic duchassin at sefram.fr
Mon Sep 4 07:09:41 UTC 2017


Hello,

 

Nobody can help me about this case ? 

Maybe the best way is to build the whole pipeline but due to the fact that
the video is sometimes different I had to use different parser/decoder. 

So it’s quite complicated and decodebin is perfect for that.

 

BR

 

Frederic

 

De : gstreamer-devel [mailto:gstreamer-devel-bounces at lists.freedesktop.org]
De la part de Duchassin Frédéric
Envoyé : vendredi 1 septembre 2017 09:42
À : 'Discussion of the development of and with GStreamer'
Objet : Decodebin and queue

 

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/20170904/678eec27/attachment.html>


More information about the gstreamer-devel mailing list