[gst-devel] disabling parts of a pipeline while it runs? (help me I'm a noob!)

Michal Benes michal.benes at itonis.tv
Mon Nov 13 11:03:51 CET 2006


Hi Alex,

> Using a simple pipeline like this  "dvbsrc --> filesink" I can easily
> record from a dvb device. However I want the ability to seamlessly
> start streaming from that dvbsrc over the network so stopping the
> pipline and reconfiguring it is not an option.

	what dvbsrc are you using? I know there was a source for GStreamer 0.8,
but I do not know of anything for 0.10.

> That seems ok, but I'm not sure how to handle turning off each of the
> branches while the pipeline is going. Can I simply unlink one of the
> things connected to the tee and relink it when I want it to start
> again?

	This can be a bit tricky see other thread about pad blocking. Also try
to understand pad activation and pad modes (push, pull). It is always
well defined which pad creates the actual processing thread.

> Also I'm not exactly sure the best way to stream the data over the
> network using gstreamer, I know I want to use udp so I can multicast
> but when I tried setting up two pipelines using udpsrc and udpsink the
> output was corrupted. putting "sync=false" on the xvimagesink seemed
> to make it less corrupted but still not ok (btw the files I was using
> played fine without the udp bits)

	I am having a similar problem. Are you running both pipes (udpsrc and
udpsink) on the same machine? Right now, I do not have a solution.

		Michal





More information about the gstreamer-devel mailing list