[FFmpeg-trac] #10499(ffmpeg:new): Error while decoding stream Invalid data found when processing input
FFmpeg
trac at avcodec.org
Mon Jul 31 16:35:07 EEST 2023
#10499: Error while decoding stream Invalid data found when processing input
--------------------------------+--------------------------------------
Reporter: bybarn | Type: defect
Status: new | Priority: normal
Component: ffmpeg | Version: git-master
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
--------------------------------+--------------------------------------
Summary of the bug: I am transcoding an audio file from flac to m4a and
the resulting file contain a very noticable "glitch" that the source files
does not have. Encoding to other formats (i.e. mp3) does not have the
glitch. Also, the glitch does not occur when encoding with VBR.
How to reproduce:
First transcode the file: ffmpeg -hide_banner -nostats -nostdin -loglevel
error -y -i file.flac -vn -c:a aac -aac_coder fast -b:a 320k file1.m4a
Then validate the output: ffmpeg -hide_banner -nostats -nostdin -v error
-i file.flac -vn -f null /dev/null
Error: [aac @ 00000154ace689c0] channel element 1.8 is not allocated
Error while decoding stream #0:0: Invalid data found when processing input
At 02:47, there is a very noticable glitch during playback of the output
file.
I have tested this with multiple versions. When I use version 3.4.1, the
problem does not occur.
Debug commands to get full output:
Command 1:
ffmpeg -v 9 -loglevel 99 -i file.flac -vn -c:a aac -aac_coder fast -b:a
320k file2.m4a > cmd1.out 2> cmd1.err
Commmand 2:
ffmpeg -v 9 -loglevel 99 -i file.flac -vn -f null /dev/null > cmd2.out 2>
cmd2.err
--
Ticket URL: <https://trac.ffmpeg.org/ticket/10499>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list