[Mono-list] Status of gst-sharp

Aaron Bockover abockover at novell.com
Mon Dec 12 02:39:32 EST 2005


I have moved the gst-sharp bindings in Mono subversion from
/source/trunk/gst-sharp to /source/trunk/old-code/gst-sharp. Henceforth
they should absolutely be considered obsolete. Hopefully in the future,
usable bindings can be developed against GStreamer 0.10.

For now, yes, it's best to write the functionality you desire from
GStreamer in C, wrapped in a simple, easily P/Invokable C API, and bind
that API to bring the functionality into managed land. As with any
binding, become friends with HandleRef and the IDisposable convention.
With GStreamer 0.10, this task is even easier, considering GStreamer
handles threading very well, and uses a message bus. This means minimal
C code compared to 0.8, so I *highly* recommend using 0.10 for new
development.

See Banshee in Gnome CVS for a good example of how this is done (0.8 and
0.10 examples):

/cvs/gnome/banshee/libbanshee/
/cvs/gnome/banshee/src/Banshee.MediaEngine/Gstreamer/

Best,

Aaron Bockover
Banshee Project
http://banshee-project.org/


numberR wrote:

> Thank you for your quick reply.
>
> I would look at those alternatives.
> It's sad but it's still good to know gst-sharp is obsolete.
>
>
>
>
> Senko Rasic wrote:
>
>> On 12/11/05, numberR <numberR at gmail.com> wrote:
>>
>>> Hello,
>>>
>>> I noticed that gstreamer-0.10 has been released and wondered if I can
>>> use it from gst-sharp that is available at this moment.
>>> I actually compiled gst-sharp on machine with gstreamer-0.10 installed,
>>> but it seems to look for gstreamer-0.8.
>>
>>
>>
>> That is correct. gst-sharp is obsolete and unmaintained, and shouldn't
>> (well, can't) be used. Currently the only non-C bindings for gstreamer
>> is for python.
>>
>>
>>> Is there any hard-coding to refer gstreamer-0.8 from gst-sharp, or
>>> anyone succeeded using gstreamer-0.10 from gst-sharp?
>>
>>
>>
>> No, gstreamer 0.8 and 0.10 are *very* different, and there's no way
>> of easy porting current bindings (that's what I've been told, I haven't
>> tried to port them myself).
>>
>> That said, you may have a few options. If you just want audio
>> playback, you may go the Banshee way. Banshee has a helper
>> C library (libbanshee), which, among other things, conveniently
>> wraps gstreamer functionality, and presents a simple interface
>> to the managed side. Libbanshee is stable and works nicely,
>> so if simple playback is all you want, you've got it.
>>
>> The other option would be to wait until someone ports gst-sharp
>> to the newer version, or even try this yourself.
>>
>> The third option is to use gdv, a C library and accompanying c#
>> bindings which are the core of the Diva video editing software.
>> This is highly experimental, there's no stable version as of
>> yet, not even the release, but you can get the source from svn
>> and see for yourself :)
>>
>> -- 
>> Senko Rasic <senko at senko dot net>
>>
>
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list




-- 
--
Aaron Bockover
Lead Developer, Banshee Project
abockover at novell.com



More information about the Mono-list mailing list