Thank you for the reply! I know that my system can play flac files, I've played others I've managed to convert using both of those programs. I'm only running into difficulty when it comes to these large WAV files. By "Does not work" I mean that they do not play, and instead I receive the errors I mentioned in my original post. I wasn't actually intending to use wavsplit to split the flac files, it was just something I had during some testing for how to split these files. I'm actually going to be splitting during the conversion since the flac tool supports specifying time marks.<br>
<br>Is there something that could be wrong with the WAV files that prevent them from being able to convert to FLAC? Is there someway I can test the integrity of the WAV files?<br><br>Thanks again in advance,<br>Matthew<br>
<br><div class="gmail_quote">On Feb 5, 2008 6:07 PM, Brian Willoughby <<a href="mailto:brianw@sounds.wa.com">brianw@sounds.wa.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Matthew,<br><br>I don't think I can answer your entire question, but I will list a<br>few pieces of information.<br><br>1) I regularly convert very large AIFF files, up to 4 GB, using<br>flac. I sometimes work with WAV, and that seems to work, too. On my<br>
Mac, I can play flac files just fine in Play.app, VLC, and my own<br>software.<br><br>2) What do you mean the flac "files do not work"? You mean they<br>don't play? They will only play from software with full support for<br>
the flac format, which means many popular applications will not work.<br><br>3) I have not heard of "flac123" - perhaps this program is out of<br>date or is missing support. Maybe the author(s) of flac123 will<br>
comment.<br><br>4) Those warning mean that your Broadcast Wave File (BWF) is being<br>converted to standard audio flac, without any of the metadata from<br>the BWF. You'll need to use --keep-foreign-metadata if there is any<br>
importance to having the original BWF restored later. However, if<br>all you need is the audio and none of the other information, then you<br>can safely ignore these warnings. FLAC always preserves all of the<br>audio losslessly, you only ever have to worry about losing non-audio<br>
data.<br><br>5) You can only split a flac file if your splitting program<br>understands the format. You should learn the FLAC library and see<br>what kind of support it has for breaking a stream. If you use other<br>tools to split the file without knowledge of the FLAC format, you<br>
will lose data. In other words, you must develop a new program,<br>maybe called "flacsplit," to do this, because wavsplit will not work<br>on FLAC (unless they parse the FLAC format correctly as well as WAV).<br>
<br>I hope some of this information helps.<br><font color="#888888"><br>Brian Willoughby<br>Sound Consulting<br></font><div><div></div><div class="Wj3C7c"><br><br>On Feb 5, 2008, at 16:54, Matthew Davis wrote:<br>I'm attempting to convert fairly large WAV files (90 - 800 MB each)<br>
using flac but the files do not work after the encoding. (The play<br>fine in wav format)<br><br>Command I'm using:<br><br>flac --verify -8 file.wav<br><br>Attempting to run the file with either flac123 or the default player<br>
for Ubuntu (Movie Player?) results in the extremely terse messages:<br>Default Player: "An Error Occurred: Could Not Decode Stream"<br>flac123: "error handler called!" <- repeated over and over and over<br>
<br>There are no errors during the encoding, though there are some<br>warnings. Here is the output:<br><br>asdarq@eighty-desktop:~$ flac -f -8 --verify 10_A.wav<br><br>10_A.wav: WARNING: skipping unknown sub-chunk 'bext' (use --keep-<br>
foreign-metadata to keep)<br>10_A.wav: WARNING: legacy WAVE file has format type 1 but bits-per-<br>sample=24<br>10_A.wav: WARNING: skipping unknown sub-chunk 'minf' (use --keep-<br>foreign-metadata to keep)<br>10_A.wav: WARNING: skipping unknown sub-chunk 'elm1' (use --keep-<br>
foreign-metadata to keep)<br>10_A.wav: 100% complete, ratio=0.62410_A.wav: WARNING: skipping<br>unknown sub-chunk 'regn' (use --keep-foreign-metadata to keep)<br>10_A.wav: WARNING: skipping unknown sub-chunk 'ovwf' (use --keep-<br>
foreign-metadata to keep)<br>10_A.wav: WARNING: skipping unknown sub-chunk 'umid' (use --keep-<br>foreign-metadata to keep)<br>10_A.wav: Verify OK, wrote 168060055 bytes, ratio=0.624<br><br><br>As a final random test, I attempted to split one of the wav files (my<br>
ultimate goal is split flac files) using wavsplit. That resulted in<br>the following output/error.<br><br>Channels: 1<br>Samplerate: 96000Hz<br>Samplebits: 24<br>Databytes: 269503836<br><br>Split Hours Mins Seconds Bytes %<br>
Bad file format<br><br></div></div></blockquote></div><br>