Opened 8 years ago
Last modified 3 months ago
#5942 reopened defect
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: | H2Swine | 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)
Change History (8)
by , 8 years ago
Attachment: | 16multi.mp4 added |
---|
comment:1 by , 8 years ago
comment:2 by , 8 years ago
Component: | undetermined → avcodec |
---|---|
Keywords: | als added |
Status: | new → open |
Version: | unspecified → git-master |
comment:3 by , 7 years ago
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 by , 7 years ago
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 by , 7 years ago
Reproduced by developer: | set |
---|---|
Resolution: | → fixed |
Status: | open → closed |
Fixed in c8853568b177b521a3ed0ec4e4246bc27be79250.
comment:6 by , 3 months ago
Cc: | added |
---|---|
Resolution: | fixed |
Status: | closed → reopened |
#11035 points out another "out of range" - this time a negative.
comment:7 by , 3 months ago
I wonder whether it is the ALS reference encoder that is buggy about certain WAVE files and then produces an invalid encode? Indeed it has just come up that yes it doesn't handle WAVE well: https://hydrogenaud.io/index.php/topic,109239.msg1045191.html#msg1045191
So that might be the reason that this 44100/16 stereo file doesn't work: https://www.sendspace.com/file/qg9j3u contains both the ALS encode and an original - as .tak to save space.
the same problem happens with multichannel 24bit and 32bit