idk, if it would matter for you but i have my media_file1.play()
right after the setPaintable
and before the picture gets attached to the window.
@ebassi do you know where gtk4 ended up in regards to this?
is there a way/what is the method for directly connecting a playbin pipeline to a widget without cpu copy? It doesnāt look like thereās a way to feed my rtsp ipcam stream to a paintable like newMediaFileForPipeline(), for instance. Or maybe a more manual way that currently works for gtk4? (preferably with no cpu copy)
thanks
Zero copy OpenGL rendering should be supported with the gstreamer backend since this commit: media: Add support for OpenGL to GtkGstMediaFile (7901ab85) Ā· Commits Ā· GNOME / gtk Ā· GitLab
cool, but how do you get a ipcam rtsp stream into the MediaFile
? gio.newGFileForUri
seems to be picky about the rtsp stream in some way.
Iām not sure, I think this could be a GTK bugā¦
this one looks scary for cpu usage: [GTK4] Using GtkMediaFile increases CPU usage substantially compared with using GtkVideo without GtkMediaFile (#4184) Ā· Issues Ā· GNOME / gtk Ā· GitLab
possibly related to the gio.newGFileForUri
pickyness question: Explain "real URIs" comment better (#3902) Ā· Issues Ā· GNOME / gtk Ā· GitLab
That first one is very odd to me since all gtk_video_new_for_filename
does is call gtk_video_set_media_stream
internally.
I reported the issue, while i work on the rest of the application.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.