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?