D-Bus controller GStreamer daemon

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

D-Bus controller GStreamer daemon

Todd Fischer
Hi,

Question:  Who do I ask to get permission to use a D-Bus name containing "org.freedesktop.gstreamer"?

We have started work on a GStreamer daemon (http://sourceforge.net/apps/mediawiki/harrier) that is controlled via D-Bus messages.  Does anyone know of other work done in this area?

Background:

We call the GStreamer daemon gstd.  We have a command line utility, call gst-client that can interact with gstd.  For example,

    gst-client create "videotestsrc pattern=0 ! warptv ! ffmpegcolorspace ! ximagesink"

The create option returns an ID for the created pipeline - in this case it will be ID 0.  gstd allows multiple pipelines to exist at the same time.

Now we can start the stream playing:

    gst-client play --id=0

Once it is playing, we can dynamically set element properties, such as change the pattern generated by videotestsrc

  gst-client set --id=0  videotestsrc pattern

We modeled gst-client after gst-launch, with the ability to dynamically set element properties.

gst-client is just an example program showing how to use gstd.  We will interact with gstd with GUI applications and web servers.

Since we are using D-Bus, we need to have a bus name and corresponding object path.  I would like to use

D-Bus name: org.freedesktop.gstreamer.gstd

D-Bus object path: /org/freedesktop/gstreamer/gstd

Note: this approach is similar to the one followed by (the apparently defunct) Gstreamer On-Demand (http://static.fi/~zeenix/repos/god/spec.html)

Todd



------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: D-Bus controller GStreamer daemon

Tim-Philipp Müller-2
On Thu, 2009-12-10 at 16:08 -0700, Todd Fischer wrote:

Hi,

> Since we are using D-Bus, we need to have a bus name and corresponding
> object path.  I would like to use
>
> D-Bus name: org.freedesktop.gstreamer.gstd
> D-Bus object path: /org/freedesktop/gstreamer/gstd

This is quite a generic part of the namespace you're planning on taking
over here ('gstd' in the GStreamer domain).

Any reason not to use e.g. /net/sourceforge/harrier/gstd
or /com/ridgerun/harrier/gstd or somesuch?

As I see it, what you're exposing is basically an API of some sort, and
just like we wouldn't be keen on seeing third party libraries expose API
in the GStreamer namespace (not to mention use our domain as origin of
some sort), I don't think we'd be keen on this for a dbus-based
interface either.

But maybe that's just me.

 Cheers
  -Tim



------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: D-Bus controller GStreamer daemon

Todd Fischer
In reply to this post by Todd Fischer
On  Fri, 11 Dec 2009 00:17:49 +0000 Tim-Philipp M?ller wrote:

On Thu, 2009-12-10 at 16:08 -0700, Todd Fischer wrote:

Hi,

> Since we are using D-Bus, we need to have a bus name and corresponding
> object path.  I would like to use
>
> D-Bus name: org.freedesktop.gstreamer.gstd
> D-Bus object path: /org/freedesktop/gstreamer/gstd

This is quite a generic part of the namespace you're planning on taking
over here ('gstd' in the GStreamer domain).

Any reason not to use e.g. /net/sourceforge/harrier/gstd
or /com/ridgerun/harrier/gstd or somesuch?

As I see it, what you're exposing is basically an API of some sort, and
just like we wouldn't be keen on seeing third party libraries expose API
in the GStreamer namespace (not to mention use our domain as origin of
some sort), I don't think we'd be keen on this for a dbus-based
interface either.

But maybe that's just me.

Cheers
  -Tim

Tim,

I am trying to take of the world, one name space at a time.

/com/ridgerun/gstreamer/gstd is fine with me - great advertising.  If for some reason gstd gets wider adoption, then I will vote against changing it for compatibility reasons.  Since we don't have any deployment yet, I figured it was a good time to ask.

Todd



------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel