Re: [Vala] gstreamer element



Hey,

On Sun, Apr 10, 2011 at 10:27 PM, Jordi Burguet Castell
<jordi burguet castell gmail com> wrote:
Hello,

Has anyone tried to do a gstreamer *element* in vala? It sounds to me
like it would be worth because of the more succinct syntax, but I
could not figure out how to put the element and pads description in
the base_init() funtion (apart from putting the properties in the
class_init() and then doing the real initialization in the init()
functions).

The only related documentation I've found is:
http://valadoc.org/references/gstreamer-0.10/0.11.5/index.htm
but nothing about how to put things in base_init()

And also how to make a pipeline using gstreamer elements:
http://live.gnome.org/Vala/GStreamerSample
but not how to do the elements themselves.

Yes, it's possible and not so difficult to write gstreamer elements in vala.
Check this link for an example, it's an old link but I think the code
is still valid:
http://bazaar.launchpad.net/~asabil/vala/gst-vala-template/view/head:/src/vala-sink.vala

Gr,
Thijs

Thanks,
Jordi
_______________________________________________
vala-list mailing list
vala-list gnome org
http://mail.gnome.org/mailman/listinfo/vala-list




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]