GNOME Bugzilla – Bug 357289
[riff] riff parser can't detect aac audio stream
Last modified: 2006-09-23 11:03:32 UTC
Please describe the problem: Some avi file that contains AAC audio stream, can't decode audio stream. Steps to reproduce: 1. play media file with totem that use gstreamer backend 2. 3. Actual results: totem prints follow message. ** Message: don't know how to handle audio/x-avi-unknown, codec_id=(int)255 Expected results: decode audio stream. Does this happen every time? yes Other information: As same reason with bug 350157, gst_riff_create_audio_caps() functions can't handle aac stream. I'll attach a patch.
Created attachment 73258 [details] [review] add aac id and handler in riff parser There is one parameter - "mpegversion" for aac decode element. but I don't know how can detect that. Currently, I set "mpegversion" to "2" as fixed value. Does anyone have a some nice idea?
Looking at xine/mplayer, it appears that this is handled as "mp4a", which is always version 4. Can you check that this works as well? I have no avi with AAC inside. Patch by: Young-Ho Cha <ganadist at chollian dot net> * gst-libs/gst/riff/riff-ids.h: * gst-libs/gst/riff/riff-media.c: (gst_riff_create_audio_caps), (gst_riff_create_audio_template_caps): Added MPEG-4 AAC and id and caps. Fixes #357289 Added WMA9 Lossless id.
It works well. Thank you.