[FFmpeg-devel] [PATCH] handle WavPack stream version 0x410

Kostya kostya.shishkov
Mon Aug 13 07:36:35 CEST 2007

On Sun, Aug 12, 2007 at 08:52:25PM -0700, David Bryant wrote:
> Hi,
> This patch updates the WavPack decoder to handle version 0x410 streams. 
> These are created using the --optimize-mono switch with the command-line 
> encoder. Essentially, these streams can have individual blocks encoded 
> as mono data when the left and right channels of the source file are 
> identical. This ends up saving significant space over encoding them as 
> stereo because of a limitation in the entropy encoder (it can't 
> efficiently encode runs of zeros that occur in only one channel).

Hmm, may I interest you in updating this Multimedia Wiki page?
> This has been tested using the appropriate 16-bit stereo file from the 
> WavPack test suite (which fails currently with an error):
> test suite URL: http://www.rarewares.org/wavpack/test_suite.zip
> file: test_suite/special_cases/false_stereo.wv
> The FFmpeg WavPack decoder should now correctly decode all lossless 
> 16-bit stereo and mono streams.

> Thanks in advance,
> David

More information about the ffmpeg-devel mailing list