Re: Re: Welcome to the "Flac" mailing list

"Dat Head" <[email protected]>
Newsgroups gmane.comp.audio.compression.flac.user
Message-ID <[email protected]>
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 <[email protected]> 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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.