Dear All,
1) Is there a way to get the audio size (number of samples) and other
information, such as number of channels, from a flac file without fully
decoding it?
I've found that the WAV header is replicated after the "riffRIFF"
keyword, but I don't seem to be able to predict where it is lo
On Aug 2, 2021, at 08:40, Federico Miyara wrote:
> 1) Is there a way to get the audio size (number of samples) and other
> information, such as number of channels, from a flac file without fully
> decoding it?
Yes. There is a specific header with this information. Look for the
documentation
Brian,
Thanks for your reply.
Yes. There is a specific header with this information. Look for the
documentation of the FLAC format for reference, and then look through
the library for calls that might return this information.
OK, I'll see that later.
You should not use the RIFF information
On Aug 2, 2021, at 19:19, Federico Miyara wrote:
> Brian,
>
> Thanks for your reply.
>
>> You should not use the RIFF information. It is not part of the FLAC
>> specification. It is an optional enhancement to store information that is
>> only about the input WAV files. It will strictly be m