Re: [flac-dev] Two questions

2021-08-04 Thread Martijn van Beurden
Op ma 2 aug. 2021 om 17:40 schreef Federico Miyara : > > 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"

Re: [flac-dev] Two questions

2021-08-04 Thread Brian Willoughby
On Aug 4, 2021, at 00:10, Federico Miyara wrote: > Brian, > > Once more, thanks for taking your time to answer my questions and provide > interestig insights. Some comments below. > >> I recommend writing your own utility based on the FLAC library, in C, with >> the features you want. I do no

Re: [flac-dev] Two questions

2021-08-04 Thread Federico Miyara
Martijn, If you are looking for a tool, take a look at the metaflac command line utility. metaflac --list file.flac returns all metadata in a FLAC file Thanks, this is very interesting. 2) I decode using the option --skip=0 --until=1. I would expect to get a wav file with only 1 sample, but