[Libav-user] Need help for decoding AAC with ffmpeg and separated AVCodecContex

Michael Bradshaw mbradshaw at sorensonmedia.com
Wed Oct 31 19:47:34 CET 2012


On Tue, Oct 30, 2012 at 8:10 PM, lingshan kong <konglingshan at duoku.com> wrote:
> hi
>
> I need some help with decoding AAC stream of audio.

What version of FFmpeg libraries are you using? There are some old
functions you're using (like avcodec_open()). Also, try following the
Audio Decoding (starts at line 236) example in
doc/examples/decodeing_encoding.c, it does exactly what you want. Link
to current file:
http://git.videolan.org/?p=ffmpeg.git;a=blob;f=doc/examples/decoding_encoding.c;h=cc5953f4af01e1f1e1f9025f6a5243827a441c8d;hb=HEAD


More information about the Libav-user mailing list