Opened 5 years ago

Closed 5 years ago

#262 closed defect (fixed)

0 channels in aac stream

Reported by: cehoyos Owned by:
Priority: normal Component: avcodec
Version: git-master Keywords: aac regression
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

Attached file plays fine with QuickTime?, vlc and mplayer -ac faad, cannot be decoded by current FFmpeg

ffmpeg -i nochannels.mov out.wav
ffmpeg version git-N-30502-g99eb31e, Copyright (c) 2000-2011 the FFmpeg developers
  built on Jun  3 2011 07:48:56 with gcc 4.4.1 [gcc-4_4-branch revision 150839]
  configuration:
  libavutil    51.  4. 0 / 51.  4. 0
  libavcodec   53.  6. 1 / 53.  6. 1
  libavformat  53.  2. 0 / 53.  2. 0
  libavdevice  53.  1. 0 / 53.  1. 0
  libavfilter   2. 12. 0 /  2. 12. 0
  libswscale    0. 14. 1 /  0. 14. 1
[aac @ 0x1307280] channel element 1.0 is not allocated
    Last message repeated 216 times
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x13023e0] max_analyze_duration 5000000 reached at 5005000

Seems stream 0 codec frame rate differs from container frame rate: 30000.00 (30000/1) -> 29.97 (30000/1001)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'nochannels.mov':
  Metadata:
    creation_time   : 2011-04-28 20:41:51
  Duration: 00:02:49.31, start: 0.000000, bitrate: 99 kb/s
    Stream #0.0(eng): Video: mpeg4, yuv420p, 320x240 [PAR 1:1 DAR 4:3], 1198 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 30k tbc
    Metadata:
      creation_time   : 1945-04-27 20:41:51
    Stream #0.1(eng): Audio: aac, 0 channels, s16, 96 kb/s
    Metadata:
      creation_time   : 1945-04-27 20:41:51
[wav @ 0x1306580] sample rate not set
Output #0, wav, to 'out.wav':
  Metadata:
    creation_time   : 2011-04-28 20:41:51
    Stream #0.0(eng): Audio: pcm_s16le, 0 channels, s16
    Metadata:
      creation_time   : 1945-04-27 20:41:51
Stream mapping:
  Stream #0.1 -> #0.0
Could not write header for output file #0 (incorrect codec parameters ?)
ffmpeg -acodec libfaad -i nochannels.mov 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 --enable-x11grab
  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 May  7 2011 00:55:39, gcc: 4.4.5

Seems stream 0 codec frame rate differs from container frame rate: 30000.00 (30000/1) -> 29.97 (30000/1001)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'nochannels.mov':
  Duration: 00:02:49.31, start: 0.000000, bitrate: 99 kb/s
    Stream #0.0(eng): Video: mpeg4, yuv420p, 320x240 [PAR 1:1 DAR 4:3], 29.97 tbr, 29.97 tbn, 30k tbc
    Stream #0.1(eng): Audio: aac, 44100 Hz, stereo, s16
Output #0, wav, to 'out.wav':
    Stream #0.0(eng): Audio: pcm_s16le, 44100 Hz, stereo, s16, 1411 kb/s
Stream mapping:
  Stream #0.1 -> #0.0
Press [q] to stop encoding
size=    2176kB time=12.63 bitrate=1411.2kbits/s
video:0kB audio:2176kB global headers:0kB muxing overhead 0.001975%

Attachments (1)

nochannels.mov (2.0 MB) - added by cehoyos 5 years ago.

Download all attachments as: .zip

Change History (2)

Changed 5 years ago by cehoyos

comment:1 Changed 5 years ago by cehoyos

  • Resolution set to fixed
  • Status changed from new to closed

Fixed by Benjamin.

Note: See TracTickets for help on using tickets.