New submission from Carl Eugen Hoyos <[email protected]>:

The sample from issue 963 contains two AAC LTP streams that libavcodec cannot
decode, but faad (and mplayer with the original sample and -ac faad) can.
See also http://wiki.multimedia.cx/index.php?title=AAC#MPEG-4_AAC_LTP
I will upload the results of mplayer -demuxer lavf -aid 16/17 -dumpaudio to
samples/ffmpeg-bugs/roundup/issuennnn. They can be decoded fine with faad (the
executable), but not mplayer or ffmpeg-0.5 with libfaad.

See stream 0.17 and 0.18:
$ ffmpeg -i \[CCCP\]_Mega_Audio_Test.mkv
FFmpeg version SVN-r26202, Copyright (c) 2000-2011 the FFmpeg developers
  built on Jan  3 2011 12:49:22 with gcc 4.4.5
  configuration: --disable-optimizations --cc='/usr/local/gcc-4.4.5/bin/gcc 
-m32'
  libavutil     50.36. 0 / 50.36. 0
  libavcore      0.16. 0 /  0.16. 0
  libavcodec    52.101. 0 / 52.101. 0
  libavformat   52.92. 0 / 52.92. 0
  libavdevice   52. 2. 2 / 52. 2. 2
  libavfilter    1.72. 0 /  1.72. 0
  libswscale     0.12. 0 /  0.12. 0
[aac @ 0x8b691d0] Audio object type 4 is not supported.
[aac @ 0x8b6afa0] Audio object type 4 is not supported.
[aac @ 0x8b79cc0] Audio object type 4 is not supported.
[aac @ 0x8b7bae0] Audio object type 4 is not supported.
[mpeg4 @ 0x8b3ddd0] Invalid and inefficient vfw-avi packed B frames detected
[aac @ 0x8b691d0] Audio object type 4 is not supported.
    Last message repeated 7 times
[aac @ 0x8b6afa0] Audio object type 4 is not supported.
    Last message repeated 7 times
...
[aac @ 0x8b79cc0] Audio object type 4 is not supported.
    Last message repeated 7 times
[aac @ 0x8b7bae0] Audio object type 4 is not supported.
    Last message repeated 7 times
[matroska,webm @ 0x8b3a470] Estimating duration from bitrate, this may be 
inaccurate
Input #0, matroska,webm, from '[CCCP]_Mega_Audio_Test.mkv':
  Metadata:
    title           : Macross Plus - Isamu's Preflight Check
  Duration: 00:01:12.10, start: 0.000000, bitrate: 6208 kb/s
    Stream #0.0(eng): Video: mpeg4, yuv420p, 656x464 [PAR 1:1 DAR 41:29], PAR
