[FFmpeg-trac] #6944(undetermined:new): Decoding an aac sample fail with scalefactor error
FFmpeg
trac at avcodec.org
Wed Jan 3 06:02:27 EET 2018
#6944: Decoding an aac sample fail with scalefactor error
-------------------------------------+-------------------------------------
Reporter: JasonZhang | Type: defect
Status: new | Priority: normal
Component: | Version:
undetermined | unspecified
Keywords: scalefactor | Blocked By:
aac | Reproduced by developer: 0
Blocking: |
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Summary of the bug:
When I playback this source file with ffplay,some error occur.
the report here:
ffplay started on 2018-01-02 at 19:40:22
Report written to "ffplay-20180102-194022.log"
Command line:
ffplay aac_scalefactor_error.mp4 -report
ffplay version 2.8.11-0ubuntu0.16.04.1 Copyright (c) 2003-2017 the FFmpeg
developers
built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.4) 20160609
configuration: --prefix=/usr --extra-version=0ubuntu0.16.04.1 --build-
suffix=-ffmpeg --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu
--incdir=/usr/include/x86_64-linux-gnu --cc=cc --cxx=g++ --enable-gpl
--enable-shared --disable-stripping --disable-decoder=libopenjpeg
--disable-decoder=libschroedinger --enable-avresample --enable-avisynth
--enable-gnutls --enable-ladspa --enable-libass --enable-libbluray
--enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite
--enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-
libgme --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-
libopenjpeg --enable-libopus --enable-libpulse --enable-librtmp --enable-
libschroedinger --enable-libshine --enable-libsnappy --enable-libsoxr
--enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame
--enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp
--enable-libx265 --enable-libxvid --enable-libzvbi --enable-openal
--enable-opengl --enable-x11grab --e libavutil 54. 31.100 / 54.
31.100
libavcodec 56. 60.100 / 56. 60.100
libavformat 56. 40.101 / 56. 40.101
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 40.101 / 5. 40.101
libavresample 2. 1. 0 / 2. 1. 0
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 2.101 / 1. 2.101
libpostproc 53. 3.100 / 53. 3.100
nan : 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
[matroska,webm @ 0x7fb4cc009280] Format matroska,webm probed with
size=2048 and score=100
st:0 removing common factor 1000000 from timebase
st:1 removing common factor 1000000 from timebase
[matroska,webm @ 0x7fb4cc009280] Before avformat_find_stream_info() pos:
551334 bytes read:65541 seeks:3
[aac @ 0x7fb4cc00e600] Number of scalefactor bands in group (45) exceeds
limit (43).
[h264 @ 0x7fb4cc0010a0] no picture
nan : 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
[matroska,webm @ 0x7fb4cc009280] first_dts 135 not matching first dts
NOPTS (pts 95, duration 0) in the queue
[matroska,webm @ 0x7fb4cc009280] All info found
[matroska,webm @ 0x7fb4cc009280] After avformat_find_stream_info() pos:
888006 bytes read:409482 seeks:3 frames:84
Input #0, matroska,webm, from 'aac_scalefactor_error.mp4':
Metadata:
encoder : DirectShow Matroska Muxer
creation_time : 2017-12-28 16:20:38
Duration: 02:59:05.80, start: 0.000000, bitrate: 120 kb/s
Stream #0:0(eng), 44, 1/1000: Video: h264 (High), yuv420p(tv, bt709),
1280x720, SAR 1:1 DAR 16:9, 25 fps, 25 tbr, 1k tbn, 50 tbc (default)
Stream #0:1(eng), 40, 1/1000: Audio: aac (LC), 22050 Hz, stereo, fltp
(default)
detected 1 logical cores
[ffplay_abuffer @ 0x7fb4cc012a00] Setting 'sample_rate' to value '22050'
[ffplay_abuffer @ 0x7fb4cc012a00] Setting 'sample_fmt' to value 'fltp'
[ffplay_abuffer @ 0x7fb4cc012a00] Setting 'channels' to value '2'
[ffplay_abuffer @ 0x7fb4cc012a00] Setting 'time_base' to value '1/22050'
[ffplay_abuffer @ 0x7fb4cc012a00] Setting 'channel_layout' to value '0x3'
[ffplay_abuffer @ 0x7fb4cc012a00] tb:1/22050 samplefmt:fltp
samplerate:22050 chlayout:0x3
[ffplay_abuffersink @ 0x7fb4cc037d40] auto-inserting filter 'auto-inserted
resampler 0' between the filter 'ffplay_abuffer' and the filter
'ffplay_abuffersink'
[AVFilterGraph @ 0x7fb4cc1fcfc0] query_formats: 2 queried, 0 merged, 3
already done, 0 delayed
[auto-inserted resampler 0 @ 0x7fb4cc0488e0] [SWR @ 0x7fb4cc1b4de0] Using
fltp internally between filters
[auto-inserted resampler 0 @ 0x7fb4cc0488e0] ch:2 chl:stereo fmt:fltp
r:22050Hz -> ch:2 chl:stereo fmt:s16 r:22050Hz
[aac @ 0x7fb4cc00e600] Number of scalefactor bands in group (45) exceeds
limit (43).
[aac @ 0x7fb4cc00e600] Number of scalefactor bands in group (45) exceeds
limit (43).
aac @ 0x7fb4cc00e600] Number of scalefactor bands in group (45) exceeds
limit (43).
[aac @ 0x7fb4cc00e600] invalid band type
[aac @ 0x7fb4cc00e600] Number of scalefactor bands in group (45) exceeds
limit (43).
[aac @ 0x7fb4cc00e600] Number of bands (17) exceeds limit (15).
[aac @ 0x7fb4cc00e600] Number of scalefactor bands in group (45) exceeds
limit (43).
[aac @ 0x7fb4cc00e600] Number of scalefactor bands in group (45) exceeds
limit (43).
[aac @ 0x7fb4cc00e600] Number of scalefactor bands in group (45) exceeds
limit (43).
[aac @ 0x7fb4cc00e600] Number of bands (17) exceeds limit (15).
[aac @ 0x7fb4cc00e600] Number of scalefactor bands in group (46) exceeds
limit (43).
[aac @ 0x7fb4cc00e600] Number of scalefactor bands in group (45) exceeds
limit (43).
[aac @ 0x7fb4cc00e600] Number of scalefactor bands in group (45) exceeds
limit (43).
[aac @ 0x7fb4cc00e600] Number of bands (16) exceeds limit (15).
[aac @ 0x7fb4cc00e600] Number of scalefactor bands in group (46) exceeds
limit (43).
[aac @ 0x7fb4cc00e600] Number of scalefactor bands in group (45) exceeds
limit (43).
[aac @ 0x7fb4cc00e600] invalid band type
[aac @ 0x7fb4cc00e600] Number of scalefactor bands in group (45) exceeds
limit (43).
[aac @ 0x7fb4cc00e600] Number of scalefactor bands in group (45) exceeds
limit (43).
[aac @ 0x7fb4cc00e600] Number of scalefactor bands in group (46) exceeds
limit (43).
[aac @ 0x7fb4cc00e600] Number of bands (21) exceeds limit (15).
[aac @ 0x7fb4cc00e600] Number of scalefactor bands in group (45) exceeds
limit (43).
[aac @ 0x7fb4cc00e600] Number of bands (22) exceeds limit (15).
[aac @ 0x7fb4cc00e600] Number of scalefactor bands in group (45) exceeds
limit (43).
[aac @ 0x7fb4cc00e600] invalid band type
[aac @ 0x7fb4cc00e600] Number of scalefactor bands in group (46) exceeds
limit (43).
[aac @ 0x7fb4cc00e600] Number of scalefactor bands in group (45) exceeds
limit (43).
[aac @ 0x7fb4cc00e600] Number of scalefactor bands in group (45) exceeds
limit (43).
[aac @ 0x7fb4cc00e600] Number of scalefactor bands in group (45) exceeds
limit (43).
nan A-V: nan fd= 0 aq= 0KB vq=15368KB sq= 0B f=0/0
nan A-V: nan fd= 0 aq= 0KB vq=15365KB sq= 0B f=0/0
nan A-V: nan fd= 0 aq= 0KB vq=15362KB sq= 0B f=0/0
nan A-V: nan fd= 0 aq= 0KB vq=15360KB sq= 0B f=0/0
[aac @ 0x7fb4cc00e600] Number of scalefactor bands in group (45) exceeds
limit (43).
[aac @ 0x7fb4cc00e600] Number of scalefactor bands in group (45) exceeds
limit (43).
[aac @ 0x7fb4cc00e600] Number of scalefactor bands in group (45) exceeds
limit (43).
[aac @ 0x7fb4cc00e600] Number of scalefactor bands in group (45) exceeds
limit (43).
nan A-V: nan fd= 0 aq= 0KB vq=15376KB sq= 0B f=0/0
nan A-V: nan fd= 0 aq= 0KB vq=15374KB sq= 0B f=0/0
nan A-V: nan fd= 0 aq= 0KB vq=15372KB sq= 0B f=0/0
nan A-V: nan fd= 0 aq= 0KB vq=15361KB sq= 0B f=0/0
nan A-V: nan fd= 0 aq= 0KB vq=15365KB sq= 0B f=0/0
nan A-V: nan fd= 0 aq= 0KB vq=15361KB sq= 0B f=0/0
How to reproduce:
ffplay aac_scalefactor_error.mp4
built on linux
attached source sample file:[https://yunpan.360.cn/surl_ywMegdSInKi]
--
Ticket URL: <https://trac.ffmpeg.org/ticket/6944>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list