Image flickering with ximagesink vs xvimagesink.

Stirling Westrup swestrup at
Tue Jun 17 07:48:55 PDT 2014

I've recently been working through some difficulties in my video-wall code
because some clients want to display slide-shows of images, rather than
play videos, AND some want to output to ximagesink rather than xvimagesink
(basically because they want to overlay the slides over content already on
the monitor and generated by a separate program. That's far more likely to
succeed if using ximagesink).

Anyway, the frustration I'm having is that ximagesink flickers under
circumstances where xvimagesink doesn't. So, if I have a series of 30 still
images, shown for 5 seconds each, and displayed on xvimagesink, I can set
things up so each image replaces the previous, without any flicker, even
though the images may require different decoding elements.

However, no matter what I try, when I move ximagesink from the READY to the
PLAYING state, the current display goes black for an instant before the new
frame is shown, and this produces an unpleasant flicker.

I was wondering if this was an actual bug in ximagesink, or if there is
some difference between the behaviours of the two sinks that I need to take
into account in order to get flicker-free displays of slides.

Stirling Westrup
Programmer, Entrepreneur.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the gstreamer-devel mailing list