After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 635860 - gst-introspection tool [review]
gst-introspection tool [review]
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-devtools
git master
Other All
: Normal enhancement
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2010-11-26 15:30 UTC by Luis de Bethencourt
Modified: 2018-11-03 11:05 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
improve setup-sj (943 bytes, patch)
2011-02-04 10:55 UTC, Stefan Sauer (gstreamer, gtkdoc dev)
none Details | Review

Description Luis de Bethencourt 2010-11-26 15:30:32 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
Comment 1 Stefan Sauer (gstreamer, gtkdoc dev) 2010-11-29 12:07:00 UTC
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?
Comment 2 Luis de Bethencourt 2010-11-29 17:20:02 UTC
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
Comment 3 Florent Thiéry 2010-11-29 17:55:22 UTC
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
Comment 4 Luis de Bethencourt 2010-11-30 14:56:04 UTC
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
Comment 5 Florent Thiéry 2011-02-04 10:30:00 UTC
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
Comment 6 Stefan Sauer (gstreamer, gtkdoc dev) 2011-02-04 10:55:58 UTC
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)
Comment 7 Florent Thiéry 2011-02-04 11:33:23 UTC
Thanks stefan, patch applied
Comment 8 Luis de Bethencourt 2011-03-18 16:31:34 UTC
So shall we try and move this into gst-python/examples ~ tools, or should people just grab it from Florent's repository?
Comment 9 Stefan Sauer (gstreamer, gtkdoc dev) 2011-03-18 20:21:03 UTC
We will make a gst-tools module and try to collect such tools there.
Comment 10 Luis de Bethencourt 2011-03-18 20:36:14 UTC
I agree. I will talk to the peeps to get the module created.
Comment 11 René Stadler 2011-03-18 22:40:27 UTC
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).
Comment 12 Sebastian Dröge (slomo) 2012-12-17 12:01:24 UTC
There's now http://cgit.freedesktop.org/gstreamer/gst-devtools/ which is still empty. Is there any interested still in getting this in there?
Comment 13 Florent Thiéry 2012-12-17 15:50:02 UTC
https://github.com/fthiery/gst-gengui does work on 0.10; is gst-devtools 1.0 oriented ?
Comment 14 Luis de Bethencourt 2012-12-17 16:30:35 UTC
I think there is still interest to have dev tools.
Comment 15 Tim-Philipp Müller 2012-12-17 16:43:05 UTC
> is gst-devtools 1.0 oriented ?

Yes.
Comment 16 GStreamer system administrator 2018-11-03 11:05:34 UTC
-- 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.