[Flac-dev] Re: Bug#119396: flac: Decoded data does not equal orginal data.
mdz at debian.org
Mon Nov 12 18:30:01 PST 2001
retitle 119396 flac: problems encoding very small files
flac-dev: I received the following bug report from a Debian user. Please
preserve Cc: 119396-forwarded at bugs.debian.org when replying.
On Mon, Nov 12, 2001 at 05:44:09PM -0800, Adam M. Costello wrote:
> Package: flac
> Version: 1.0-3
> Severity: grave
> The file "test" is a 1000-byte raw audio file (44100 samples per second,
> 16-bit signed, native byte order (little-endian), 2 channels).
> flac -fl -fc 2 -fp 16 -fs 44100 test
> flac -d -fl -fc 2 -fp 16 -fs 44100 -o test-out test.flac
> test-out ought to be identical to test, but test-out is 12 bytes longer.
> The first 12 bytes are repeated. If the first 12 bytes of test-out are
> removed, then the two files will agree.
> -- System Information
> Debian Release: testing/unstable
> Kernel Version: Linux arwen 2.4.13 #2 SMP Fri Nov 9 04:29:32 GMT 2001 i686 unknown
> Versions of the packages flac depends on:
> ii libc6 2.2.4-3 GNU C Library: Shared libraries and Timezone
> ii libflac1 1.0-3 Free Lossless Audio Codec - runtime library
Adding -V to the command line gives this:
flac -V -fl -fc 2 -fp 16 -fs 44100 test
options: -P 0 -b 4608 -m -l 8 -q 0 -r 3,3 -R 0 -V
test: 101% complete, ratio=0.078
Which is clearly wrong (101%), and I think should probably trigger an error
(but doesn't). Based on a few quick tests, this kind of problem seems to
occur with any file smaller than 4k (at least when using
More information about the Flac-dev