[FFmpeg-user] AC3 decoder now decoding to AV_SAMPLE_FMT_S32P? WTF?

Thomas Worth dev at rarevision.com
Fri Jun 28 14:21:05 CEST 2013

I updated to a newer version of avcodec from git, and now all of my
audio decoding code is broken. I think I've narrowed the problem down
to the sample format. The avcodec version I was using decoded AC3
frames to sample_format 1, or AV_SAMPLE_FMT_U8. However, now it
decodes to AV_SAMPLE_FMT_S32P. PCM formats still decode to
sample_format 1, so the audio still sounds right. However, AC3 audio
just sounds like static noise.

Do I have to multiple passes now because the channels are stored in planes?

More information about the ffmpeg-user mailing list