Opened 12 years ago

Closed 12 years ago

#2249 closed defect (invalid)

AAC avcodec_decode_audio4 sound

Reported by: Gibraltar Owned by:
Priority: normal Component: undetermined
Version: 1.1.2 Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Summary of the bug:
How to reproduce:

The following code using avcodec_decode_audio4 decodes aac incorrectly: https://github.com/mpenkov/ffmpeg-tutorial/blob/master/tutorial03.c
On versions <= 1.0.3, it works great. On 1.1.1 and now 1.1.2 it places static with fail repeating audio. 

Patches should be submitted to the ffmpeg-devel mailing list and not this bug tracker.

Change History (1)

comment:1 by Carl Eugen Hoyos, 12 years ago

Component: avcodecundetermined
Priority: importantnormal
Resolution: invalid
Status: newclosed

The AAC decoder now returns AV_SAMPLE_FMT_FLTP, if you have to use AUDIO_S16SYS, first convert audio with the aconvert filter (or use libswresample directly).

Note: See TracTickets for help on using tickets.