[FFmpeg-devel] [PATCH] handle WavPack stream version 0x410
David Bryant
david
Mon Aug 13 05:52:25 CEST 2007
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).
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: version_410.patch
Type: text/x-patch
Size: 4893 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070812/1f936d9f/attachment.bin>
More information about the ffmpeg-devel
mailing list