Opened 9 months ago

Last modified 9 months ago

#10499 new defect

Error while decoding stream Invalid data found when processing input

Reported by: bybarn Owned by:
Priority: normal Component: ffmpeg
Version: git-master Keywords:
Cc: bybarn Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

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

Attachments (2)

cmd1.err (936.7 KB ) - added by bybarn 9 months ago.
cmd2.err (6.6 KB ) - added by bybarn 9 months ago.

Download all attachments as: .zip

Change History (3)

by bybarn, 9 months ago

Attachment: cmd1.err added

by bybarn, 9 months ago

Attachment: cmd2.err added

comment:1 by bybarn, 9 months ago

Uploaded input file to videolanfileuploader used to reproduce the issue.

Note: See TracTickets for help on using tickets.