[FFmpeg-devel] Alternate audio bit depth support
Mon Jun 22 21:40:44 CEST 2009
Benjamin Larsson wrote:
> Brian Crowell wrote:
>> Hello. Just recently became a libavcodec/libavformat user. I see
>> there's been discussions about adding support for audio bit depths
>> other than 16 in the API, and from what I read in the code, that
>> hasn't happened yet.
>> First: Has anyone been working on this?
>> Second: If nobody's working on it, I'd be willing to put some time
>> into it. I like the proposal of making it like the video API: the
>> codec just exposes a "native" format, where native is the format of
>> the codec's internal buffer. (Example: AC3 uses float internally.)
>> Comments? Suggestions? Links to previous discussions or partial implementations?
> There is support for other formats. We just haven't converted all the
> codecs to use it yet. RA228 being one of them.
> Patches to convert more of them would be welcome.
BTW, it is not very hard to do the conversion. For ra288, it was a
matter of changing four lines:
More information about the ffmpeg-devel