New Gtk4 Gtk.Video() widget

Sebastian Dröge sebastian at centricular.com
Fri Oct 28 05:59:52 UTC 2022


On Thu, 2022-10-27 at 23:54 +0100, yPhil via gstreamer-devel wrote:
> It's been a while now that Gtk4 shipped out, with a new Gtk.Video()
> component that allows to display a simple video in a Gtk window
> without resorting to using Gstreamer.

The only supported implementation right now is using GStreamer FWIW.
> There were a lot of blog posts about it ; But no matter how hard I
> try, I can't find a single example (? not even in C) of
> implementation ; I got as far as presenting the widget in a window
> (code here) but that's it :(
> The window shows up, with a neat play button in the lower left
> corner, all signals are good, no warnings or messages in the console,
> but the video doesn't play, the play button does nothing and the
> window stays black.
> Am I missing something obvious?
> Is there a single implementation example of this widget anywhere on
> the internet ?
The gtk4-demo has example usage of it.

A better place to ask this would probably be the GNOME
Discourse: https://discourse.gnome.org


-- 
Sebastian Dröge, Centricular Ltd · https://www.centricular.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20221028/3d91effd/attachment.htm>


More information about the gstreamer-devel mailing list