[FFmpeg-devel] [PATCH] Made wavpack decoder output 32 bits samples.

Justin Ruggles justin.ruggles
Wed Apr 22 00:14:49 CEST 2009


Laurent Aimar wrote:
> Hi,
> 
> On Mon, Apr 20, 2009, Michael Niedermayer wrote:
>> On Mon, Apr 20, 2009 at 10:17:41PM +0200, Laurent Aimar wrote:
>>> Hi,
>>>
>>> On Mon, Apr 20, 2009, Kostya wrote:
>>>> On Sat, Apr 18, 2009 at 09:47:08PM +0200, Laurent Aimar wrote:
>>>>> This patches is needed to extend wavpack to support > 16 bits files.
>>>> Well, in principle this looks fine along with 24-bit support patch but how does
>>>> it affect performance? Adding lossy compression support put it back on par with
>>>> reference decoder already and this may slow it down a bit more.
>>>  I have not checked for performance losses,
>> please do check and post the results
> As ffmpeg executable does not seems to correctly support S32 codec output I
> have used VLC to do all the benchmarks.

FFmpeg should work just fine with S32.  It works for 24-bit FLAC.  For
example:

ffmpeg -i 24bit.flac -acodec pcm_s24le 24bit.wav

This decodes the 24-bit FLAC as 32-bit samples, then converts it to
24-bit WAV.  I get bit-exact results with all the files I've tested.

-Justin



More information about the ffmpeg-devel mailing list