Opened 6 years ago

Last modified 17 months ago

#1614 open defect

AAC stream with SBR fails with "channel element 0.1 is not allocated"

Reported by: iceman12c Owned by:
Priority: normal Component: avcodec
Version: git-master Keywords: AAC SBR
Cc: batguano999@zoho.com Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

Summary of the bug:
Getting the following message repeatedly when trying to play the AAC stream with ffplay from master:
[aac @ 0x7ff1c2023800] channel element 0.1 is not allocated

Stream is http://3043.live.streamtheworld.com/SAM04AAC41_SC

This stream works fine in VideoLan? VLC player.

How to reproduce:
./ffplay http://3043.live.streamtheworld.com/SAM04AAC41_SC

Attachments (2)

SAM04AAC41_SC (981.0 KB) - added by cehoyos 6 years ago.
aac_broken.mp4 (1.5 MB) - added by cehoyos 3 years ago.

Change History (8)

Changed 6 years ago by cehoyos

comment:1 Changed 6 years ago by cehoyos

  • Reproduced by developer set
  • Status changed from new to open
  • Version changed from unspecified to git-master

For future bug-reports: Please always add complete, uncut console output.

$ ffmpeg -i SAM04AAC41_SC
ffmpeg version N-43296-g13c5069 Copyright (c) 2000-2012 the FFmpeg developers
  built on Aug  7 2012 20:51:48 with gcc 4.3.2 (GCC)
  configuration: --cc=/usr/local/gcc-4.3.2/bin/gcc --enable-gpl --enable-libopenjpeg --enable-libvorbis --enable-libspeex --enable-libmp3lame --enable-libtheora --extra-ldflags=-lm --enable-libvpx --enable-libxavs --enable-x11grab --enable-libass --enable-nonfree --enable-libfaac --enable-libopus --enable-libfdk-aac
  libavutil      51. 66.101 / 51. 66.101
  libavcodec     54. 50.100 / 54. 50.100
  libavformat    54. 22.101 / 54. 22.101
  libavdevice    54.  2.100 / 54.  2.100
  libavfilter     3.  6.100 /  3.  6.100
  libswscale      2.  1.101 /  2.  1.101
  libswresample   0. 15.100 /  0. 15.100
  libpostproc    52.  0.100 / 52.  0.100
[aac @ 0x911b780] channel element 0.1 is not allocated
    Last message repeated 2703 times
[aac @ 0x9115500] decoding for stream 0 failed
[aac @ 0x9115500] Could not find codec parameters for stream 0 (Audio: aac, stereo, s16, 60 kb/s): unspecified sample rate
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[aac @ 0x9115500] Estimating duration from bitrate, this may be inaccurate
SAM04AAC41_SC: could not find codec parameters

comment:2 Changed 4 years ago by bat999

Hi
The "3043.live.streamtheworld.com/SAM04AAC41_SC" stream is no longer active.
Is there an alternative stream to test instead?

Maybe the attached file "SAM04AAC41_SC" corrupt.
Latest FFplay seems to play similar files OK.

Format : AAC
Format/Info? : Advanced Audio Codec
Format version : Version 4
Format profile : HE-AACv2 / HE-AAC / LC
Bit rate mode : Variable
Channel(s) : 2 channels / 1 channel / 1 channel
Channel positions : Front: L R / Front: C / Front: C
Sampling rate : 44.1 KHz / 44.1 KHz / 22.05 KHz

@Xubuntu:~/ffmpeg-HEAD-6286bb5$ ./ffplay similar_file.aac
ffplay version 2.2.git-6286bb5 Copyright (c) 2003-2014 the FFmpeg developers

built on Jun 12 2014 21:03:29 with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1)
configuration:
libavutil 52. 89.100 / 52. 89.100
libavcodec 55. 66.100 / 55. 66.100
libavformat 55. 43.100 / 55. 43.100
libavdevice 55. 13.101 / 55. 13.101
libavfilter 4. 8.100 / 4. 8.100
libswscale 2. 6.100 / 2. 6.100
libswresample 0. 19.100 / 0. 19.100

[aac @ 0xb0e026a0] Estimating duration from bitrate, this may be inaccurate
Input #0, aac, from 'similar_file.aac':

Duration: 00:00:32.36, bitrate: 45 kb/s

Stream #0:0: Audio: aac, 44100 Hz, stereo, fltp, 45 kb/s

41.02 M-A: -0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0

comment:3 Changed 4 years ago by bat999

  • Cc batguano999@zoho.com added

comment:4 Changed 4 years ago by cehoyos

The file is a stereo file but has chan_config set to 1.

Changed 3 years ago by cehoyos

comment:6 Changed 3 years ago by cehoyos

Additional sample from ticket #4576 attached.

Note: See TracTickets for help on using tickets.