How to detect dropped frames?

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

How to detect dropped frames?

Ralph
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.
Reply | Threaded
Open this post in threaded view
|

Re: How to detect dropped frames?

Wim Taymans
On 11/14/2012 12:31 PM, 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.
You will receive QOS messages on the bus.
See also
http://cgit.freedesktop.org/gstreamer/gstreamer/tree/docs/design/part-qos.txt

Wim

>
>
>
> --
> View this message in context: http://gstreamer-devel.966125.n4.nabble.com/How-to-detect-dropped-frames-tp4656910.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: How to detect dropped frames?

Tim-Philipp Müller-2
In reply to this post by Ralph
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

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: How to detect dropped frames?

Ralph
In reply to this post by Wim Taymans
Thank you for the quick response, it is exactly what I was looking for, but for some reason I wasn't able to find (it looks so obvious now...).
I'm using GStreamer 0.10 (to be precise: OSSBuild WinBuilds v0.10.7, Beta 04 with C# bindings).