Opened 3 years ago

Closed 2 years ago

#9478 closed defect (invalid)

Converting an aac input to mp4 sometimes succeed but sometimes fail

Reported by: Shaohua Li Owned by:
Priority: important Component: undetermined
Version: git-master Keywords:
Cc: Shaohua Li Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Summary of the bug: When I was trying to converting an aac input to mp4, it sometimes succeeds but sometimes fails. For a robust software, I believe it should behave the same way regardless of success or failure.

Compiler: gcc11

How to reproduce:

% ffmpeg -threads 1 -y -i input.aac -f mp4 output.mp4
ffmpeg version N-104353-g2c734a8496 Copyright (c) 2000-2021 the FFmpeg developers
  built with gcc 11 (Ubuntu 11.1.0-1ubuntu1~20.04)
  configuration: --cc=/afl_diff_rand/afl_diff/compilers/gcc11-base/afl-gcc --cxx=/afl_diff_rand/afl_diff/compilers/gcc11-base/afl-g++ --ld='/afl_diff_rand/afl_diff/compilers/gcc11-base/afl-g++ -fno-sanitize=vptr -fno-sanitize=vptr -fno-sanitize=vptr -fno-sanitize=vptr -fno-sanitize=vptr -fno-sanitize=vptr -fno-sanitize=vptr -fno-sanitize=vptr -fno-sanitize=vptr -std=c++11' --extra-cflags=-I/ffmpeg/repo/gcc11-O2/ffmpeg_deps/include --extra-ldflags=-L/ffmpeg/repo/gcc11-O2/ffmpeg_deps/lib --prefix=/ffmpeg/repo/gcc11-O2/ffmpeg_deps --pkg-config-flags=--static --optflags=-O2 --enable-gpl --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libopus --enable-libtheora --enable-libvorbis --enable-nonfree --disable-shared
  libavutil      57.  7.100 / 57.  7.100
  libavcodec     59. 12.100 / 59. 12.100
  libavformat    59.  6.100 / 59.  6.100
  libavdevice    59.  0.101 / 59.  0.101
  libavfilter     8. 14.100 /  8. 14.100
  libswscale      6.  1.100 /  6.  1.100
  libswresample   4.  0.100 /  4.  0.100
  libpostproc    56.  0.100 / 56.  0.100

Attachments (1)

input.aac (24 bytes ) - added by Shaohua Li 3 years ago.

Download all attachments as: .zip

Change History (2)

by Shaohua Li, 3 years ago

Attachment: input.aac added

comment:1 by Marton Balint, 2 years ago

Resolution: invalid
Status: newclosed

Your AAC sample seems broken. You did not provide an error message. I don't understand what is the issue. If the input file is valid, it should always work. If the input file is broken, it might work, or it might not.

Note: See TracTickets for help on using tickets.