[libav-api] AAC Audio Decoding
krupl.attila at gmail.com
Tue May 7 08:27:07 CEST 2019
I've got a couple of questions about a problem I've got stuck with.
I'm trying to decode audio with LibAV based on the following example:
The difference is, that I'm not reading the audio stream from a file, but
I'm trying to decode something that is being encoded on the fly (
mainconcept's encoder is creating a stream of AAC for me, and I'm trying to
decode that ).
Every time I'm calling avcodec_send_packet( mCodecContext, mEncodedPacket
); I'm receiving an error of AVERROR_INVALIDDATA. I'm suspecting that my
AVPacket ( mEncodedPacket ) is not correct. ( Parsing didn't do the job I
was expecting, so I'm assigning members like data, size, dts, pts, pos
Can anyone help me with some information about how to create a packet
Probably it would be much easier to find the issue if I was able to step
into the source code of LibAV while debugging, but I'm missing the .pdb
files. Do you have an up-to-date method of building LibAV for windows in
debug mode with .pdb files?
More information about the libav-api