[FFmpeg-devel] patch for failing on WavPack DSD files

David Bryant david at wavpack.com
Thu Nov 22 07:50:36 EET 2018


On 11/20/18 10:58 PM, Peter Ross wrote:
> On Tue, Nov 20, 2018 at 09:23:03PM -0800, David Bryant wrote:
>> Hi,
>>
>> Was made aware of this problem on Kodi:
>>
>> https://github.com/xbmc/xbmc/issues/14771
>>
>> I'm going to try to add full WavPack DSD support, but thought in the meantime it would be a good idea to detect and error out early.
>>
>> Thanks!
> cool. is this dst-based, or your own algorithm?
>
> -- Peter
> (A907 E02F A6E5 0CD2 34CD 20D2 6760 79C5 AC40 DD6B)
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

This is my own algorithm. Actually there are two: one is a byte-based algorithm that is very fast and the other is bit-based
(like DST) that is slower but compresses better (and still uses less CPU than DST). If I had to make a rough estimation of the
average compression ratios, it would be about 0.6 for the fast mode, 0.5 for the high mode, and 0.4 for DST.

-David




More information about the ffmpeg-devel mailing list