116:123 DAR 4:3, 23.98 fps, 23.98 tbr, 1k tbn, 23.98 tbc
    Metadata:
      title           : Macross Plus - Isamu's Preflight Check
    Stream #0.1(eng): Audio: ac3, 48000 Hz, 5.1, s16, 448 kb/s
    Metadata:
      title           : AC3 6ch Audio
    Stream #0.2(jpn): Audio: ac3, 48000 Hz, stereo, s16, 192 kb/s
    Metadata:
      title           : AC3 2ch Audio
    Stream #0.3(eng): Audio: dca, 48000 Hz, 5.1, s16, 1536 kb/s
    Metadata:
      title           : DTS 1536kbps 6ch Audio
    Stream #0.4(jpn): Audio: dca, 48000 Hz, 5.0, s16, 1536 kb/s
    Metadata:
      title           : DTS 1536kbps 2ch Audio
    Stream #0.5(eng): Audio: dca, 48000 Hz, 5.1, s16, 768 kb/s
    Metadata:
      title           : DTS 768kbps 6ch Audio
    Stream #0.6(jpn): Audio: dca, 48000 Hz, 5.0, s16, 768 kb/s
    Metadata:
      title           : DTS 768kbps 2ch Audio
    Stream #0.7(jpn): Audio: mp1, 48000 Hz, 2 channels, s16, 192 kb/s
    Metadata:
      title           : MPEG-1 Layer 1 2ch Audio
    Stream #0.8(jpn): Audio: mp2, 48000 Hz, 2 channels, s16, 128 kb/s
    Metadata:
      title           : MPEG-1 Layer 2 2ch Audio
    Stream #0.9(eng): Audio: mp3, 48000 Hz, 2 channels, s16, 192 kb/s
    Metadata:
      title           : MPEG-1 Layer 3 6ch Audio
    Stream #0.10(jpn): Audio: mp3, 48000 Hz, 2 channels, s16, 128 kb/s
    Metadata:
      title           : MPEG-1 Layer 3 2ch Audio
    Stream #0.11(jpn): Audio: mp1, 24000 Hz, 2 channels, s16, 128 kb/s
    Metadata:
      title           : MPEG-2 LSF Layer 1 2ch Audio
    Stream #0.12(jpn): Audio: mp2, 24000 Hz, 2 channels, s16, 96 kb/s
    Metadata:
      title           : MPEG-2 LSF Layer 2 2ch Audio
    Stream #0.13(jpn): Audio: mp3, 24000 Hz, 2 channels, s16, 64 kb/s
    Metadata:
      title           : MPEG-2 LSF Layer 3 2ch Audio
    Stream #0.14(jpn): Audio: mp3, 12000 Hz, 2 channels, s16, 32 kb/s
    Metadata:
      title           : MPEG-2.5 Layer 3 2ch Audio
    Stream #0.15(eng): Audio: aac, 48000 Hz, 5.1, s16
    Metadata:
      title           : MPEG-2 AAC LC 6ch Audio
    Stream #0.16(jpn): Audio: aac, 48000 Hz, stereo, s16
    Metadata:
      title           : MPEG-2 AAC LC 2ch Audio
    Stream #0.17(eng): Audio: aac, 0 channels
    Metadata:
      title           : MPEG-2 AAC LTP 6ch Audio
    Stream #0.18(jpn): Audio: aac, 0 channels
    Metadata:
      title           : MPEG-2 AAC LTP 2ch Audio
    Stream #0.19(eng): Audio: aac, 48000 Hz, 5.1, s16
    Metadata:
      title           : MPEG-2 AAC Main 6ch Audio
    Stream #0.20(jpn): Audio: aac, 48000 Hz, stereo, s16
    Metadata:
      title           : MPEG-2 AAC Main 2ch Audio
    Stream #0.21(eng): Audio: aac, 48000 Hz, 5.1, s16
    Metadata:
      title           : MPEG-4 AAC LC 6ch Audio
    Stream #0.22(jpn): Audio: aac, 48000 Hz, stereo, s16
    Metadata:
      title           : MPEG-4 AAC LC 2ch Audio
    Stream #0.23(eng): Audio: aac, 48000 Hz, 5.1, s16
    Metadata:
      title           : MPEG-4 AAC HE 6ch Audio
    Stream #0.24(jpn): Audio: aac, 48000 Hz, stereo, s16
    Metadata:
      title           : MPEG-4 AAC HE 2ch Audio
    Stream #0.25(jpn): Audio: aac, 48000 Hz, 2 channels (FC), s16
    Metadata:
      title           : MPEG-4 AAC HEv2 2ch Audio
    Stream #0.26(eng): Audio: aac, 0 channels
    Metadata:
      title           : MPEG-4 AAC LTP 6ch Audio
    Stream #0.27(jpn): Audio: aac, 0 channels
    Metadata:
      title           : MPEG-4 AAC LTP 2ch Audio
    Stream #0.28(eng): Audio: aac, 48000 Hz, 5.1, s16
    Metadata:
      title           : MPEG-4 AAC Main 6ch Audio
    Stream #0.29(jpn): Audio: aac, 48000 Hz, stereo, s16
    Metadata:
      title           : MPEG-4 AAC Main 2ch Audio
    Stream #0.30(eng): Audio: vorbis, 48000 Hz, 5.1, s16
    Metadata:
      title           : Vorbis 6ch Audio
    Stream #0.31(jpn): Audio: vorbis, 48000 Hz, stereo, s16
    Metadata:
      title           : Vorbis 2ch Audio
At least one output file must be specified

FFmpeg 0.5 with MAX_STREAMS set to 100:
$ ffmpeg -acodec libfaad -i \[CCCP\]_Mega_Audio_Test.mkv -map 0.17 out.wav
FFmpeg version 0.5.2, Copyright (c) 2000-2009 Fabrice Bellard, et al.
  configuration: --cc=/usr/local/gcc-4.4.5/bin/gcc --enable-libfaad --enable-gpl
  libavutil     49.15. 0 / 49.15. 0
  libavcodec    52.20. 1 / 52.20. 1
  libavformat   52.31. 0 / 52.31. 0
  libavdevice   52. 1. 0 / 52. 1. 0
  built on Jan  3 2011 12:55:14, gcc: 4.4.5
