Leon Woestenberg

GStreamer gplay frame-drops versus mxc_vpu_test smooth play

Discussion created by Leon Woestenberg on Jan 22, 2012
Latest reply on Mar 13, 2012 by Leon Woestenberg

Can someone explain why Gstreamer does not play smooth video?


Same file (2500 kbit/s)

sh-4.2# /mxc_vpu_test.out -D "-i /tmp/sd/trailer_1080p.h264 -f2"


plays smoothly

sh-4.2# gplay /tmp/sd/trailer_1080p.h264



VPU blocking: timeout.


VPU blocking: timeout.

VPU blocking: timeout.
EOS Found!
total time:0:00:27.965825376 ,Render fps:9
Total rendered:275

>>VPU_DEC: State: Ready to Null
player_exit(): No more multimedia files, exit.
[--->FINALIZE v4l_sink
[--->FINALIZE vpu_dec
[Stopped  ][Vol=01][00:00:00/00:00:00][fps:0]g_main_loop_thread_fun() quit!

real    0m30.191s
user    0m1.100s
sys    0m1.130s

The CPU usage of gplay is low, so I do not see what could be the cause of the timeout and stutters and frame-drops. Has this to do with A/V sync. Note that I have used a raw H.264 stream without audio or mux container.

(This is not due to VFS caching, I have changed the order of playout, and gplay always stutters).