Poor HD performance with appsink
tim at centricular.com
Thu Feb 13 09:28:14 PST 2014
On Thu, 2014-02-13 at 01:40 +0000, Gordon Nickel wrote:
> 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.
Could you share with us some more details about your pipeline? Maybe a
dot file / svg image of the elements or so?
What does 'the video track can get very far behind the audio' mean
> I can provide the problem videos if that would be helpful.
That might also be helpful, yes. (Though if it plays fine with playbin,
there's no reason why the same file wouldn't work with your app and
appsrc feeding data).
Tim Müller, Centricular Ltd - http://www.centricular.com
More information about the gstreamer-devel