<div dir="ltr">Hi!<div><br></div><div>I have problem with playback of 1080p on rpi2(archlinuxarm).</div><div><br></div><div>##Prelude - how I compiled gstreamer##</div><div>I compiled gstreamer, gst-plugins-base, gst-plugins-good, gst-plugins-bad version 1.6.1 from tarbals from here: <a href="http://gstreamer.freedesktop.org/src/" target="_blank">http://gstreamer.freedesktop.org/src/</a>.<br></div><div>Here is build scripts that I use: <a href="https://gist.github.com/sergunich/1010791aaf59c97a9a23" target="_blank">https://gist.github.com/sergunich/1010791aaf59c97a9a23</a><br>Main part is build() functions, where I call configure and disable a lot redundant plugins.</div><div><br></div><div>I got gst-omx version 1.2.0 from precompiled archlinluxarm packages, here is building script: <a href="https://github.com/archlinuxarm/PKGBUILDs/blob/master/alarm/gst-omx-rpi/PKGBUILD" target="_blank">https://github.com/archlinuxarm/PKGBUILDs/blob/master/alarm/gst-omx-rpi/PKGBUILD</a></div><div><br></div><div>All compiles successfully and passes tests.</div><div><br></div><div>##Main part##</div><div>I use this video for testing: <a href="http://download.openbricks.org/sample/H264/big_buck_bunny_1080p_H264_AAC_25fps_7200K_short.MP4" target="_blank">http://download.openbricks.org/sample/H264/big_buck_bunny_1080p_H264_AAC_25fps_7200K_short.MP4</a></div><div>Here is result of gst-discoverer-1.0 for this video: <a href="https://gist.github.com/sergunich/ba10bb832b4996c31fad" target="_blank">https://gist.github.com/sergunich/ba10bb832b4996c31fad</a></div><div><br></div><div>I use this command to launch playback: </div><div>gst-launch-1.0 -ve filesrc location=./big_buck_bunny_1080p_H264_AAC_25fps_7200K_short.MP4 ! queue name=demux ! qtdemux ! queue name=parse ! h264parse ! queue name=decode ! omxh264dec ! queue name=sink ! glimagesink<br></div><div><br></div><div>Playback is laggish. Output to console: <a href="https://gist.github.com/sergunich/8aa410ee527d642ddcba" target="_blank">https://gist.github.com/sergunich/8aa410ee527d642ddcba</a></div><div>Main message from this output:</div><div>""""</div><div><div>WARNING: from element /GstPipeline:pipeline0/GstGLImageSinkBin:glimagesinkbin0/GstGLImageSink:sink: A lot of buffers are being dropped.</div><div>Additional debug info:</div><div>gstbasesink.c(2846): gst_base_sink_is_too_late (): /GstPipeline:pipeline0/GstGLImageSinkBin:glimagesinkbin0/GstGLImageSink:sink:</div><div>There may be a timestamping problem, or this computer is too slow.</div></div><div>"""""</div><div><br></div><div>Here is full debug log with GST_DEBUG=6: <a href="https://copy.com/PzLQ4jQlLRhGCoQE/gst.log?download=1" target="_blank">https://copy.com/PzLQ4jQlLRhGCoQE/gst.log?download=1</a></div><div>And here most relevant parts(as seems to me): <a href="https://gist.github.com/sergunich/94990944f46fe5aa0a68" target="_blank">https://gist.github.com/sergunich/94990944f46fe5aa0a68</a></div><div><br></div><div>##Hardware resources##</div><div>Here is 'top' snapshots of processes with threads during playback: <a href="https://gist.github.com/sergunich/e13889e33bf05a43156d">https://gist.github.com/sergunich/e13889e33bf05a43156d</a></div><div>In /boot/config.txt: gpu_mem=512</div><div><br></div><div><br></div><div>##Questions##</div><div>So... any idea why playback is laggish?)</div><div>How can I investigate this problem further?</div><div><br></div><div><br></div><div>##P.S.##</div><div>If I set glimagesink sync=false - playback is like slowmotion.</div></div>