Hi,<div><br></div><div>You would need to write an AAC to IEC958 converter and then raise the rank of that element to a higher rank than the AAC decoders. You will also need to make sure it's listed as a decoder otherwise playbin2 will ignore it. That's how we handle SPDIF passthrough for AC3 and DTS in Moovida.</div>
<div><br></div><div>Best regards,<br clear="all">Julien Moutte,<br>FLUENDO S.A.<br>
<br><br><div class="gmail_quote">On Tue, Feb 8, 2011 at 10:51 AM, Akihiro TSUKADA <span dir="ltr"><<a href="mailto:tskd2@yahoo.co.jp">tskd2@yahoo.co.jp</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
looking through the debug log,<br>
I have noticed that the uridecodebin continued to auto-plug aacparse to the caps<br>
"audio/mpeg, framed=true, mpeg=2", and then, instead of auto-plugging aac2spdif,<br>
it (wrongly) auto-plugged an faad AAC decoder, which outputs the caps "audio/x-raw-...",<br>
and this caps naturally does not fit to alsaspdif, which requires "audio/x-iec958".<br>
<br>
So, uridecodebin selected faad, not aac2spdif, but I assigned them the ranks of<br>
MARGINAL and PRIMARY respectively. In addition, I specified alsaspdif as an<br>
custom audio-sink, and it requires the caps "audio/x-iec958".....<br>
<br>
In order to prevent the above problem, I guess that<br>
uridecodebin must have the "caps" property set in playbin2::activate_group()<br>
or somewhere else. Is this right? or should aac2spdif or aacparse do something?<br>
<br>
Cheers<br>
<div class="im">--------------------------------------<br>
Get the new Internet Explorer 8 optimized for Yahoo! JAPAN<br>
<a href="http://pr.mail.yahoo.co.jp/ie8/" target="_blank">http://pr.mail.yahoo.co.jp/ie8/</a><br>
<br>
------------------------------------------------------------------------------<br>
</div>The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:<br>
Pinpoint memory and threading errors before they happen.<br>
Find and fix more than 250 security defects in the development cycle.<br>
Locate bottlenecks in serial and parallel code that limit performance.<br>
<a href="http://p.sf.net/sfu/intel-dev2devfeb" target="_blank">http://p.sf.net/sfu/intel-dev2devfeb</a><br>
<div><div></div><div class="h5">_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
</div></div></blockquote></div><br></div>