GNOME Bugzilla – Bug 567255
[riff] doesn't detect codec_id 0x706d as AAC (amongst other)
Last modified: 2009-01-23 10:36:18 UTC
Please describe the problem: When I'm trying to play .avi files that contains an AAC stream 'gst-launch-0.10 playbin uri=file:///' gives me the following output: ** Message: don't know how to handle audio/x-avi-unknown, codec_id=(int)28781 No sound is observed. I've tested this on several .avi files with AAC and the problem seems to be consistent. Steps to reproduce: 1. Play an .avi that has AAC audio with gst-launch-0.10 playbin Actual results: Video plays, no audio Expected results: Video plays, audio plays Does this happen every time? Yes, this happends everytime on files with AAC stream Other information: I've talked to bilboed on #gstreamer@freedesktop, and he suggested that 0x706d should be added to riff-media.c to properly detect the AAC stream.
In fact, we should maybe synchronize all those with the list of codec_ids from ffmpeg/libavformat/riff.c
__tim asked me to add my issue to this bug. i have WMA files that don't play. $ mediainfo recit16bit.wma General Complete name : recit16bit.wma Format : Windows Media File size : 738 KiB Duration : 9s 1ms Overal bit rate : 672 Kbps Maximum overal bit rate : 668 Kbps Encoded date : UTC 2007-02-28 17:09:07.186 Audio Format : WMA Lossless Codec ID : 163 Codec ID/Info : Windows Media Audio 3 Duration : 9s 0ms Bit rate : 666 Kbps Channel(s) : 2 channels Sampling rate : 44.1 KHz $ gst-launch-0.10 playbin2 uri=file:///dream/testProgs/recit16bit.wma Setting pipeline to PAUSED ... Pipeline is PREROLLED ... WARNING: from element /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: No decoder available for type 'audio/x-asf-unknown, codec_id=(int)355'. Zusätzliche Debugginginformation: gsturidecodebin.c(548): unknown_type_cb (): /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0 FEHLER: Von Element /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstASFDemux:asfdemux0: Internal data stream error. Zusätzliche Debugginginformation: gstasfdemux.c(1372): gst_asf_demux_loop (): /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstASFDemux:asfdemux0: streaming stopped, reason not-linked ERROR: pipeline doesn't want to preroll. Setting pipeline to PAUSED ... Setting pipeline to READY ... Setting pipeline to NULL ... FREEING pipeline ... testfile is available at http://download.linnrecords.com/test/wma/recit16bit.aspx
Comment #2 is fixed since gst-plugins-base 0.10.22.
Created attachment 126760 [details] [review] possible patch
commit a7f2540f779c71f95a49002309f68befd01091bf Author: Wim Taymans <wim.taymans@collabora.co.uk> Date: Fri Jan 23 11:33:29 2009 +0100 Add more codec ids for RIFF formats Handle codec ID for various other AAC formats. Sync the list of possible codec ids with that of ffmpeg. Fixes #567255