The file header (StreamInfo) contains the total samples and sample rate
(samples/sec). Simply divide the number of samples by the rate. metaflac
can give you this from the command line.
_____
From: flac-bounces@xiph.org [mailto:flac-bounces@xiph.org] On Behalf Of
Heinz Wuethrich
Sent: Saturday, June 30, 2007 2:09 AM
To: flac@xiph.org
Subject: [Flac] Play Time of FLAC Files
Hi
Is there an easy way to retrieve the playing time of a flac file?
Thanks
Heinz
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.xiph.org/pipermail/flac/attachments/20070701/f0f8e82c/attachment.html