Cross-platform C# application with Gstreamer

Andoni Morales ylatuya at gmail.com
Mon Mar 23 09:22:16 PDT 2015


Hi doon,

LongoMatch [1] is a C# cross-platform (windows, linux, osx)
application using Mono, GStreamer and Gtk#. When I started it there
wasn't bidings for C# available, so the backend code is written in C
using GObject [2] and the C# bindings were automatically generated
with the gapi-tools [3].

If you have the choice I would go for the gstreamer-sharp option,
which probably fits most of the uses cases, but It's something you
will need to check yourself, specially in Android and iOS. The entry
level for developers is much lower and changes in the backend
implementation don't need to be compiled for a specific platform as it
would happend with a backend written in C. You keep all the logic in
C#, it's easier to package and you don't have to worry about things
like the IDE integration, For example, Xamarin Studio  doesn't support
C project files, so you need to add the monodevelop plugin yourself
and set the env to build using mingw, which is a big pain to be honest
:)

Andoni

[1] http://longomatch.org/
[2] https://github.com/ylatuya/longomatch/tree/master/libcesarplayer
[3] https://github.com/ylatuya/longomatch/tree/master/LongoMatch.Multimedia

2015-03-23 16:17 GMT+01:00 doon <don-prog at mail.ru>:
> I have a very specific question. I want to create a multimedia multi-platform
> application on C# which will use Mono. Is it possible to create a C# Mono
> application which will use gstreamer-sharp or "pure" gstreamer or something
> like "glued" gstreamer on these platforms: Windows, Mac OS, Linux, iOS,
> Android? I think I can use Pinvoke, but maybe it can be implemented more
> elegant? I know, it's maybe really strange question(or maybe not ;-)) but
> which variants I have?
>
>
>
> --
> View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Cross-platform-C-application-with-Gstreamer-tp4671274.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



-- 
Andoni Morales Alastruey

LongoMatch:The Digital Coach
http://www.longomatch.ylatuya.es


More information about the gstreamer-devel mailing list