[Flac] Play Time of FLAC Files

Scot Thompson scot.thompson at cox.net
Sun Jul 1 08:53:27 PDT 2007


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 at xiph.org [mailto:flac-bounces at xiph.org] On Behalf Of
Heinz Wuethrich
Sent: Saturday, June 30, 2007 2:09 AM
To: flac at 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


More information about the Flac mailing list