[Bf-committers] Support of planar sample formats

Sergey Sharybin sergey.vfx at gmail.com
Tue Mar 5 17:43:28 CET 2013


Hi,

With new FFmpeg 1.1.3 it's arrived some bunch of compatibility issues.

Mainly, they've switched from AV_SAMPLE_FMT_S16 to AV_SAMPLE_FMT_S16P for
MP3 audio and from AV_SAMPLE_FMT_FLT to AV_SAMPLE_FMT_FLTP for AAC audio.
Unfortunately, audaspace does not support this (and the others) planar
sample formats.

I was able to make MP3 working by requesting AV_SAMPLE_FMT_S16 from
avcodec2_open, but same trick didn't work for AAC codec.

It'll be nice to have full support of planar sample formats for 2.67, so
we're safe to update to FFmpeg 1.1.3 (at least). I don't have much
experience in audio and sampling, maybe Joerg Mueller or Peter Schlaile are
around to help? If somebody else is familiar with such things, help is
always welcome :)

-- 
With best regards, Sergey Sharybin


More information about the Bf-committers mailing list