<div dir="ltr"><div text="#000000" bgcolor="#FFFFFF" style="font-family:arial,sans-serif;font-size:14px">Hello</div><div text="#000000" bgcolor="#FFFFFF" style="font-family:arial,sans-serif;font-size:14px">I am curious about below thing.</div>
<div text="#000000" bgcolor="#FFFFFF" style="font-family:arial,sans-serif;font-size:14px"><br></div><div text="#000000" bgcolor="#FFFFFF" style="font-family:arial,sans-serif;font-size:14px">>Since funnel preserves stream IDs, you could probably create an element that creates >a pad for each stream it sees, and that would do what you want.<br>
</div><div><br></div><div>I can not find the code to keep the stream ID on funnel.<br></div><div>Could you give me a way to get the stream ID from the downstream element?<br></div><div>It also helpful for me.</div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">2013/8/27 Brendan Long <span dir="ltr"><<a href="mailto:self@brendanlong.com" target="_blank">self@brendanlong.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

  
    
  
  <div text="#000000" bgcolor="#FFFFFF"><div class="im">
    <div>On 08/26/2013 06:44 AM, ÀÌÈÆÈñ wrote:<br>
    </div>
    <blockquote type="cite">
      <div dir="ltr">this is my approach.
        <div style="font-size:13px;font-family:Verdana,Geneva,Helvetica,Arial,sans-serif"><br>
        </div>
        <div style="font-size:13px;font-family:Verdana,Geneva,Helvetica,Arial,sans-serif">
          <div style="font-size:13px">
                                            / ac3parse    - capsfilter -
            decoder \                                       / fakesink</div>
          <div style="font-size:13px">demux - multiqueue - ac3parse    -
            capsfilter - decoder <span style="font-size:13px">- funnel -
              output-selector - fakesink</span><span style="font-size:13px"> </span></div>
          <div style="font-size:13px"><span style="font-size:13px">     
                                        \ </span><span style="font-size:13px"> </span><span style="font-size:13px">ac3parse    - capsfilter - decoder
              /</span><span style="font-size:13px">                     
                              \ fakesink</span></div>
        </div>
        <div style="font-size:13px;font-family:Verdana,Geneva,Helvetica,Arial,sans-serif"> 
                                        \ h264parse  - capsfilter -
          decoder - input-selector - fakesink</div>
        <div style="font-size:13px;font-family:Verdana,Geneva,Helvetica,Arial,sans-serif"><br>
        </div>
      </div>
    </blockquote></div>
    What's the goal here? If you only want to play one of the audio
    streams, use an input-selector instead of a funnel. If the goal is
    to mix some or all of the audio streams, use an <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-plugins/html/gst-plugins-base-plugins-adder.html" target="_blank">adder</a>
    instead of a funnel. If you want each audio stream to do to a
    different sink, then don't use the funnel at all, and use
    output-selectors as needed.<div class="im"><br>
    <br>
    <blockquote type="cite">
      <div dir="ltr">
        <div style="font-size:13px;font-family:Verdana,Geneva,Helvetica,Arial,sans-serif">Actually,
          I could not find a proper element that is opposited element of
          funnel.<br>
        </div>
      </div>
    </blockquote></div>
    Since funnel preserves stream IDs, you could probably create an
    element that creates a pad for each stream it sees, and that would
    do what you want.<br>
  </div>

<br>_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
<br></blockquote></div><br></div>