Opened 5 years ago
Last modified 5 years ago
#8099 open defect
empty output converting from 8ch .aac
Reported by: | MartinB | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | undetermined |
Version: | git-master | Keywords: | aac |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | yes | |
Analyzed by developer: | no |
Description
Summary of the bug:
How to reproduce:
% ffmpeg -i 8ch_lfeFiltering_decodeFails.aac output.wav ffmpeg 4.2 and newest trunk built on Windows 64bit
I am trying to convert an 8ch .aac file to .wav. VLC is able to play back the file, but with ffmpeg I get an empty (0 byte size) output and several errors printed out in the console.
Command used:
ffmpeg -i 8ch_lfeFiltering_decodeFails.aac output.wav
Error seen:
[aac @ 0000000002a27400] channel element 0.7 is not allocated
Error while decoding stream #0:0: Invalid data found when processing input
tested on 3.4 release, and also from latest trunk.
Note that 8ch_lfeFiltering_decodeFails.aac (also attached) should be similar but was encoded with LFE prefiltering, and decodes properly in both ffmpeg and VLC.
Output from: ffmpeg.exe -v 9 -loglevel 99 -i 8ch_lfeFiltering_decodeFails.aac
ffmpeg version 4.2 Copyright (c) 2000-2019 the FFmpeg developers
built with gcc 4.9.2 (GCC)
configuration: --prefix=/usr/local/x86_64-w64-mingw32 --cross-prefix=x86_64-w64-mingw32- --arch=x86_64 --target-os=mingw32 --enable-shared --disable-static
libavutil 56. 31.100 / 56. 31.100
libavcodec 58. 54.100 / 58. 54.100
libavformat 58. 29.100 / 58. 29.100
libavdevice 58. 8.100 / 58. 8.100
libavfilter 7. 57.100 / 7. 57.100
libswscale 5. 5.100 / 5. 5.100
libswresample 3. 5.100 / 3. 5.100
Splitting the commandline.
Reading option '-v' ... matched as option 'v' (set logging level) with argument '9'.
Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument '99'.
Reading option '-i' ... matched as input url with argument '8ch_lfeFiltering_decodeFails.aac'.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option v (set logging level) with argument 9.
Successfully parsed a group of options.
Parsing a group of options: input url 8ch_lfeFiltering_decodeFails.aac.
Successfully parsed a group of options.
Opening an input file: 8ch_lfeFiltering_decodeFails.aac.
[NULL @ 00000000007669c0] Opening '8ch_lfeFiltering_decodeFails.aac' for reading
[file @ 0000000000767340] Setting default whitelist 'file,crypto'
Probing aac score:51 size:2048
Probing flac score:13 size:2048
[aac @ 00000000007669c0] Format aac probed with size=2048 and score=51
[aac @ 00000000007669c0] Before avformat_find_stream_info() pos: 0 bytes read:65696 seeks:4 nb_streams:1
[aac @ 0000000002680140] channel element 0.7 is not allocated
Last message repeated 426 times
[aac @ 00000000007669c0] decoding for stream 0 failed
[aac @ 00000000007669c0] Estimating duration from bitrate, this may be inaccurate
[aac @ 00000000007669c0] stream 0: start_time: -326791809695.818 duration: 9.020
[aac @ 00000000007669c0] format: start_time: -9223372036854.775 duration: 9.020 bitrate=435 kb/s
[aac @ 00000000007669c0] Could not find codec parameters for stream 0 (Audio: aac (LC), 7.1, fltp, 435 kb/s): unspecified sample rate
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[aac @ 00000000007669c0] After avformat_find_stream_info() pos: 490874 bytes read:523802 seeks:4 frames:427
Input #0, aac, from '8ch_lfeFiltering_decodeFails.aac':
Duration: 00:00:09.02, bitrate: 435 kb/s
Stream #0:0, 427, 1/28224000: Audio: aac (LC), 7.1, fltp, 435 kb/s
Successfully opened the file.
At least one output file must be specified
[AVIOContext @ 0000000000768280] Statistics: 523802 bytes read, 4 seeks
Attachments (1)
Change History (7)
comment:2 by , 5 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
Please reopen this ticket if the issue is reproducible with current FFmpeg git head, the only version supported here.
comment:3 by , 5 years ago
Resolution: | invalid |
---|---|
Status: | closed → reopened |
Also reproduced. Output file size is 0 byte. Info about tested build:
ffmpeg.exe -v 9 -loglevel 99 -i 8ch_noLfeFiltering_decodeFails.aac ffmpeg version N-94664-g0821bc4eee Copyright (c) 2000-2019 the FFmpeg developers built with gcc 9.1.1 (GCC) 20190807 configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt libavutil 56. 33.100 / 56. 33.100 libavcodec 58. 55.101 / 58. 55.101 libavformat 58. 31.104 / 58. 31.104 libavdevice 58. 9.100 / 58. 9.100 libavfilter 7. 58.101 / 7. 58.101 libswscale 5. 6.100 / 5. 6.100 libswresample 3. 6.100 / 3. 6.100 libpostproc 55. 6.100 / 55. 6.100 Splitting the commandline. Reading option '-v' ... matched as option 'v' (set logging level) with argument '9'. Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument '99'. Reading option '-i' ... matched as input url with argument '8ch_noLfeFiltering_decodeFails.aac'. Finished splitting the commandline. Parsing a group of options: global . Applying option v (set logging level) with argument 9. Successfully parsed a group of options. Parsing a group of options: input url 8ch_noLfeFiltering_decodeFails.aac. Successfully parsed a group of options. Opening an input file: 8ch_noLfeFiltering_decodeFails.aac. [NULL @ 0000024f319b8980] Opening '8ch_noLfeFiltering_decodeFails.aac' for reading [file @ 0000024f319b9300] Setting default whitelist 'file,crypto' Probing aac score:51 size:2048 Probing flac score:13 size:2048 [aac @ 0000024f319b8980] Format aac probed with size=2048 and score=51 [aac @ 0000024f319b8980] Before avformat_find_stream_info() pos: 0 bytes read:65696 seeks:4 nb_streams:1 [aac @ 0000024f319cac40] channel element 0.7 is not allocated Last message repeated 426 times [aac @ 0000024f319b8980] decoding for stream 0 failed [aac @ 0000024f319b8980] Estimating duration from bitrate, this may be inaccurate [aac @ 0000024f319b8980] stream 0: start_time: -326791809695.818 duration: 9.020 [aac @ 0000024f319b8980] format: start_time: -9223372036854.775 duration: 9.020 bitrate=435 kb/s [aac @ 0000024f319b8980] Could not find codec parameters for stream 0 (Audio: aac (LC), 7.1, fltp, 435 kb/s): unspecified sample rate Consider increasing the value for the 'analyzeduration' and 'probesize' options [aac @ 0000024f319b8980] After avformat_find_stream_info() pos: 490874 bytes read:523802 seeks:4 frames:427 Input #0, aac, from '8ch_noLfeFiltering_decodeFails.aac': Duration: 00:00:09.02, bitrate: 435 kb/s Stream #0:0, 427, 1/28224000: Audio: aac (LC), 7.1, fltp, 435 kb/s Successfully opened the file. At least one output file must be specified [AVIOContext @ 0000024f319c1dc0] Statistics: 523802 bytes read, 4 seeks
by , 5 years ago
Attachment: | 8ch_noLfeFiltering_decodeFails.aac added |
---|
comment:4 by , 5 years ago
Is it possible that you attached a working file but claimed it does not work?
comment:5 by , 5 years ago
Sorry don't know how to modify the attachments, but 8ch_noLfeFiltering_decodeFails.aac is the source that fails to decode.
The original 2 attachments were re-named incorrectly (8ch_lfeFiltering_decodeFails.aac decodes properly, and 8ch_noLfeFiltering.aac decodes to an empty output file)
comment:6 by , 5 years ago
Reproduced by developer: | set |
---|---|
Status: | reopened → open |
Version: | unspecified → git-master |
Not a regression afaict.