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

Michael Niedermayer michaelni
Wed Feb 4 13:17:18 CET 2009


On Wed, Feb 04, 2009 at 10:13:35AM +0100, Marc Mason wrote:
> Marc Mason wrote:
> 
> > 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.
> 
> Am I mistaken?

we have resampling code, we have sample convertion code, they only need to
be combined in a way that is clean, fast, simple and flexible



[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

In a rich man's house there is no place to spit but his face.
-- Diogenes of Sinope
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090204/eeae288e/attachment.pgp>



More information about the ffmpeg-devel mailing list