[Flac] Re: Welcome to the "Flac" mailing list
Dat Head
dathead2 at gmail.com
Fri Nov 2 12:39:04 PDT 2007
dd if=$file ibs=1 count=$(($(stat --printf='%s' $file)-2)) of=$file.new
of course if you run this on one of the files that doesn't have the
extra 2 bytes
you're gonna lose something you didn't want to
On 11/1/07, Alex Brims <alex.brims at gmail.com> wrote:
> Ok, we actually worked this out - there were 2 extra bytes doing nothing at
> the end of the files. Opening the file in SoundForge and saving it (without
> changing it) took off the extra bytes and allowed the file to convert to
> FLAC.
>
> Thanks to everyone who emailed me suggestions.
>
> Is there a decent program for linux that could automatically take these
> bytes off, without running the risk of removing good data? Or is there a
> way to get the flac converter to ignore this error and create the file? I'm
> running flac 1.2.1 on Red Hat Enterprise Linux ES release 4.
More information about the Flac
mailing list