On Tue, Oct 28, 2003 at 10:38:54PM -0800, Derek at CD Baby wrote:

> I've got a bunch of flac files and need to report their length.
> 
> With MP3s, you use `mp3info -x $filename`
> 
> But is there a way to find out the length (minutes:seconds or just
> seconds) of a flac audio file, without converting it to WAV first?

You can get this indirectly from metaflac by calculating it from the sample
rate, channels and total samples.  It could presumably be enhanced to
calculate it into a nicely-formatted time display.

-- 
 - mdz


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Flac-dev mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/flac-dev

Reply via email to