Help - Search - Members - Calendar
Full Version: Flac FileSize
Hydrogenaudio Forums > Lossless Audio Compression > FLAC
Alper ASMA
How can i learn flac filesize with reading flac header, i do not want to download all file to learn file size ? I can read samplerate and totalsamples count

Thanks
Antonski
Where are you downloading from?
If it is a ftp site, you can just list the directory or you can use a GUI ftp client.
If it is a web page, you can use some download manager/accelerator, it will show you the file size as well as the estimated time.

Edit: Sorry, I didn't see your later post.
Alper ASMA
QUOTE(Antonski @ Jun 26 2006, 15:38) *

Where are you downloading from?
If it is a ftp site, you can just list the directory or you can use a GUI ftp client.
If it is a web page, you can use some download manager/accelerator, it will show you the file size as well as the estimated time.

Edit: Sorry, I didn't see your later post.

I am reading file from internet with visual basic code, can i calculate filesize with reading file header ?
sshd
Impossible from file header. However, you might be able to make an estimate.

For http download, you can parse the http header "Content-length", which will contain the filesize.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.