[FFmpeg-cvslog] r14692 - in trunk: libavcodec/pcm.c tests/regression.sh

Ramiro Polla ramiro
Tue Aug 12 14:22:21 CEST 2008


Hi,

> the number of decoded U8 samples is
> calculated using some lazy logic (number of short ints / 2). 
> 
> See patch.

Thanks. I saw this problem when implementing 24-bit support for the MLP 
encoder. Now the next thing that is missing for the code in GSoC SVN to 
work with 24-bit samples are convert functions to/from S24. And FFmpeg 
still seems to be quite stubborn with always choosing 16-bit.

What would be the best way to generate a 24-bit PCM wav from whatever 
source, and then just have to do:
./ffmpeg_g -i 24bitsample.wav 24bitasample.mlp
and have FFmpeg pass SAMPLE_FMT_S24 to the encoder?

Ramiro Polla




More information about the ffmpeg-cvslog mailing list