It’s been a while now that Gtk4 shipped out, with a new Gtk.Video()
component to display a simple video in a Gtk window without resorting to using Gstreamer.
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? Like a library to install, anything?
Is there a single implementation example of this widget anywhere on the internet ?
Thanks a lot Youssef, but I just tried it and the same thing happened: Widget loads fine, but the video does not play ; I’m gonna try and find another machine but at least on this one (I’m on a Ubuntu 22 / Rapberry Pi 4 at the moment, and Gstreamer 1.n tools and libs work just fine) the implementation is broken, I’m guessing some libs are missing, I tried installing everything that has gtk4 in the name, but that didn’t help.