AnsweredAssumed Answered

IMX6q and Gstreamer  : How to play smoothly a TS stream ?

Question asked by Frederic DUCHASSIN on Oct 10, 2017
Latest reply on Oct 26, 2017 by igorpadykov

Hello,

 

I try using gstreamer on IMX6q (Yocto based OS) in order to play a TS stream. This stream is located on a closed network using UDP.

I use this pipeline:

 

gst-launch-1.0  udpsrc address=239.0.0.1 port=1234 buffer-size=20000000 ! tsdemux name=d program-number=257 ! multiqueue name=q use-buffering=1 d. ! q.  q. ! queue ! decodebin ! queue ! imxg2dvideosink q. ! queue ! decodebin ! queue ! audioconvert ! volume volume=10 ! alsasink

 

The program number 257 is H264 1080i @ 30fps video with ac-3 audio.

 

The problem is that using this pipeline, i get freeze sometimes and i get message from imxg2dvideosink about dropping frame because too late.

 

Have you got an idea about how i can improve my pipeline ?

 

(I try to delete all the queues but it's bader than before)

 

BR

 

Fred

Outcomes