[FFmpeg-devel] [PATCH] convert to S16 when resampling is requested

Marc Mason mpeg.blue
Mon Feb 2 10:33:10 CET 2009

Michael Niedermayer wrote:

> David DeHaven wrote:
>> Ideally, the resampling should be part of the converter.
> exactly, that was what I suggested ages ago (that is do it like swscale)
> sadly no one implemented it :(

As far as I understand, re-sampling and re-quantizing are not trivial 
operations in the general case, or am I mistaken?

For example, converting from signed 16-bits samples @ 48 kHz to [-1,1] 
float samples @ 44.1 kHz

Several "buzz words" spring to mind, such as interpolation, dithering, 
anti-aliasing, noise shaping, etc.

Anyway, it sounds ;-) like an interesting project. I'd like to look into it.


More information about the ffmpeg-devel mailing list