Decodebin is not picking up higher ranked audio element

Sebastian Dröge sebastian at centricular.com
Wed Oct 30 18:15:35 CET 2013


On Mi, 2013-10-30 at 09:20 -0700, skothari wrote:
> Thanks for the quick reply.
> Here are the logs:
> 
> [...]
> 0:00:00.214883083 28680    0x7a550 DEBUG              decodebin
> gstdecodebin2.c:1821:connect_pad:<decodebin0> pad aacparse0:src ,
> chain:0xb5312e50, 3 factories, caps audio/mpeg, mpegversion=(int)4,
> framed=(boolean)true, stream-format=(string)raw, level=(string)2,
> base-profile=(string)lc, profile=(string)lc, codec_data=(buffer)1210,
> rate=(int)44100, channels=(int)2
> 0:00:00.215466083 28680    0x7a550 LOG                decodebin
> gstdecodebin2.c:1857:connect_pad:<aacparse0> trying factory <aacparse>
> 0:00:00.215846666 28680    0x7a550 LOG                decodebin
> gstdecodebin2.c:1916:connect_pad:<decodebin0> locking chain 0xb5312e50 from
> thread 0x7a550
> 0:00:00.216083916 28680    0x7a550 LOG                decodebin
> gstdecodebin2.c:1916:connect_pad:<decodebin0> locked chain 0xb5312e50 from
> thread 0x7a550
> 0:00:00.216517333 28680    0x7a550 LOG                decodebin
> gstdecodebin2.c:1926:connect_pad:<decodebin0> unlocking chain 0xb5312e50
> from thread 0x7a550
> 0:00:00.216809500 28680    0x7a550 DEBUG              decodebin
> gstdecodebin2.c:1930:connect_pad:<decodebin0> Skipping factory 'aacparse'
> because it was already used in this chain
> 0:00:00.217345000 28680    0x7a550 LOG                decodebin
> gstdecodebin2.c:1857:connect_pad:<aacparse0> trying factory <faad>
> [...]

So for some reason the factories list in decodebin for the AAC caps is
aacparse, faad, something_else (probably avdec_aac). What's the rank of
your decoder and what's the classification of it? It should be something
like Codec/Decoder/Audio.

-- 
Sebastian Dröge <sebastian at centricular.com>
Centricular Ltd - http://www.centricular.com
Expertise, Straight from the Source
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 966 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20131030/21e0323b/attachment.pgp>


More information about the gstreamer-devel mailing list