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

2012-10-31 Thread Michael Bradshaw
On Tue, Oct 30, 2012 at 8:10 PM, lingshan kong 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 i

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

2012-10-31 Thread lingshan kong
hi I need some help with decoding AAC stream of audio. I get audio data via socket. It is neccessary to create AVCodecContext separately, not from AVFormatContext->streams[...]->codec; First i create AVCodec, AVCOdecContext and encode PCM data to AAC packet: avcodec_init(); avcodec_regist