I am using an iMX6 quad to decode and display a live h264 encoded video feed using gstreamer. I am using the following pipeline:
appsrc block=true is-live=true !
queue max-size-time=0 max-size-buffers=0 !
vpudec low-latency=true frame-plus=1 framedrop=false !
mfw_v4lsink device=/dev/video17 sync=false async=false
However I have found that there is a 12 frame delay between pushing a buffer into the appsrc, and it being displayed.
This may be connected to the following message that mfw_v4lsink is printing:
>>V4L_SINK: Actually buffer status:
hardware buffer : 12
software buffer : 0
Does anyone have any suggestions about how to reduce this delay?
I have attached a test application which demonstrates the problem.
Original Attachment has been moved to: gsttest.c.zip