After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 567255 - [riff] doesn't detect codec_id 0x706d as AAC (amongst other)
[riff] doesn't detect codec_id 0x706d as AAC (amongst other)
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
git master
Other Linux
: Normal normal
: 0.10.23
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-01-10 14:42 UTC by Anders Østhus
Modified: 2009-01-23 10:36 UTC
See Also:
GNOME target: ---
GNOME version: 2.25/2.26


Attachments
possible patch (2.34 KB, patch)
2009-01-19 14:56 UTC, Wim Taymans
none Details | Review

Description Anders Østhus 2009-01-10 14:42:33 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.
Comment 1 Edward Hervey 2009-01-10 14:51:09 UTC
In fact, we should maybe synchronize all those with the list of codec_ids from ffmpeg/libavformat/riff.c
Comment 2 Andreas Frisch 2009-01-19 14:17:05 UTC
__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 3 Wim Taymans 2009-01-19 14:33:51 UTC
Comment #2 is fixed since gst-plugins-base 0.10.22.
Comment 4 Wim Taymans 2009-01-19 14:56:16 UTC
Created attachment 126760 [details] [review]
possible patch
Comment 5 Wim Taymans 2009-01-23 10:36:18 UTC
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