#5942 closed defect (fixed)

mpeg-4 als: "quant_cof 237 is out of range" with multichannel 16bit

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

Description

no such problem with mono/stereo files

encoded with:

C:\>mp4alsRM23.exe -7 -MP4 D:\16multi.wav
C:\>ffmpeg -i D:\16multi.mp4  D:\out.wav
ffmpeg version N-78758-g5156578 Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 5.3.0 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av
isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab
le-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --
enable-libdcadec --enable-libfreetype --enable-libgme --enable-libgsm --enable-l
ibilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enab
le-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --en
able-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --ena
ble-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --
enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-lib
x265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-d
ecklink --enable-zlib
  libavutil      55. 19.100 / 55. 19.100
  libavcodec     57. 27.100 / 57. 27.100
  libavformat    57. 26.100 / 57. 26.100
  libavdevice    57.  0.101 / 57.  0.101
  libavfilter     6. 37.100 /  6. 37.100
  libswscale      4.  0.100 /  4.  0.100
  libswresample   2.  0.101 /  2.  0.101
  libpostproc    54.  0.100 / 54.  0.100
Guessed Channel Layout for  Input Stream #0.0 : 5.1
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'D:\16multi.mp4':
  Metadata:
    major_brand     : mp42
    minor_version   : 0
    compatible_brands: mp42isom
    creation_time   : 2016-11-11 17:28:53
  Duration: 00:00:05.00, start: 0.000000, bitrate: 1220 kb/s
    Stream #0:0(und): Audio: mp4als (mp4a / 0x6134706D), 48000 Hz, 6 channels, s
16, 1219 kb/s (default)
    Metadata:
      creation_time   : 2016-11-11 17:28:53
Output #0, wav, to 'D:\out.wav':
  Metadata:
    major_brand     : mp42
    minor_version   : 0
    compatible_brands: mp42isom
    ISFT            : Lavf57.26.100
    Stream #0:0(und): Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz, 5.1, s
16, 4608 kb/s (default)
    Metadata:
      creation_time   : 2016-11-11 17:28:53
      encoder         : Lavc57.27.100 pcm_s16le
Stream mapping:
  Stream #0:0 -> #0:0 (mp4als (als) -> pcm_s16le (native))
Press [q] to stop, [?] for help
[als @ 038f0d60] quant_cof 237 is out of range.
[als @ 038f0d60] Reading frame data failed. Skipping RA unit.
size=     720kB time=00:00:01.28 bitrate=4608.6kbits/s speed=N/A
video:0kB audio:720kB subtitle:0kB other streams:0kB global headers:0kB muxing o
verhead: 0.013835%

Attachments (1)

16multi.mp4 (744.9 KB) - added by ami_stuff 21 months ago.

Download all attachments as: .zip

Change History (6)

Changed 21 months ago by ami_stuff

comment:1 Changed 21 months ago by ami_stuff

the same problem happens with multichannel 24bit and 32bit

comment:2 Changed 21 months ago by cehoyos

  • Component changed from undetermined to avcodec
  • Keywords als added
  • Status changed from new to open
  • Version changed from unspecified to git-master

comment:3 Changed 17 months ago by rishsethia

Hi , I was looking through the same , but the output to me was different , On executing the ffmpeg command , it was showing that "Invalid data found when processing input". So , I suggest that there might be an error in input. Can you please elaborate on how you generated the bug ?

comment:4 Changed 17 months ago by thilo.borgmann

Complete, uncut console output missing (c).

Compare your command line with the one given above and double check your input data by requesting the correct MD5 or something like that from the author. It might also correspond to the version of your ffmpeg compared to the one the author used to report the bug.

comment:5 Changed 14 months ago by richardpl

  • Reproduced by developer set
  • Resolution set to fixed
  • Status changed from open to closed
Note: See TracTickets for help on using tickets.