How to detect dropped frames?

Tim-Philipp Müller t.i.m at zen.co.uk
Wed Nov 14 03:43:17 PST 2012


On Wed, 2012-11-14 at 03:31 -0800, Ralph wrote:

> I am displaying multiple videos simultaneously using gnonlin.  When I try to
> play 8 videos at x8 speed, the machine is not able to handle it and lots of
> friends are dropped, the videos are temporarily paused.  How can I detect
> such situations programmatically?  I need to know when I reached the limits
> of smooth playback.

With recent versions of GStreamer (1.x) you should get QoS messages on
the pipeline bus when decoders or sinks drop frames. (Possibly also with
0.10 git, not sure about last 0.10 releases)

Cheers
 -Tim



More information about the gstreamer-devel mailing list