[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: flac and wav



Marko Randjelovic on 11/08/07 13:00, wrote:
Adam Hardy wrote:
is anyone here familiar with wav files or flac encoding? I created a wav
file using ReZound and I'm trying to compress it with flac but I get the
following error:

adam@gondor:~/tmp$ flac Ted/Ted\ Hughes\ -\ 1970\ -\ Crow\ \(side\ 1\).wav

flac 1.1.2, Copyright (C) 2000,2001,2002,2003,2004,2005  Josh Coalson
flac comes with ABSOLUTELY NO WARRANTY.  This is free software, and you are
welcome to redistribute it under certain conditions.  Type `flac' for
details.

options: -P 4096 -b 4608 -m -l 8 -q 0 -r 3,3
Ted Hughes - 1970 - Crow (side 1).wav: 100% complete, ratio=0.331Ted
Hughes - 1970 - Crow (side 1).wav: ERROR: unexpected EOF; expected
73923640 samples, got 73921536 samples


Flac reaches 100% while (presumably) encoding, but due to the error it
doesn't wwrite the flac file. This is with the --lax option which is
meant to be more forgiving.

Is this symptomatic of a setting I should have configured when I saved
the wav file in ReZound?

Maybe ReZound made bad wav file. Try some other wav file, from different
source. Can this wav file be played with some player?

You were right. I had made 4 files actually, and 2 of them were bad. I opened them and re-saved them with ReZound, and they encoded properly this time. I'm glad it wasn't anything but bad luck. But the files were each 300MB in size and the length of time opening and saving them was so appreciable, I hadn't thought of trying it.

Thanks
Adam



Reply to: