Sorry, turns out I was out of disk space and thats why I ws having the second problem (where it stopped decoding at 11%). Also, it turns out I was forgetting to use -c for piping the output. I still have the first problem though (flac adding 12 "00" bytes to the beginning of the decoded file when the original input to create the flac was a raw file), and would realy appreciate help. :) Thanks again, Pritpaul Mahal
--- Josh Coalson <xflac@yahoo.com> wrote:> --- pritpaul@svaudio.org wrote: > > I still have the > > first > > problem though (flac adding 12 "00" bytes to the beginning of the > > decoded > > file when the original input to create the flac was a raw file), > and > > would > > realy appreciate help. :) > > OK, I will look into that one.OK, the bug is fixed in CVS. the problem was due to an old rewind of the input which I neglected to take out when I added the lookahead for the wave auto- detection. anyway, if you only have the 1.0 sources, in src/flac/encode.c, just delete lines 536-538 and change SEEK_SET to SEEK_CUR on line 513. Josh __________________________________________________ Do You Yahoo!? Make a great connection at Yahoo! Personals. http://personals.yahoo.com
--- pritpaul@svaudio.org wrote:> Sorry, turns out I was out of disk space and thats why I ws having > the > second problem (where it stopped decoding at 11%). Also, it turns > out I > was forgetting to use -c for piping the output.glad to hear that.> I still have the > first > problem though (flac adding 12 "00" bytes to the beginning of the > decoded > file when the original input to create the flac was a raw file), and > would > realy appreciate help. :)OK, I will look into that one. I realize this is a hack but in the mean time, if you really need it, you can chop off the first 12 bytes at decode time with something like: flac -d -c ... | tail -c +13 | ... Josh __________________________________________________ Do You Yahoo!? Make a great connection at Yahoo! Personals. http://personals.yahoo.com