<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 08/26/2013 06:44 AM, 이훈희 wrote:<br>
</div>
<blockquote
cite="mid:CAE-EkXOOhHyYp216HBLj+-FwCKDSf6sJyufVHq3J1XLEb7bD2g@mail.gmail.com"
type="cite">
<div dir="ltr">this is my approach.
<div
style="color:rgb(0,0,0);font-family:Verdana,Geneva,Helvetica,Arial,sans-serif;font-size:13px"><br>
</div>
<div
style="color:rgb(0,0,0);font-family:Verdana,Geneva,Helvetica,Arial,sans-serif;font-size:13px">
<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="color:rgb(0,0,0);font-family:Verdana,Geneva,Helvetica,Arial,sans-serif;font-size:13px">
\ h264parse - capsfilter -
decoder - input-selector - fakesink</div>
<div
style="color:rgb(0,0,0);font-family:Verdana,Geneva,Helvetica,Arial,sans-serif;font-size:13px"><br>
</div>
</div>
</blockquote>
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">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.<br>
<br>
<blockquote
cite="mid:CAE-EkXOOhHyYp216HBLj+-FwCKDSf6sJyufVHq3J1XLEb7bD2g@mail.gmail.com"
type="cite">
<div dir="ltr">
<div
style="color:rgb(0,0,0);font-family:Verdana,Geneva,Helvetica,Arial,sans-serif;font-size:13px">Actually,
I could not find a proper element that is opposited element of
funnel.<br>
</div>
</div>
</blockquote>
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>
</body>
</html>