so you're saying it worked as expected with -8 but not
with -6? (the default compression option). that would
be very wierd.
however there is a bug that happens in this case
where stuff is added after the end of the data chunk
without using another WAVE chunk. I've committed the
fix (in src/flac/encode.c). it should now ignore
anything after the end of the data chunk.
Josh
--- Mark Powell <M.S.Powell@salford.ac.uk> wrote:> Hi,
> I have a large wav file generated by SoundForge.
> The last 176bytes of
> the file are some sort of comment inserted by
> SoundForge. The length field
> in the wav "data" chunk correctly specify the data
> length as:
>
> <file-size> - (full wav header size) 44 - 176
>
> However, flac seems to ignore this and compresses
> the comment along with
> the wav data. When unflacced back to wav the length
> field in the data
> chunk now specifies:
>
> <file-size> - 44
>
> It's lost the fact that the last 176 bytes are not
> actually part of the
> audio. If it's not possible to carry this comment
> into the flac format
> then it should be dropped rather than encoded as
> audio?
> Cheers.
>
> BTW It compressed the 350MB wav file perfectly at
> level 8.
__________________________________________________
Do You Yahoo!?
Yahoo! Photos - Share your holiday photos online!
http://photos.yahoo.com/