AnsweredAssumed Answered

imx53 latency with h264 and udpsrc

Question asked by Tom Rossano on May 6, 2014
Latest reply on May 24, 2015 by xswy zao

I am receiving a UDP h264 stream from a device encoding its screen and decoding it with gstreamer on the iMx53.  The following is my command line:


gst-launch-0.10 -v udpsrc port=5002 ! queue ! h264parse ! mfw_vpudecoder codec-type=std_avc parser=true ! mfw_isink sync=false async=false > /dev/null

 

The video output has a latency of about a second, probably because that is the keyframe rate of the encoder.  It has very low latency (200-300ms) if I stream it to a Linux PC instead of the iMx53 board using the following command line:

 

gst-launch-0.10 -v udpsrc port=5002 ! queue ! h264parse ! ffdec_h264 ! autovideosink

 

Does anyone have any thoughts on how to reduce the latency?  Is there something built into the VPU libraries that may be buffering the data in some way that can be optimized?

 

Thanks.

 

Tom

Outcomes