• Congratulations to the Class of 2024 on your results!
    Let us know how you went here
    Got a question about your uni preferences? Ask us here

Can someone explain file size calcs to me? (1 Viewer)

VenomP

Member
Joined
Nov 14, 2007
Messages
69
Gender
Male
HSC
2009
Like, how to do video size, image size and sound file size?

Thanks :)
 

hollyy.

stop looking at me swan.
Joined
Apr 26, 2008
Messages
1,148
Location
cadbury world.
Gender
Female
HSC
2008
image storage:

horizx vert x bit depth
----------------------------
8 x 1024 (= 1 Kb)

audio storage:
=(sample rate x sample size x time (min)) x (1 for mono, or 2 for stereo)
 

cwongquer

New Member
Joined
Oct 29, 2008
Messages
15
Location
In hell? No such thing!
Gender
Male
HSC
2012
Video is
Frame rate per second (FPS)
x number of seconds
x size of frame
x number of colours (bitdepth)
So...
For example, a 3 second video of 16-bit colour of 800x600 res. at 30 fps is
3 x 600 x 800 x 30 x 3 x 16 = 2073600000 BITS

2073600000/ (8 x 1024 x 1024) will get you the megabytes, because
8 bits in a byte
1024 bytes in a kilobyte
1024 KBs in a megabyte.
247 mb Uncompressed..
Correct me if I'm wrong please..

Image
Frame size x bit depth
Say for a 800 x 600 size picture at 16-bits
800 x 600 x 16 = 7680000 bits image
7680000/(4x1024x1024) to get the megabytes..

Thats video and images, I'll be back with audio later. But i think its sampling rate x seconds, will check later
 

VenomP

Member
Joined
Nov 14, 2007
Messages
69
Gender
Male
HSC
2009
3 x 600 x 800 x 30 x 3 x 16 = 2073600000 BITS

^So, is there an extra 3 in there?

(seconds) x (resolution) x (FPS) x (bit depth)
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Top