Opened 13 years ago

Closed 13 years ago

#547 closed defect (fixed)

OGG demuxer fails to demux aac audio - no audio in ffplay

Reported by: spiff Owned by:
Priority: normal Component: avformat
Version: git-master Keywords: aac ogg
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

The OGG demuxer fails to demux the AAC in sample file xx/xx.ogg

no audio is produced using ffplay from 4edcdf5c443b796dcd939d7d2a0cc08578726863

the bug seems to sit in the ogg demuxer. reason for stating this is that
i've tested with mplayer (1.0rc4-4.4.3 from ubuntu maverick)

mplayer -demuxer ogg -ac faad -> sound
mplayer -demuxer lavf -ac faad -> no sound

note that

mplayer -demuxer ogg -ac lavc -> no sound

this for different reasons - aac uses unsupport features apparently.

i know for a fact that this issue is at least 3 years old,
http://trac.xbmc.org/ticket/5205 , so me using a mplayer with an older
ffmpeg shouldn't influence the results.

Attachments (6)

ffmpeg-output.log (6.3 KB ) - added by spiff 13 years ago.
output from ffmpeg -v 9 -loglevel 99 -i
ffplay-output.log (46.4 KB ) - added by spiff 13 years ago.
output from ffplay <samplefile>
mplayer-lavf.log (99.3 KB ) - added by spiff 13 years ago.
for reference; mplayer output with lavf demuxer and lavc decoder
mplayer-ogg-faad.log (8.6 KB ) - added by spiff 13 years ago.
for reference; mplayer output with ogg demuxer and faad decoder (success)
mplayer-ogg-lavc.log (4.0 KB ) - added by spiff 13 years ago.
for reference; mplayer output with ogg demuxer and lavc decoder
aac.ogg (2.4 MB ) - added by Carl Eugen Hoyos 13 years ago.

Change History (10)

comment:1 by spiff, 13 years ago

hmm, seems i can't upload files to incoming, so here's the link to the file on our bug tracker;

http://trac.xbmc.org/raw-attachment/ticket/5205/%5Ba-s%5D_Slayers_Gorgeous_sample.ogm

by spiff, 13 years ago

Attachment: ffmpeg-output.log added

output from ffmpeg -v 9 -loglevel 99 -i

by spiff, 13 years ago

Attachment: ffplay-output.log added

output from ffplay <samplefile>

by spiff, 13 years ago

Attachment: mplayer-lavf.log added

for reference; mplayer output with lavf demuxer and lavc decoder

by spiff, 13 years ago

Attachment: mplayer-ogg-faad.log added

for reference; mplayer output with ogg demuxer and faad decoder (success)

by spiff, 13 years ago

Attachment: mplayer-ogg-lavc.log added

for reference; mplayer output with ogg demuxer and lavc decoder

comment:2 by spiff, 13 years ago

logs and then some attached.

comment:3 by Carl Eugen Hoyos, 13 years ago

Keywords: aac ogg added
Reproduced by developer: set
Status: newopen

Works fine with mplayer -demuxer ogg -ac ffaac -aid -1 (sic!) and mplayer -demuxer ogg -ac ffaac -aid 0

$ ffmpeg -i aac.ogg out.wav
ffmpeg version N-33546-gb81f888, Copyright (c) 2000-2011 the FFmpeg developers
  built on Oct 12 2011 10:52:22 with gcc 4.5.3
  configuration: --cc=/usr/local/gcc-4.5.3/bin/gcc --enable-gpl --enable-version2
  libavutil    51. 20. 1 / 51. 20. 1
  libavcodec   53. 20. 1 / 53. 20. 1
  libavformat  53. 15. 0 / 53. 15. 0
  libavdevice  53.  4. 0 / 53.  4. 0
  libavfilter   2. 43. 6 /  2. 43. 6
  libswscale    2.  1. 0 /  2.  1. 0
  libpostproc  51.  2. 0 / 51.  2. 0
