<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <font size="-1"><font face="Helvetica, Arial, sans-serif">Wow !
        Thanks a lot ! That did the trick, it's just perfect !<br>
        <br>
        Now I'm facing a strange (well, not so strange) behaviour, maybe
        there is something that can be done.<br>
        <br>
        The link providing our RTP stream is not 100% secure. Sometimes,
        it goes down. The streaming stops (as expected, of course), but
        when the link is back up, the receiving process exits with a
        "broken pipe" error. I suspect the shout2send element cannot
        keep up with the Icecast server when it is not fed anymore. My
        only solution is to use an ugly watchdog script that will
        restart the GStreamer receiving process whenever it goes down.<br>
        <br>
        &nbsp;&nbsp;&nbsp; Hoggins!<br>
      </font></font><br>
    Le 02/10/2011 02:16, Mike Mitchell a &eacute;crit&nbsp;:
    <blockquote
cite="mid:CA+RV4CPL_9apti12GjJ5dFHt8ehi-MN0MxoPAounNMV5y3Yd-g@mail.gmail.com"
      type="cite">Hoggins,
      <div><br>
      </div>
      <div>If you try "gst-inspect shout2send", you will see that it
        only has a sink. &nbsp;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. &nbsp;You would use queues to thread your
        encoding. I could not test this without your environment, but
        this should get you close.</div>
      <div><br>
      </div>
      <div>gst-launch gstrtpbin name=rtpbin udpsrc port=5000 \<br>
        caps='application/x-rtp, media=(string)audio,
        clock-rate=(int)44100,&nbsp;encoding-name=(string)CELT,
        encoding-params=(string)2,&nbsp;frame-size= (string)480,
        payload=(int)96' &nbsp;\</div>
      <div>! rtpceltdepay ! celtdec !&nbsp;queue ! audioconvert ! &nbsp;tee name=t
        \</div>
      <div>t. ! queue ! lame bitrate=320 ! shout2send
        mount=/live320.mp3&nbsp;port=8000 password=xxxx ip=127.0.0.1</div>
      <div>t. ! queue ! lame&nbsp;bitrate=192 ! shout2send mount=/live320.mp3
        port=8001 password=xxxx&nbsp;ip=127.0.0.1</div>
      <div><br>
      </div>
      <div>A diagram of what this might look like is below, it just
        encodes in stereo and mono but is similar.</div>
      <div><a moz-do-not-send="true"
href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer-plugins/html/gstreamer-plugins-tee.html">http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer-plugins/html/gstreamer-plugins-tee.html</a></div>
    </blockquote>
  </body>
</html>