1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 2<!-- Copyright (c) 2000-2009 Josh Coalson --> 3<!-- Copyright (c) 2011-2016 Xiph.Org Foundation --> 4<!-- Permission is granted to copy, distribute and/or modify this document --> 5<!-- under the terms of the GNU Free Documentation License, Version 1.1 --> 6<!-- or any later version published by the Free Software Foundation; --> 7<!-- with no invariant sections. --> 8<!-- A copy of the license can be found at http://www.gnu.org/copyleft/fdl.html --> 9<html xmlns="http://www.w3.org/1999/xhtml"> 10<head> 11 <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> 12 <meta name="author" content="Josh Coalson" /> 13 <meta name="description" content="A free, open source codec for lossless audio compression and decompression" /> 14 <meta name="keywords" content="free,lossless,audio,codec,encoder,decoder,compression,compressor,archival,archive,archiving,backup,music" /> 15 <link rel="shortcut icon" type="image/x-icon" href="favicon.ico" /> 16 <link rel="stylesheet" type="text/css" href="flac.css" /> 17 <title>FLAC - faq</title> 18</head> 19 20<body> 21 22<div class="logo"> 23 <a href="index.html"><img src="images/logo130.gif" alt="FLAC Logo" align="middle" border="0" hspace="0" /></a> 24</div> 25 26<div class="above_nav"></div> 27 28<div class="navbar"> 29 <a href="index.html">home</a> | 30 faq | 31 <a href="documentation.html">documentation</a> | 32 <a href="developers.html">developers</a> | 33 <a href="changelog.html">changelog</a> | 34 <a href="http://xiph.org/flac">more</a> 35</div> 36 37<div class="below_nav"></div> 38 39<div class="box"> 40 <div class="box_title"> 41 faq 42 </div> 43 <div class="box_header"></div> 44 <div class="box_body"> 45 <b>General</b> 46 <ul> 47 <li> 48 <a href="faq.html#general__what_is"><b>What is FLAC?</b></a> 49 </li> 50 <li> 51 <a href="faq.html#general__how_to"><b>I have a FLAC file, how do I play it?</b></a> 52 </li> 53 <li> 54 <a href="faq.html#general__how_to"><b>How can I create FLAC files?</b></a> 55 </li> 56 <li> 57 <a href="faq.html#general__license"><b>What licensing applies to the FLAC format and software?</b></a> 58 </li> 59 <li> 60 <a href="faq.html#general__tagging"><b>What kinds of tags does FLAC support?</b></a> 61 </li> 62 <li> 63 <a href="faq.html#general__software"><b>What software support FLAC?</b></a> 64 </li> 65 <li> 66 <a href="faq.html#general__software_wmp"><b>How can I play FLAC in Windows Media Player?</b></a> 67 </li> 68 <li> 69 <a href="faq.html#general__hardware"><b>What hardware products support FLAC?</b></a> 70 </li> 71 <li> 72 <a href="faq.html#general__native_vs_ogg"><b>What is the difference between (native) FLAC and Ogg FLAC?</b></a> 73 </li> 74 <li> 75 <a href="faq.html#general__native_or_ogg"><b>Which should I use, (native) FLAC or Ogg FLAC?</b></a> 76 </li> 77 <li> 78 <a href="faq.html#general__no_cuesheet_tags"><b>Why aren't PERFORMER/TITLE/etc tags stored in the FLAC CUESHEET block?</b></a> 79 </li> 80 <li> 81 <a href="faq.html#general__no_wave_metadata"><b>Why doesn't FLAC store all WAVE metadata?</b></a> 82 </li> 83 <li> 84 <a href="faq.html#general__not_wave_compressor"><b>If flac compresses WAVE files, why isn't it technically a WAVE file compressor?</b></a> 85 </li> 86 <li> 87 <a href="faq.html#general__no_riff_subchunks"><b>Why do some lossless comparisons say FLAC does not support RIFF chunks?</b></a> 88 </li> 89 <li> 90 <a href="faq.html#general__asymmetry"><b>Why do the encoder settings have a big effect on the encoding time but not the decoding time?</b></a> 91 </li> 92 <li> 93 <a href="faq.html#general__alternatives"><b>Why use FLAC instead of other codecs that compress more?</b></a> 94 </li> 95 <li> 96 <a href="faq.html#general__encode_faster"><b>Why can't you make FLAC encode faster?</b></a> 97 </li> 98 <li> 99 <a href="faq.html#general__lossless_trust"><b>How can I be sure FLAC is lossless?</b></a> 100 </li> 101 <li> 102 <a href="faq.html#general__testing"><b>How much testing has been done on FLAC?</b></a> 103 </li> 104 <li> 105 <a href="faq.html#general__lowest_bitrate"><b>What is the lowest bitrate (or highest compression) achievable with FLAC?</b></a> 106 </li> 107 <li> 108 <a href="faq.html#general__channels"><b>How many channels does FLAC support?</b></a> 109 </li> 110 <li> 111 <a href="faq.html#general__samples"><b>What kind of audio samples does FLAC support?</b></a> 112 </li> 113 <li> 114 <a href="faq.html#general__samples_fp"><b>Will FLAC ever support floating-point samples?</b></a> 115 </li> 116 </ul> 117 <b>Tools</b> 118 <ul> 119 <li> 120 <a href="faq.html#tools__eac_and_flac"><b>How do I set up EAC to rip directly to FLAC?</b></a> 121 </li> 122 <li> 123 <a href="faq.html#tools__runtime75"><b>Why am I getting "Run-time error '75': Path/File access error" with FLAC Frontend?</b></a> 124 </li> 125 <li> 126 <a href="faq.html#tools__option_blocking"><b>How do I encode a file that starts with a dash?</b></a> 127 </li> 128 <li> 129 <a href="faq.html#tools__long_meta_edits"><b>Why does it take so long to edit some FLAC files with metaflac?</b></a> 130 </li> 131 <li> 132 <a href="faq.html#tools__wildcards_on_windows"><b>Why don't wildcards for file names like *.flac or *.wav work with <span class="commandname">flac</span>/<span class="commandname">metaflac</span> on Windows?</b></a> 133 </li> 134 <li> 135 <a href="faq.html#tools__hardware_prob"><b>I compressed a file to FLAC with verify on, and flac said "Verify FAILED!" Why?</b></a> 136 </li> 137 <li> 138 <a href="faq.html#tools__wave_flac_wave"><b>I compressed a WAVE file to FLAC, then decompressed to WAVE, and the two weren't identical. Why?</b></a> 139 </li> 140 <li> 141 <a href="faq.html#tools__skipped_subchunk"><b>I compressed a WAVE file to FLAC and it said "warning: skipping unknown sub-chunk LIST". Why?</b></a> 142 </li> 143 <li> 144 <a href="faq.html#tools__two_bytes_short"><b>I decoded a FLAC file and the WAVE is 2 bytes shorter than the original. Why?</b></a> 145 </li> 146 <li> 147 <a href="faq.html#tools__not_streamable"><b>Why did I get "ERROR initializing encoder, state = FLAC__STREAM_ENCODER_NOT_STREAMABLE"?</b></a> 148 </li> 149 <li> 150 <a href="faq.html#tools__different_sizes"><b>Why doesn't the same file compressed on different machines with the same options yield the same FLAC file?</b></a> 151 </li> 152 </ul> 153 <b>API</b> 154 <ul> 155 <li> 156 <a href="faq.html#api__release_versioning"><b>Why does your API change for point releases?</b></a> 157 </li> 158 <li> 159 <a href="faq.html#api__frame_length"><b>How can I determine the encoded frame length?</b></a> 160 </li> 161 </ul> 162 <b>Project</b> 163 <ul> 164 <li> 165 <a href="faq.html#project__lists"><b>Where are the mailing lists, forums, discussion areas, etc.?</b></a> 166 </li> 167 <li> 168 <a href="faq.html#project__submit_bug"><b>How do I submit a bug report?</b></a> 169 </li> 170 </ul> 171 172 <h2> 173 <b>General</b> 174 </h2> 175 176 <a name="general__what_is"><b>What is FLAC?</b></a><br /> 177 <br /> 178 FLAC stands for Free Lossless Audio Codec, an audio format similar to MP3, but lossless, meaning that audio is compressed in FLAC without any loss in quality. This is similar to how Zip works, except with FLAC you will get much better compression because it is designed specifically for audio, and you can play back compressed FLAC files in your favorite player (or your car or home stereo, see <a href="http://xiph.org/flac/links.html#hardware">supported devices</a>) just like you would an MP3 file.<br /> 179 <br /> 180 For more details, see <a href="features.html">What is FLAC?</a><br /> 181 <br /> 182 <a name="general__how_to"><b>I have a FLAC file, how do I play it?</b></a><br /> 183 <b>How can I create FLAC files?</b><br /> 184 <br /> 185 See <a href="http://xiph.org/flac/documentation_tasks.html">Using FLAC</a> or a <a href="http://xiph.org/flac/links.html">list of hardware that supports FLAC</a>.<br /> 186 <br /> 187 <a name="general__license"><b>What licensing applies to the FLAC format and software?</b></a><br /> 188 <br /> 189 See the <a href="license.html">license page</a>.<br /> 190 <br /> 191 <a name="general__tagging"><b>What kinds of tags does FLAC support?</b></a><br /> 192 <br /> 193 FLAC has it's own native tagging system which is identical to that of Vorbis. They are called alternately "FLAC tags" and "Vorbis comments". It is the only tagging system required and guaranteed to be supported by FLAC implementations.<br /> 194 <br /> 195 Out of convenience, the reference decoder knows how to skip ID3 tags so that they don't interfere with decoding. But you should not expect any tags beside FLAC tags to be supported in applications; some implementations may not even be able to decode a FLAC file with ID3 tags.<br /> 196 <br /> 197 <a name="general__software"><b>What software support FLAC?</b></a><br /> 198 <br /> 199 This list is so large now it is difficult to maintain and keep up-to-date. For a partial list of open-source software that supports FLAC, see the <a href="http://xiph.org/flac/links.html#software">software section</a> of the links page. For a partial list of the most popular software used to encode, decode, play, tag, and rip FLAC files, see the <a href="http://xiph.org/flac/download.html">download page</a>.<br /> 200 <br /> 201 <a name="general__software_wmp"><b>How can I play FLAC in Windows Media Player?</b></a><br /> 202 <br /> 203 The easiest way is to use the Xiph.org Directshow Filters, <a href="http://www.xiph.org/dshow/downloads/">download them here</a><br /> 204 <br /> 205 <a name="general__hardware"><b>What hardware products support FLAC?</b></a><br /> 206 <br /> 207 See the <a href="http://xiph.org/flac/links.html#hardware">hardware section</a> of the links page.<br /> 208 <br /> 209 <a name="general__native_vs_ogg"><b>What is the difference between (native) FLAC and Ogg FLAC?</b></a><br /> 210 <br /> 211 You can think of an audio codec as having two layers. The inside layer is the raw compressed data, and the outside layer is the "container" or "transport layer" that splits and arranges the compressed data in pieces so it can be seeked through, edited, etc.<br /> 212 <br /> 213 "Native" FLAC is the compressed FLAC data stored in a very minimalist container, designed to be very efficient at storing single audio streams.<br /> 214 <br /> 215 Ogg FLAC is the compressed FLAC data stored in an <a href="http://xiph.org/vorbis/doc/oggstream.html">Ogg container</a>. Ogg is a much more powerful transport layer that enables mixing several kinds of different streams (audio, data, metadata, etc). The overhead is slightly higher than with native FLAC.<br /> 216 <br /> 217 In either case, the compressed FLAC data is the same and one can be converted to the other without re-encoding.<br /> 218 <br /> 219 <a name="general__native_or_ogg"><b>Which should I use, (native) FLAC or Ogg FLAC?</b></a><br /> 220 <br /> 221 The short answer right now is probably "native FLAC". If all you are doing is compressing audio to be played back later, native FLAC will do everything you need, is more widely supported, and will yield smaller files. If you plan to edit the compressed audio, or want to multiplex the audio with video later in an Ogg container, Ogg FLAC is a better choice.<br /> 222 <br /> 223 <a name="general__no_cuesheet_tags"><b>Why aren't PERFORMER/TITLE/etc tags stored in the FLAC CUESHEET block?</b></a><br /> 224 <br /> 225 This has turned out to be a pretty polarizing issue and requires a long explanation.<br /> 226 <br /> 227 The original purpose of a cue sheet in CD authoring software was to lay out the disc, essentially specifying how the audio will be organized on the disc; some of the information ends up as the CD table of contents: the track numbers and locations, and the index points. Later CD-TEXT was added. But CD-TEXT is a very complex spec, and actually goes in the CD subcode data. It is internationalized, not through Unicode, but with several different character sets, some of them multi-byte. It even allows for graphics. In cue sheets, the TITLE/PERFORMER/etc tags are just a limited shorthand for authoring CD-TEXT, but when you rip, you almost never parse the CD-TEXT, you get it from another database, and it doesn't really belong in the FLAC CUESHEET block.<br /> 228 <br /> 229 For FLAC the intention is that applications can calculate the CDDB or CDindex ID from the CUESHEET block and look it up in an online or local database just like CD rippers and players do. But if you really want it in the file itself, the track metadata should be stored separate from the CUESHEET, and already can be because of FLAC's metadata system. There just isn't a method specified yet because as soon as it is, people will say that it's not flexible enough. From experience (and you can see this come up time and time again in many lists), anyone who is going to the trouble of keeping a lossless collection in the first place will already be picky about metadata, and it is hard to come up with a standard that will please even the majority. That is the big problem with metadata and is why Xiph has deferred on it, waiting for someone to come up with a good metadata spec that can be multiplexed together with data.<br /> 230 <br /> 231 Some players (for example Foobar2000) allow you to store the CDDB data as FLAC tags and can parse that.<br /> 232 <br /> 233 <a name="general__no_wave_metadata"><b>Why doesn't FLAC store all WAVE metadata?</b></a><br /> 234 <a name="general__not_wave_compressor"><b>If flac compresses WAVE files, why isn't it technically a WAVE file compressor?</b></a><br /> 235 <br /> 236 (By default, <span class="commandname">flac</span> does not store WAVE metadata, but it can with the <span class="argument"><a href="documentation_tools_flac.html#flac_options_keep_foreign_metadata">--keep-foreign-metadata</a></span> option described below.)<br /> 237 <br /> 238 FLAC is a general-purpose audio format, not just a compressed WAVE file format. There's a subtle difference. WAVE is a complicated standard; many kinds of data besides audio data can be put in it. FLAC's purpose is not to reproduce a WAVE file, including all the non-audio data that is in it, it is to losslessly compress the audio.<br /> 239 <br /> 240 However, if you really need to store the non-audio parts of a WAVE or AIFF file, you can use the <span class="argument"><a href="documentation_tools_flac.html#flac_options_keep_foreign_metadata">--keep-foreign-metadata</a></span> option to <span class="commandname">flac</span> when encoding to store it in FLAC metadata, then use the option again when decoding to restore in to the decoded WAVE/AIFF file.<br /> 241 <br /> 242 <a name="general__no_riff_subchunks"><b>Why do some lossless comparisons say FLAC does not support RIFF chunks?</b></a><br /> 243 <br /> 244 This is a limitation that no longer exists with FLAC (<a href="faq.html#general__no_wave_metadata">see above</a>).<br /> 245 <br /> 246 <a name="general__asymmetry"><b>Why do the encoder settings have a big effect on the encoding time but not the decoding time?</b></a><br /> 247 <br /> 248 It's hard to explain without going into the codec design, but to oversimplify, the encoder is looking for functions that approximate the signal. Higher settings make the encoder search more to find better approximations. The functions are themselves encoded in the FLAC file. Decoding only requires computing the one chosen function, and the complexity of the function is very stable. This is by design, to make decoding easier, and is one of the things that makes FLAC easy to implement in hardware.<br /> 249 <br /> 250 <a name="general__alternatives"><b>Why use FLAC instead of other codecs that compress more?</b></a><br /> 251 <br /> 252 For most users, a small difference in filesize is usually far outweighed by FLAC's advantages: open patent free codec, portable open source (BSD) reference implementation, documented API, multi-platform support, hardware support, multi-channel support, etc. Improving FLAC to get a little more compression is not worth making it more complex and more compute-intensive to decode, and hence, less likely to be supported in hardware.<br /> 253 <br /> 254 <a name="general__encode_faster"><b>Why can't you make FLAC encode faster?</b></a><br /> 255 <br /> 256 FLAC already encodes pretty fast. It is faster than real-time even on weak systems and is not much slower than even the fastest codecs. And it is faster than the CD ripping process with which it is usually paired, meaning even if it went faster, it would not speed up the ripping-encoding process anyway.<br /> 257 <br /> 258 Part of the reason is that FLAC is asymmetric <a href="faq.html#general__asymmetry">(see also)</a>. That means that it is optimized for decoding speed at the expense of encoding speed, because it makes it easier to decode on low-powered hardware, and because you only encode once but you decode many times. <br /> 259 <br /> 260 <a name="general__lossless_trust"><b>How can I be sure FLAC is lossless?</b></a><br /> 261 <a name="general__testing"><b>How much testing has been done on FLAC?</b></a><br /> 262 <br /> 263 First, FLAC is probably the only lossless compressor that has a published and comprehensive test suite. With the others you rely on the author's personal testing or the longevity of the program. But with FLAC you can download the whole test suite and run it on any version you like, or alter it to test your own data. The test suite checks every function in the API, as well as running many thousands of streams through an encode-decode-verify process, to test every nook and cranny of the system. Even on a fast machine the full test suite takes hours. The full test suite must pass on several platforms before a release is made.<br /> 264 <br /> 265 Second, you can always use the <span class="argument">-V</span> option with <span class="commandname">flac</span> (also supported by most GUI frontends) to verify while encoding. With this option, a decoder is run in parallel to the encoder and its output is compared against the original input. If a difference is found <span class="commandname">flac</span> will stop with an error.<br /> 266 <br /> 267 Finally, FLAC is used by many people and has been judged stable enough by many software and hardware makers to be incorporated into their products.<br /> 268 <br /> 269 <a name="general__lowest_bitrate"><b>What is the lowest bitrate (or highest compression) achievable with FLAC?</b></a><br /> 270 <br /> 271 With FLAC you do not specify a bitrate like with some lossy codecs. It's more like specifying a quality with Vorbis or MPC, except with FLAC the quality is always "lossless" and the resulting bitrate is roughly proportional to the amount of information in the original signal. You cannot control the bitrate much and the result can be from around 100% of the input rate (if you are encoding noise), down to almost 0 (encoding silence).<br /> 272 <br /> 273 <a name="general__channels"><b>How many channels does FLAC support?</b></a><br /> 274 <br /> 275 FLAC supports from 1 to 8 channels per stream. Channels are only grouped in FLAC to take advantage of interchannel correlation and to define common channel assignments (like stereo L/R, 5.1 surround, et cetera). When encoding a large number of independent channels it is expected that they are coded separately and if required, multiplexed together in a suitable container like Ogg or Matroska.<br /> 276 <br /> 277 <a name="general__samples"><b>What kind of audio samples does FLAC support?</b></a><br /> 278 <br /> 279 FLAC supports linear PCM samples with a resolution between 4 and 32 bits per sample. FLAC does not support floating point samples. In some cases it is possible to losslessly transform samples from an incompatible range to a FLAC-compatible range before encoding.<br /> 280 <br /> 281 FLAC supports linear sample rates from 1Hz - 655350Hz in 1Hz increments.<br /> 282 <br /> 283 <a name="general__samples_fp"><b>Will FLAC ever support floating-point samples?</b></a><br /> 284 <br /> 285 It's unlikely FLAC will ever support floating-point samples natively. The main application for floating-point is audio engineering, which demands easy editing and very high speed for both encoding and decoding above everything else.<br /> 286 <br /> 287 FLAC is designed as a consumer audio format. It trades ease of editing for a featureful, robust transport layer more suited for playback, and encoding speed for more compression and faster decompression. 288 289 <h2> 290 <b>Tools</b> 291 </h2> 292 293 <a name="tools__eac_and_flac"><b>How do I set up EAC to rip directly to FLAC?</b></a><br /> 294 <br /> 295 See Case's excellent <a href="http://www.saunalahti.fi/cse/EAC/index.html">EAC configuration page</a>. Or use <a href="http://www.legroom.net/software/autoflac">AutoFLAC</a> or <a href="http://mareo.netfirms.com/">MAREO</a> to rip to FLAC or multiple formats at once.<br /> 296 <br /> 297 <a name="tools__runtime75"><b>Why am I getting "Run-time error '75': Path/File access error" with FLAC Frontend?</b></a><br /> 298 <br /> 299 You are probably using an old version of FLAC Frontend. Try downloading a new version from <a href="http://flacfrontend.sf.net/">this sourceforge page</a><br /> 300 <br /> 301 <a name="tools__option_blocking"><b>How do I encode a file that starts with a dash?</b></a><br /> 302 <br /> 303 When using <span class="commandname">flac</span> to encode on the command-line, a file that starts with a dash will be treated as an option, but there is a simple workaround. Use <span class="argument">--</span> to signal the end of options and the beginning of filenames, like so:<br /> 304 <br /> 305 <span class="code">flac -V -- -01-name.wav</span><br /> 306 <br /> 307 <a name="tools__long_meta_edits"><b>Why does it take so long to edit some FLAC files with metaflac?</b></a><br /> 308 <br /> 309 Since metadata is stored at the beginning of a FLAC file, changing the length of it can sometimes cause the whole file to be rewritten. You can avoid this by adding padding with <span class="commandname">flac</span> when you encode, or with <span class="commandname">metaflac</span> after encoding. By default, <span class="commandname">flac</span> adds 8k of padding; you can change this amount if you need more or less.<br /> 310 <br /> 311 <a name="tools__wildcards_on_windows"><b>Why don't wildcards for file names like *.flac or *.wav work with <span class="commandname">flac</span>/<span class="commandname">metaflac</span> on Windows?</b></a><br /> 312 <br /> 313 The Windows command shells (cmd.exe, command.com) implement wildcard handling differently than most other shells, leaving it up to the program to do everything including difficult and ambiguous cases. For an explanation of why wildcards on cmd.exe/command.com are dangerous, see <a href="http://www.hydrogenaud.io/forums/index.php?showtopic=50667&st=75&p=466078&#entry466078">here</a>. Better command shells for Windows exist, e.g. from <a href="http://cygwin.com/">Cygwin</a>. A workaround with the Windows shells is to do something like:<br /> 314 <br /> 315 <tt>for %F in (*.wav) do flac "%F"</tt><br /> 316 <br /> 317 but care must still be taken that the command will execute as intended.<br /> 318 <br /> 319 <a name="tools__hardware_prob"><b>I compressed a file to FLAC with verify on, and flac said "Verify FAILED!" Why?</b></a><br /> 320 <br /> 321 The only known cause of verify errors is faulty hardware. The dead giveaway is that if you repeat the exact same command, the error occurs in a different place or not at all. This can also happen when decoding or testing a FLAC file. If this is happening it is your hardware and not a FLAC bug.<br /> 322 <br /> 323 The problem is usually caused by overclocking/overheating the CPU or bad RAM. Try one of the many free programs available for testing hardware (e.g. <a href="http://www.memtest.org/">Memtest</a>).<br /> 324 <br /> 325 If you ever have a verify error that fails at the same place every time, please <a href="faq.html#project__submit_bug">file a bug</a>, uploading a sample according to <a href="http://sourceforge.net/p/flac/bugs/42/">the instructions found at the bottom of this bug report</a>.<br /> 326 <br /> 327 <a name="tools__wave_flac_wave"><b>I compressed a WAVE file to FLAC, then decompressed to WAVE, and the two weren't identical. Why?</b></a><br /> 328 <a name="tools__skipped_subchunk"><b>I compressed a WAVE file to FLAC and it said "warning: skipping unknown sub-chunk LIST". Why?</b></a><br /> 329 <br /> 330 WAVE is a complicated standard; many kinds of data besides audio data can be put in it. Most likely what has happened is that the application that created the original WAVE file also added some extra information for it's own use, which FLAC does not store or recreate by default (but can with the <span class="argument"><a href="documentation_tools_flac.html#flac_options_keep_foreign_metadata">--keep-foreign-metadata</a></span> option) (<a href="faq.html#tools__two_bytes_short">see also</a>). The audio data in the two WAVE files will be identical. There are other tools to compare just the audio content of two WAVE files; <a href="http://www.exactaudiocopy.de/">ExactAudioCopy</a> has such a feature.<br /> 331 <br /> 332 For the more technically inclined, by default FLAC only stores what is in the 'fmt ' and 'data' sub-chunks of a WAVE file. <a href="faq.html#general__no_wave_metadata">(see also)</a><br /> 333 <br /> 334 <a name="tools__two_bytes_short"><b>I decoded a FLAC file and the WAVE is 2 bytes shorter than the original. Why?</b></a><br /> 335 <br /> 336 The difference is probably that between an 18-byte 'fmt ' subchunk in the original WAVE vs. a 16-byte one in the decoded WAVE. With WAVE there is more than one way to write identical formatting information, but FLAC always writes the most common legal form. <a href="faq.html#tools__wave_flac_wave">(see also)</a><br /> 337 <br /> 338 <a name="tools__not_streamable"><b>Why did I get "ERROR initializing encoder, state = FLAC__STREAM_ENCODER_NOT_STREAMABLE"?</b></a><br /> 339 <br /> 340 You specified encoding options that are outside the <a href="format.html#subset">Streamable subset</a>. If that is what you really wanted and you understand the consequences, you can use <span class="code">flac --lax</span> to generate a non-Subset stream. The resulting file may not be streamable or play in all players.<br /> 341 <br /> 342 <a name="tools__different_sizes"><b>Why doesn't the same file compressed on different machines with the same options yield the same FLAC file?</b></a><br /> 343 <br /> 344 It's not supposed to, and neither does it mean either encoding was bad. There are many variations between different machines or even different builds of <span class="commandname">flac</span> on the same machine that can lead to small differences in the FLAC file, even if they have the exact same final size. This is normal. 345 346 <h2> 347 <b>API</b> 348 </h2> 349 350 <a name="api__release_versioning"><b>Why does your API change for point releases?</b></a><br /> 351 <br /> 352 The FLAC release numbering scheme of MAJOR.MINOR.MICRO reflects the state of the FLAC format, not the API. This is most intuitive for users, at the expense of flustering developers. The shared library number (derived from the libtool current:revision:age number) is the indicator of binary API compatibility. As of FLAC 1.1.3, the current, revision, and age numbers are also <tt>#define</tt>d in the library headers to make porting easier; see the <a href="api/group__porting.html">porting guide</a>.<br /> 353 <br /> 354 <a name="api__frame_length"><b>How can I determine the encoded frame length?</b></a><br /> 355 <br /> 356 With native FLAC, it is not possible to determine the frame length without decoding. Probably if I had it all to do again I would have constrained the possible block sizes, which would have made it more practical to put the frame length in the frame header. For an example of how to find the frame boundaries in a stream, see the source code to <span class="commandname">metaflac</span>, in the functionality that adds seek points.<br /> 357 <br /> 358 With Ogg FLAC, it can be calculated from the Ogg page header. 359 360 <h2> 361 <b>Project</b> 362 </h2> 363 364 <a name="project__lists"><b>Where are the mailing lists, forums, discussion areas, etc.?</b></a><br /> 365 <br /> 366 There are a few places. The main discussions happen on <a href="http://lists.xiph.org/mailman/listinfo">the official FLAC mailing lists</a> (you must subscribe to post). Also, there is a lot of discussion relating to FLAC on <a href="http://www.hydrogenaud.io/">Hydrogen Audio</a>.<br /> 367 <br /> 368 <a name="project__submit_bug"><b>How do I submit a bug report?</b></a><br /> 369 <br /> 370 First, <a href="http://sourceforge.net/p/flac/bugs/">visit the bug tracking page</a> and do a little searching of both open and closed bugs to see if yours is already there. If you have something truly new submit a new bug there. <b>Make sure</b> to monitor the bug or include your email address in the description. Include as much information as possible: the version of FLAC that you are running, the name and version of any frontend you are running, your operating system and version, your CPU type and speed, the amount of memory you have, where you downloaded FLAC from, the exact error message (if any) copied from the console, and anything else you may think will help. 371 </div> 372 <div class="box_footer"></div> 373</div> 374 375 376<div class="copyright"> 377 <!-- @@@ oh so hacky --> 378 <table> 379 <tr> 380 <td align="left"> 381 Copyright (c) 2000-2009 Josh Coalson 382 <br/> 383 Copyright (c) 2011-2016 Xiph.Org Foundation 384 </td> 385 </tr> 386 </table> 387</div> 388 389</body> 390</html> 391