[flac] decoding with -F

Harry Sack tranzedude at gmail.com
Wed Oct 24 07:57:11 PDT 2007


hi flac list,

I read on the site about the decoding -F (or --decode-through-errors)
feature:

' By default flac stops decoding with an error and removes the partially
decoded file if it encounters a bitstream error. With -F, errors are still
printed but flac will continue decoding to completion. Note that errors may
cause the decoded audio to be missing some samples or have silent sections.'

So is it true that when decoding with -F option, there are only 3
possibilities:

- the decoded sample is error-free and is added to the WAV file
- the decoded sample has an error but instead this sample is not added to
the WAV file (so it's just thrown away)
- the decoded sample has an error but instead a silent sample is added to
the WAV file (so you can hear in fact silence when there are a lot of
samples of this kind directly after each other)

is this above correct or are there more situations that can occur in the
case of corrupted flac files you want to decode using -F?

thx in advance
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xiph.org/pipermail/flac/attachments/20071024/b6e0db2b/attachment.htm


More information about the Flac mailing list