queue problem

Mike Mitchell mike.mitchell at panometric.net
Sat Oct 1 17:16:47 PDT 2011


Hoggins,

If you try "gst-inspect shout2send", you will see that it only has a sink.
 A queue is just a buffer that creates a thread, but there is still only one
pipeline and no output from your fitrst shout2send. What you need is a 'tee'
to divide the pipes into duplicates.  You would use queues to thread your
encoding. I could not test this without your environment, but this should
get you close.

gst-launch gstrtpbin name=rtpbin udpsrc port=5000 \
caps='application/x-rtp, media=(string)audio,
clock-rate=(int)44100, encoding-name=(string)CELT,
encoding-params=(string)2, frame-size= (string)480, payload=(int)96'  \
! rtpceltdepay ! celtdec ! queue ! audioconvert !  tee name=t \
t. ! queue ! lame bitrate=320 ! shout2send mount=/live320.mp3 port=8000
password=xxxx ip=127.0.0.1
t. ! queue ! lame bitrate=192 ! shout2send mount=/live320.mp3 port=8001
password=xxxx ip=127.0.0.1

A diagram of what this might look like is below, it just encodes in stereo
and mono but is similar.
http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer-plugins/html/gstreamer-plugins-tee.html


*Mike Mitchell*
*
*
*[image: image.png]
*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20111001/a243ac1a/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 86786 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20111001/a243ac1a/attachment-0001.png>


More information about the gstreamer-devel mailing list