AAC Audio Decoding

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

AAC Audio Decoding

Attila Krüpl
Hi Folks,

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:
https://libav.org/documentation/doxygen/master/decode__audio_8c_source.html

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
manually. )

Can anyone help me with some information about how to create a packet
properly?

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 with
.pdb files?

Many thanks,

Attila
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: AAC Audio Decoding

Gyan


On 07-05-2019 11:20 AM, Attila Krüpl wrote:
> Hi Folks,
>
> 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:
> https://libav.org/documentation/doxygen/master/decode__audio_8c_source.html

This is an FFmpeg mailing list. You need to post to the relevant Libav
mailing list. See https://lists.libav.org/mailman/listinfo/libav-api

Gyan
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".