[gst-devel] decode and tcp speed

wahnby wahnby at free.fr
Wed Mar 23 03:12:44 CET 2005


I want to send audio over a network so I have made 2 pipes wich look
like that
gst-launch-0.8 filesrc location=something ! decodebin ! audioconvert !
rawvorbisenc ! oggmux ! tcpclientsink host=localhost port=15151

gst-launch-0.8 tcpserversrc port=15151 ! oggdemux ! vorbisdec ! alsasink

the program is writen in C.
It work but the first process (the one wich send data) run more faster
than the second with is limited by alsasink. The data is bufferized
somewhere (around the socket ??) and when I stop the first process the
second continue for 20 seconds.

Is it possible to limit speed of the first process so (or to do the same
thing in a totaly diferent way).

Help me please.

Sorry for my poor english.

More information about the gstreamer-devel mailing list