Hi again,

Well, finally I'm trying to work with gst-sharp, reading the plain C
documentation I could do this simple example if someone is interested:

public static void Main (string[] args)
{
//Init
Gst.Application.Init("Mi Applicacion", ref args);

//source element
//file example
//Element source = Gst.Parse.Launch("playbin2
uri=file:///xtras/video/Animacion/abc.mkv");
//streaming example
Element source = Gst.Parse.Launch("playbin2 uri=
http://docs.gstreamer.com/media/sintel_trailer-480p.webm";);
//Pipeline
Gst.Bin bin = new Pipeline("pipeline");

bin.Add(source);

bin.SetState(State.Playing);

Gst.Bus bus = bin.Bus;
bus.Poll(Gst.MessageType.Eos, (long)Gst.Clock.TimeNone );
}

-- 
Guille
_______________________________________________
Gtk-sharp-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

Reply via email to