pi: frame drops when decoding H264 1080p@60 video
@gdesmott
Submitted by Guillaume Desmottes Link to original bug (#785686)
Description
I get a lot of frame drops when trying to decode a 60fps 1080 video (like https://drive.google.com/file/d/0BwxFVkl63-lETTVtaVV0LUVRZ1k/view?usp=sharing ) but playing the same file using omxplayer is smooth.
I use this playback pipeline:
gst-launch-1.0 -v filesrc location=FPS_test_1080p60_L4.2.mkv ! matroskademux ! h264parse ! omxh264dec ! queue ! glimagesink
The decoder seems to be able to decode fast enough as shown with this pipeline, so the slow down should be in glimagesink.
gst-launch-1.0 -v filesrc location=FPS_test_1080p60_L4.2.mkv ! matroskademux ! h264parse ! omxh264dec ! glupload ! "video/x-raw(memory:GLMemory)" ! fpsdisplaysink video-sink=fakesink
/GstPipeline:pipeline0/GstFPSDisplaySink:fpsdisplaysink0: last-message = rendered: 304, dropped: 0, current: 61,41, average: 59,90