Generating frames from a paused video?

Tim-Philipp Müller t.i.m at zen.co.uk
Mon May 21 01:54:52 PDT 2012


On Sat, 2012-05-19 at 21:42 -0400, Robert Schroll wrote:

Hi,

> I'm trying to put together a simple video player with overlaid controls. 
>   At the moment, I'm using cairooverlay to draw the controls directly on 
> the video stream.  When I receive user input, I just update some state 
> variables so that when the next frame is drawn, it properly reflects the 
> user's actions by prelighting controls, etc.  This works pretty well 
> when the video is playing (low frame-rate videos have a bit of lag in 
> the controls, but I'm willing to live with it), but it means nothing is 
> updated when the video is paused.  I'm trying to work around this, but 
> I'm new to gstreamer and don't know which ideas are feasible.  Any 
> comments you have on which way to go (or if there's an entirely better 
> way to do this) would be appreciated.

I think it would be best/easiest if you did the overlay outside of the
GStreamer pipeline. Have you considered using e.g. clutter and
clutter-gst?

Cheers
 -Tim



More information about the gstreamer-devel mailing list