Re: [Vala] GStreamer Bindings



Andrea,

looks like a good code sample to put on the Vala wiki page. :)

On 10/11/07, Andrea Del Signore <sejerpz tin it > wrote:

On Wed, 2007-10-10 at 23:33 +0200, Stojance Dimitrovski wrote:
> Hello!
>
> How can you use the GStreamer Bindings for Vala properly? I've been
> trying all day long and I couldn't get it right. So far I've managed to
> determine that the namespace for the bindings is Gst. :-) I keep getting
> errors that there is no type name X, and such.
>
> Can someone post a small, simple snippet of code how to create a
> pipeline and two elements? Like:
>
>         audiotestsrc ! alsasink
>
> (You can run "gst-launch audiotestsrc ! alsasink" to see the result)
>
> Thank you,
> Stojance Dimitrovski
>
> _______________________________________________
> Vala mailing list
> Vala paldo org
> http://www.paldo.org/mailman/listinfo/vala

Hello Stojance,

this is a little program that I wrote to test GStreamer and Vala.
Note the "pulsesink" since I use pulse audio server, you can substitute
it with alsasink.

To compile:
$ valac -o gst-test --pkg gstreamer-0.10 gst-test.vala

and run it with:
$ ./gst-test

Have fun. Bye,
Andrea


_______________________________________________
Vala mailing list
Vala paldo org
http://www.paldo.org/mailman/listinfo/vala





--
Marcelo Lira dos Santos
http://setanta.wordpress.com
@CInLUG: http://www.cin.ufpe.br/~cinlug
@Ciência Livre: http://www.ciencialivre.pro.br
@INdT: http://www.indt.org.br

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