[FFmpeg-devel] [RFC] LPCM 24 bits support

Giuliano Pochini pochini
Tue Apr 29 23:41:09 CEST 2008


On Thu, 17 Apr 2008 21:10:07 +0100
M?ns Rullg?rd <mans at mansr.com> wrote:

> > +                for (c=0; c < avctx->channels*2; c++)
> > +                    *samples++ = audio24[c] >> 8;
> 
> What's the point in saving 24 bits per sample to a temporary buffer,
> only to discard the low 8 bits later?  Also, properly rounding the
> values to 16 bits (rather than truncating) might be preferable.

Is there any chance that ffmpeg will support 24-bits output in the near
future ?


--
Giuliano.




More information about the ffmpeg-devel mailing list