Poor HD performance with appsink

Gordon Nickel gordon.nickel at downstream.com
Wed Feb 12 17:40:26 PST 2014


I have an implementation of Gstreamer 1.0 for Windows using appsink to play videos back. Generally, performance is pretty good, and quality is excellent. However, with some specific videos (all 1080p, 720p seems to be fine), the video track can get very far behind the audio, at which time the audio starts to stutter and eventually cut out. I don't believe it's an issue with the app itself (which generally gets 90-200 fps with videos running), but my implementation of Gstreamer. The same videos play without issue using playbin in gst-launch.

I've tried setting drop frames ( gst_app_sink_set_drop to true ) and max lateness to various values from 1 second to 0.01 seconds. In doing so, the audio won't cut out, but the video will stutter to an unnacceptable degree (approx 1 frame per second). I've also tried different bit rates, but have generally stuck with h.264 for codecs. Mpeg 2 had similar performance issues.

Playing the video through the app but with it's own directdrawsink window played back smoothly.

I can provide the problem videos if that would be helpful.

Gstreamer builds 1.0.10, 1.2.0 and 1.2.3 have all been tried with the same results.

Any ideas to improve performance?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20140213/7905b13d/attachment.html>

More information about the gstreamer-devel mailing list