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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
Heinz Wuethrich
Sent: Saturday, June 30, 2007 2:09 AM
To: [email protected]
Subject: [Flac] Play Time of FLAC Files


Hi

Is there an easy way to retrieve the playing time of a flac file?

Thanks

Heinz

_______________________________________________
Flac mailing list
[email protected]
http://lists.xiph.org/mailman/listinfo/flac

Reply via email to