[aac @ 0x1358700] Input buffer exhausted before END element found
[aac @ 0x1358700] More than one AAC RDB per ADTS frame is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
[aac @ 0x1358700] Error decoding AAC frame header.
[aac @ 0x1358700] channel element 2.15 is not allocated
[aac @ 0x1359060] Number of bands (18) exceeds limit (14).
[aac @ 0x1358700] Reserved bit set.
[aac @ 0x1358700] channel element 2.3 is not allocated
[aac @ 0x1359060] Number of scalefactor bands in group (52) exceeds limit (47).
[aac @ 0x1358700] More than one AAC RDB per ADTS frame is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
[aac @ 0x1358700] Error decoding AAC frame header.
[aac @ 0x1359060] More than one AAC RDB per ADTS frame is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
[aac @ 0x1359060] Error decoding AAC frame header.
[aac @ 0x1358700] channel element 3.5 is not allocated
[aac @ 0x1359060] More than one AAC RDB per ADTS frame is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
[aac @ 0x1359060] Error decoding AAC frame header.
[aac @ 0x1358700] More than one AAC RDB per ADTS frame is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
[aac @ 0x1358700] Error decoding AAC frame header.
[aac @ 0x1359060] channel element 2.13 is not allocated
[aac @ 0x1359060] More than one AAC RDB per ADTS frame is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
[aac @ 0x1359060] Error decoding AAC frame header.
[aac @ 0x1359060] channel element 2.11 is not allocated
[aac @ 0x1358700] Number of scalefactor bands in group (48) exceeds limit (40).
[aac @ 0x1359060] More than one AAC RDB per ADTS frame is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
[aac @ 0x1359060] Error decoding AAC frame header.
[aac @ 0x1358700] More than one AAC RDB per ADTS frame is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
[aac @ 0x1358700] Error decoding AAC frame header.
[aac @ 0x1358700] Reserved bit set.
[aac @ 0x1358700] More than one AAC RDB per ADTS frame is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
[aac @ 0x1358700] Error decoding AAC frame header.
[aac @ 0x1359060] More than one AAC RDB per ADTS frame is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
[aac @ 0x1359060] Error decoding AAC frame header.
[aac @ 0x1359060] Sample rate index in program config element does not match the sample rate index configured by the container.
[aac @ 0x1359060] channel element 1.1 is not allocated
[aac @ 0x1359060] More than one AAC RDB per ADTS frame is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
[aac @ 0x1359060] Error decoding AAC frame header.
[aac @ 0x1359060] channel element 3.9 is not allocated
[aac @ 0x1359060] More than one AAC RDB per ADTS frame is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
[aac @ 0x1359060] Error decoding AAC frame header.
[aac @ 0x1358700] channel element 2.1 is not allocated
[aac @ 0x1359060] Dependent coupling is not supported together with LTP
    Last message repeated 15 times
[aac @ 0x1359060] More than one AAC RDB per ADTS frame is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
[aac @ 0x1359060] Error decoding AAC frame header.
[aac @ 0x1359060] Sample rate index in program config element does not match the sample rate index configured by the container.
[aac @ 0x1359060] Input buffer exhausted before END element found
[aac @ 0x1358700] channel element 3.3 is not allocated
[aac @ 0x1359060] More than one AAC RDB per ADTS frame is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
[aac @ 0x1359060] Error decoding AAC frame header.
[aac @ 0x1359060] channel element 0.6 is not allocated
[ogg @ 0x1351780] max_analyze_duration 5000000 reached at 5004996
Input #0, ogg, from 'aac.ogg':
  Duration: 00:00:08.84, start: 0.000000, bitrate: 2316 kb/s
    Stream #0:0: Video: mpeg4 (XVID / 0x44495658), yuv420p, 576x324, 23.98 fps, 23.98 tbr, 23.98 tbn, 23.98 tbc
    Stream #0:1(English[eng]): Audio: aac, 48000 Hz, 7.1(wide), s16, 255 kb/s
    Stream #0:2(Japanese[jpn]): Audio: aac, 64000 Hz, stereo, s16, 796 kb/s
    Stream #0:3(English[eng]): Subtitle: text
Output #0, wav, to 'out.wav':
  Metadata:
    encoder         : Lavf53.15.0
    Stream #0:0(English[eng]): Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz, 7.1(wide), s16, 6144 kb/s
Stream mapping:
  Stream #0.1 -> #0.0 (aac -> pcm_s16le)
Press [q] to stop, [?] for help
[aac @ 0x1358700] channel element 1.0 is not allocated
Error while decoding stream #0.1
[aac @ 0x1358700] More than one AAC RDB per ADTS frame is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
[aac @ 0x1358700] Error decoding AAC frame header.
Error while decoding stream #0.1

...

[aac @ 0x1358700] More than one AAC RDB per ADTS frame is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
[aac @ 0x1358700] Error decoding AAC frame header.
Error while decoding stream #0.1
size=       0kB time=00:00:00.00 bitrate=   0.0kbits/s
video:0kB audio:0kB global headers:0kB muxing overhead inf%

by Carl Eugen Hoyos, 13 years ago

Attachment: aac.ogg added

comment:4 by Carl Eugen Hoyos, 13 years ago

Resolution: fixed
Status: openclosed

Fixed by Reimar.

Note: See TracTickets for help on using tickets.