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=220.127.116.11 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)