[gst-devel] Help with the creation of pipeline using udpsrc and udpsink
zeenix at gmail.com
Mon Dec 26 13:00:11 CET 2005
> hello everybody,
> Merry Christmas.
Hi there and merry christmas!
> these are the two pipelines i have figured out (im using the default port
> and multicast address here)
> for sending:
> gst-launch-0.10 filesrc location=wc.mpg ! queue ! udpsink
> for receiving:
> gst-launch-0.10 udpsrc ! decodebin name=d ! audioconvert ! queue ! osssink
> d. ! queue ! xvimagesink
> if i execute these two pipelines on the same host (ideal condition),
> playback starts for a second and then stops... i dont know why this is
> happening (probably im missing something)...
The condition is still not actually too ideal i am affraid.
udpsink just pulls packets from it's peer as fast as it can and throw
it on the network. So you really need an element in your pipelines
which would timestamp the packets and make the udpsink wait for the
expiry of the timestamp before it throws it on the network. The
simplest and the most obvious solution is to put 'identity' element
before udpsink and use it's 'datarate' property. Moreover, AFAIK the
'queue' doesn't help in here at all so you probably don't want to use
More information about the gstreamer-devel