[NULL @ 0xf7b4c0]Invalid and inefficient vfw-avi packed B frames detected
[aac @ 0xf853b0]Audio object type 4 is not supported.
    Last message repeated 7 times
...
[aac @ 0xf8ae70]Audio object type 0 is not supported.
    Last message repeated 7 times
Input #0, matroska, from '[CCCP]_Mega_Audio_Test.mkv':
  Duration: 00:01:12.10, start: 0.000000, bitrate: N/A
    Stream #0.0(eng): Video: mpeg4, yuv420p, 656x464 [PAR 1:1 DAR 41:29], PAR
116:123 DAR 4:3, 23.98 tbr, 1k tbn, 23.98 tbc
    Stream #0.1(eng): Audio: aac, 48000 Hz, 5.1, s16
    Stream #0.2(jpn): Audio: aac, 48000 Hz, stereo, s16
    Stream #0.3(eng): Audio: aac, 48000 Hz, 5.1, s16
    Stream #0.4(jpn): Audio: aac, 48000 Hz, 5.0, s16
    Stream #0.5(eng): Audio: aac, 48000 Hz, 5.1, s16
    Stream #0.6(jpn): Audio: aac, 48000 Hz, 5.0, s16
    Stream #0.7(jpn): Audio: aac, 48000 Hz, stereo, s16
    Stream #0.8(jpn): Audio: aac, 48000 Hz, stereo, s16
    Stream #0.9(eng): Audio: aac, 48000 Hz, stereo, s16
    Stream #0.10(jpn): Audio: aac, 48000 Hz, stereo, s16
    Stream #0.11(jpn): Audio: aac, 24000 Hz, stereo, s16
    Stream #0.12(jpn): Audio: aac, 24000 Hz, stereo, s16
    Stream #0.13(jpn): Audio: aac, 24000 Hz, stereo, s16
    Stream #0.14(jpn): Audio: aac, 12000 Hz, stereo, s16
    Stream #0.15(eng): Audio: aac, 48000 Hz, 5.1, s16
    Stream #0.16(jpn): Audio: aac, 48000 Hz, stereo, s16
    Stream #0.17(eng): Audio: aac, 48000 Hz, 5.1, s16
    Stream #0.18(jpn): Audio: aac, 48000 Hz, stereo, s16
    Stream #0.19(eng): Audio: aac, 48000 Hz, 5.1, s16
    Stream #0.20(jpn): Audio: aac, 48000 Hz, stereo, s16
    Stream #0.21(eng): Audio: aac, 48000 Hz, 5.1, s16
    Stream #0.22(jpn): Audio: aac, 48000 Hz, stereo, s16
    Stream #0.23(eng): Audio: aac, 24000 Hz, 5.1, s16
    Stream #0.24(jpn): Audio: aac, 24000 Hz, stereo, s16
    Stream #0.25(jpn): Audio: aac, 24000 Hz, mono, s16
    Stream #0.26(eng): Audio: aac, 48000 Hz, 5.1, s16
    Stream #0.27(jpn): Audio: aac, 48000 Hz, stereo, s16
    Stream #0.28(eng): Audio: aac, 48000 Hz, 5.1, s16
    Stream #0.29(jpn): Audio: aac, 48000 Hz, stereo, s16
    Stream #0.30(eng): Audio: aac, 48000 Hz, 5.1, s16
    Stream #0.31(jpn): Audio: aac, 48000 Hz, stereo, s16
Output #0, wav, to 'out.wav':
    Stream #0.0(eng): Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s
Stream mapping:
  Stream #0.17 -> #0.0
Press [q] to stop encoding
size=    6560kB time=35.01 bitrate=1535.1kbits/s
size=   13480kB time=71.89 bitrate=1536.0kbits/s
video:0kB audio:13480kB global headers:0kB muxing overhead 0.000319%

----------
messages: 13181
priority: normal
status: open
substatus: open
title: Support AAC LTP
topic: avcodec
type: feature_request

________________________________________________
FFmpeg issue tracker <[email protected]>
<https://roundup.ffmpeg.org/issue2481>
________________________________________________

Reply via email to