Opened 10 years ago

Closed 10 years ago

Last modified 5 years ago

#3158 closed defect (invalid)

FFmpeg fails to encode mono audio using libfdk-aac and a variable bitrate.

Reported by: lkiesow Owned by:
Priority: normal Component: avcodec
Version: unspecified Keywords: libfdk-aac
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: yes

Description

Summary of the bug:

FFmpeg fails to encode mono audio using libfdk-aac and a variable bitrate.

  • Mono and fixed bitrate works
  • Stereo and variable bitrate works

How to reproduce:

% fmpeg -i test.wav -c:a libfdk_aac -ac 1 -vbr 3 test.aac

FFmpeg-Version used: 2.1

Test media (~600kb):

http://repo.virtuos.uos.de/ffmpeg-libfdk_aac-bug/test.wav

Log output:

http://repo.virtuos.uos.de/ffmpeg-libfdk_aac-bug/ffmpeg-20131118-104646.log.txt

Attachments (2)

ffmpeg-20131118-104646.log (5.8 KB ) - added by lkiesow 10 years ago.
FFmpeg log
test.wav (625.1 KB ) - added by lkiesow 10 years ago.

Download all attachments as: .zip

Change History (6)

by lkiesow, 10 years ago

Attachment: ffmpeg-20131118-104646.log added

FFmpeg log

by lkiesow, 10 years ago

Attachment: test.wav added

comment:1 by Carl Eugen Hoyos, 10 years ago

Component: FFmpegavcodec
Keywords: libfdk_aac added; audio Mono AAC removed

Is this reproducible with current FFmpeg git head?

comment:2 by Stefano Sabatini, 10 years ago

The following command works:

ffmpeg -i test.wav -c:a libfdk_aac -ar 22050 -ac 1 -vbr 3 -y test.aac

Seems a problem with the libfdk_aac library.

comment:3 by Stefano Sabatini, 10 years ago

Analyzed by developer: set
Reproduced by developer: set
Resolution: invalid
Status: newclosed

I got confirmation that the issue is related to libfdk-aac functionality status. In short VBR encoding in libfdk-aac is experimental and only works with some parameter combinations (as shown in the log).

I stressed that in our docs. Closing the ticket since the issue is not related to our codebase.

comment:4 by Carl Eugen Hoyos, 5 years ago

Keywords: libfdk-aac added; libfdk_aac removed
Version: unspecified
Note: See TracTickets for help on using tickets.