GNOME Bugzilla – Bug 635860
gst-introspection tool [review]
Last modified: 2018-11-03 11:05:34 UTC
gst-gengui is an utility for testing and controlling live GStreamer pipelines and elements. It will inspect the specified pipeline to create the GTK GUI automagically, based on the value type of properties. A list of properties for each element will be displayed. Then you can search for/adjust any property value and see the outcome immediately. Originally developed by Florent Thiery, I've fixed a few bugs and made it non-dependant of external code. The code is available for review at: https://github.com/luisbg/gst-introspection
Nice job, I like the idea behind the tool from the star, but the extra deps always caused me issues. Are you proposing to add it to gst-python? We could make a gst-tools repo and add this tool and gst-inspector, gst-debug-viewer there. For the name I'd suggest keeping gst-genui or calling it gst-launch-ui. I noticed serveral issues, but lets start fixing them once we have the code merged somewhere. Also, I wonder if you have spoken with florent about your proposal?
Stefan, My proporal is to add it to gst-python, but I'm open for any other ideas and the location is a community decision. Since the code is in python I just thought it would be a logical place, but I can be wrong :) Keeping the name gst-gengui is fine with me. It just sounded a bit generic to me, but it is also than can be decided by votes of people interested. Florent has been asked for approval through email, and I hope he joins this thread. Luis
Hi. Thanks for the proposal, of course i will be more than honored to have it included in one of the gstreamer official projects. I agree with Stefan regarding the need for a dedicated repository for non-core utilities (currently gstreamer0.10-tools), might be better than including it into the bindings themselves (or maybe in the examples/ directory ? doesn't seem a good solution). If all of these third-party tools are python-based, maybe a python-gstreamer0.10-tools package/repo ? gst-launch-ui sounds good to me, also what about gst-glaunch, or gst-gtklaunch ? Also, as Stefan mentioned, there is a dependency on the gstmanager library, which we could remove completely. It's more of a "placeholder" library anyway, and most of the code for pipeline concatenation logic will soon be deprecated. @Luis, i can't check out your git branch right now, having network issues here Florent
Thanks Florent! I agree with all that has been said. Let's make the code as best as possible and then decide the name/location :) Luis
Hello, Luis, unfortunately, the git project you set up was based on a largely outdated version. I recently improved the code base, fixed bugs, removed external deps, replaced prints by proper python logging, and added the following features: * dot graph displayer * gst.Element type message debugger/viewer (along with data content preview) * read-only values are now set to sensitive(False), and they are regularly polled to display the new value. For instance, this allows to monitor the queue filling status The new code is here: https://github.com/fthiery/gst-gengui It's developped and tested on Ubuntu 10.04. Could you please use this as main import branch rather ? Also, for the read-only properties polling, i tried using queue.connect('notify::current-level-time', callback) but it doesn't seem to work at all: callback is never called, so i did some rought get_property-based polling. Any hints ? Florent
Created attachment 180067 [details] [review] improve setup-sj Florent, this is for your repo. Still hope that someone can make a proper setup.sh (cymacs gst-inspector and gst-debug-viewer on fdo have good examples)
Thanks stefan, patch applied
So shall we try and move this into gst-python/examples ~ tools, or should people just grab it from Florent's repository?
We will make a gst-tools module and try to collect such tools there.
I agree. I will talk to the peeps to get the module created.
Sounds great. Would be nice to join gengui (launch-ui?), inspector and debug-viewer together into a more integrated form. GStreamer IDE, anyone? :) Please go ahead as you proposed -- I will join the fun later (something tells I will have lots of free time on my hands soon).
There's now http://cgit.freedesktop.org/gstreamer/gst-devtools/ which is still empty. Is there any interested still in getting this in there?
https://github.com/fthiery/gst-gengui does work on 0.10; is gst-devtools 1.0 oriented ?
I think there is still interest to have dev tools.
> is gst-devtools 1.0 oriented ? Yes.
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gst-devtools/issues/1.