[FFmpeg-devel] Cannot decode aac_latm audio file

Deepak Jain jain1982 at gmail.com
Tue Jun 13 14:39:22 EEST 2023


Hello everyone,

I have a capture stream that contains below audio and video streams.

video: h264(high)
audio: aac_latm(HE-AACv2) ([17][0][0][0] / 0x0011), 48000 Hz, stereo, fltp

We are using Ffmpeg to decode this stream.
Video can be decoded easily, but audio is giving error.

Below error is coming:
av_buffersrc_add_frame_flags Error : (invalid argument)

We want to know if the above audio stream can be decoded in its current
format without conversion to other AAC format via Ffmpeg?

FYI, i am using libfdk_aac.

Any answers will be appreciated.

Thanks
Deepak Jain


More information about the ffmpeg-devel mailing list