So you thought you had to keep this up All the work that you do so we think that you're good.
Digital Media Dr. Jim Rowan Chapter 2. The Question: How do you put stuff in a computer –so that...
-
Upload
shanon-perkins -
Category
Documents
-
view
219 -
download
1
Transcript of Digital Media Dr. Jim Rowan Chapter 2. The Question: How do you put stuff in a computer –so that...
![Page 1: Digital Media Dr. Jim Rowan Chapter 2. The Question: How do you put stuff in a computer –so that you can manipulate it –so that you can send it –so that.](https://reader031.fdocuments.us/reader031/viewer/2022020117/56649f3e5503460f94c5f4a8/html5/thumbnails/1.jpg)
Digital Media
Dr. Jim Rowan
Chapter 2
![Page 2: Digital Media Dr. Jim Rowan Chapter 2. The Question: How do you put stuff in a computer –so that you can manipulate it –so that you can send it –so that.](https://reader031.fdocuments.us/reader031/viewer/2022020117/56649f3e5503460f94c5f4a8/html5/thumbnails/2.jpg)
The Question:
• How do you put stuff in a computer – so that you can manipulate it– so that you can send it– so that someone else can see and use it?
• How do you represent the real world in a digital world?
![Page 3: Digital Media Dr. Jim Rowan Chapter 2. The Question: How do you put stuff in a computer –so that you can manipulate it –so that you can send it –so that.](https://reader031.fdocuments.us/reader031/viewer/2022020117/56649f3e5503460f94c5f4a8/html5/thumbnails/3.jpg)
The answer:
• Represent the real world as numbers
• Store the numbers
• Transmit the numbers
• Retrieve the numbers
• Display them in a form humans understand
![Page 4: Digital Media Dr. Jim Rowan Chapter 2. The Question: How do you put stuff in a computer –so that you can manipulate it –so that you can send it –so that.](https://reader031.fdocuments.us/reader031/viewer/2022020117/56649f3e5503460f94c5f4a8/html5/thumbnails/4.jpg)
Today:
• Chapter 2 is a “first cut” of nearly all the material that will be covered in greater detail this semester
• About the real world
• About digital representation
![Page 5: Digital Media Dr. Jim Rowan Chapter 2. The Question: How do you put stuff in a computer –so that you can manipulate it –so that you can send it –so that.](https://reader031.fdocuments.us/reader031/viewer/2022020117/56649f3e5503460f94c5f4a8/html5/thumbnails/5.jpg)
File formats and extensions
• Indication to us (the humans) what kind of file this is
• Some software looks at the extension– so... some software will try to open files
with improper extensions– results in “file corrupted” error message– try it... change the extension from .doc
to .jpg
![Page 6: Digital Media Dr. Jim Rowan Chapter 2. The Question: How do you put stuff in a computer –so that you can manipulate it –so that you can send it –so that.](https://reader031.fdocuments.us/reader031/viewer/2022020117/56649f3e5503460f94c5f4a8/html5/thumbnails/6.jpg)
File formats and extensions
• Some software looks at the data in the file for more definitive answer– important file-related information is encoded in the
data of the file• for example: some image formats have color tables to
reduce the size of the file• some video just saves the changes from one frame to
the next
![Page 7: Digital Media Dr. Jim Rowan Chapter 2. The Question: How do you put stuff in a computer –so that you can manipulate it –so that you can send it –so that.](https://reader031.fdocuments.us/reader031/viewer/2022020117/56649f3e5503460f94c5f4a8/html5/thumbnails/7.jpg)
But it’s all just numbers, and binary numbers at that!
![Page 8: Digital Media Dr. Jim Rowan Chapter 2. The Question: How do you put stuff in a computer –so that you can manipulate it –so that you can send it –so that.](https://reader031.fdocuments.us/reader031/viewer/2022020117/56649f3e5503460f94c5f4a8/html5/thumbnails/8.jpg)
Note on paper
![Page 9: Digital Media Dr. Jim Rowan Chapter 2. The Question: How do you put stuff in a computer –so that you can manipulate it –so that you can send it –so that.](https://reader031.fdocuments.us/reader031/viewer/2022020117/56649f3e5503460f94c5f4a8/html5/thumbnails/9.jpg)
Picture
![Page 10: Digital Media Dr. Jim Rowan Chapter 2. The Question: How do you put stuff in a computer –so that you can manipulate it –so that you can send it –so that.](https://reader031.fdocuments.us/reader031/viewer/2022020117/56649f3e5503460f94c5f4a8/html5/thumbnails/10.jpg)
Song: fieldsOfGold.mp3
![Page 11: Digital Media Dr. Jim Rowan Chapter 2. The Question: How do you put stuff in a computer –so that you can manipulate it –so that you can send it –so that.](https://reader031.fdocuments.us/reader031/viewer/2022020117/56649f3e5503460f94c5f4a8/html5/thumbnails/11.jpg)
Video
![Page 12: Digital Media Dr. Jim Rowan Chapter 2. The Question: How do you put stuff in a computer –so that you can manipulate it –so that you can send it –so that.](https://reader031.fdocuments.us/reader031/viewer/2022020117/56649f3e5503460f94c5f4a8/html5/thumbnails/12.jpg)
Numbering systems:
DecimalBinary
Hexadecimal
![Page 13: Digital Media Dr. Jim Rowan Chapter 2. The Question: How do you put stuff in a computer –so that you can manipulate it –so that you can send it –so that.](https://reader031.fdocuments.us/reader031/viewer/2022020117/56649f3e5503460f94c5f4a8/html5/thumbnails/13.jpg)
Numbering systems
• Humans: decimal– Humans: 10 fingers, 10 digits:– 0, 1, 2, 3, 4, 5, 6, 7, 8 & 9
• Computers: binary– Computers: 1 finger, 2 digits– 0 & 1
![Page 14: Digital Media Dr. Jim Rowan Chapter 2. The Question: How do you put stuff in a computer –so that you can manipulate it –so that you can send it –so that.](https://reader031.fdocuments.us/reader031/viewer/2022020117/56649f3e5503460f94c5f4a8/html5/thumbnails/14.jpg)
Hexadecimal
• Humans and Computers: hexadecimal– Hexadecimal: 16 fingers, 16 digits– Humans organize 0s and 1s into groups of 4– These groups of 4 are can be represented by a
single hexadecimal digit (2**4 = 16)– 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F
![Page 15: Digital Media Dr. Jim Rowan Chapter 2. The Question: How do you put stuff in a computer –so that you can manipulate it –so that you can send it –so that.](https://reader031.fdocuments.us/reader031/viewer/2022020117/56649f3e5503460f94c5f4a8/html5/thumbnails/15.jpg)
How to count using a different number of fingers
• 10 fingers: Counting in decimal – 0, 1, 2, 3, 4, 5, 6, 7, 8, 9,– start over with 0 and increment the digit to the left
• 1 finger: Counting in binary– 0, 1– start over with 0 but increment the digit to the left
• 16 fingers: Counting in hexadecimal – 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F– start over with 0 but increment the digit to the left
![Page 16: Digital Media Dr. Jim Rowan Chapter 2. The Question: How do you put stuff in a computer –so that you can manipulate it –so that you can send it –so that.](https://reader031.fdocuments.us/reader031/viewer/2022020117/56649f3e5503460f94c5f4a8/html5/thumbnails/16.jpg)
Binary Coding
• Data for a computer... binary– zeros and ones, – off and on– false and true
• Data for humans... ASCII, Hex... others– Coding schemes are used by humans to reduce the
volume of binary digits– Two coding schemes used
• Hexadecimal 4 bits => 1 Hex• ASCII
– All end up as 0’s and 1’s
![Page 17: Digital Media Dr. Jim Rowan Chapter 2. The Question: How do you put stuff in a computer –so that you can manipulate it –so that you can send it –so that.](https://reader031.fdocuments.us/reader031/viewer/2022020117/56649f3e5503460f94c5f4a8/html5/thumbnails/17.jpg)
ASCII
• Humans and Computers: ASCII– Made of two hexadecimal codes– One ASCII character - two hex codes– ASCII code for R (from text pg 317)
• hexadecimal: 52• binary: 0101 0010
![Page 18: Digital Media Dr. Jim Rowan Chapter 2. The Question: How do you put stuff in a computer –so that you can manipulate it –so that you can send it –so that.](https://reader031.fdocuments.us/reader031/viewer/2022020117/56649f3e5503460f94c5f4a8/html5/thumbnails/18.jpg)
From the Real Worldto
Stuff on a computer• A note
– Paper and pen -> bits (0s and 1s)
• A picture– Reflected light -> bits (0s and 1s)
• A song– Pressure waves in air -> bits (0s and 1s)
• A video– Pressure waves in air and Reflected light -> bits (0s and 1s)
![Page 19: Digital Media Dr. Jim Rowan Chapter 2. The Question: How do you put stuff in a computer –so that you can manipulate it –so that you can send it –so that.](https://reader031.fdocuments.us/reader031/viewer/2022020117/56649f3e5503460f94c5f4a8/html5/thumbnails/19.jpg)
First, the real world:
Discrete&
Continuous
![Page 20: Digital Media Dr. Jim Rowan Chapter 2. The Question: How do you put stuff in a computer –so that you can manipulate it –so that you can send it –so that.](https://reader031.fdocuments.us/reader031/viewer/2022020117/56649f3e5503460f94c5f4a8/html5/thumbnails/20.jpg)
Phenomena in the Real world: discrete vs continuous
• Things in the real world can be discrete• They either ARE or ARE NOT there• These things can be counted• Examples:
– The number of cars in the parking lot– The number of beans in a jar
![Page 21: Digital Media Dr. Jim Rowan Chapter 2. The Question: How do you put stuff in a computer –so that you can manipulate it –so that you can send it –so that.](https://reader031.fdocuments.us/reader031/viewer/2022020117/56649f3e5503460f94c5f4a8/html5/thumbnails/21.jpg)
Phenomena in the Real world: discrete vs continuous
• Things in the real world can be continuous• Continuous can’t be counted, it must be
measured• Examples:
– Atmospheric pressure– Height of an ocean wave– Frequency of a sound wave
![Page 22: Digital Media Dr. Jim Rowan Chapter 2. The Question: How do you put stuff in a computer –so that you can manipulate it –so that you can send it –so that.](https://reader031.fdocuments.us/reader031/viewer/2022020117/56649f3e5503460f94c5f4a8/html5/thumbnails/22.jpg)
But... computers can only count
• Discrete data is easy for a computer– count it and store it as a number
• Continuous data... easy? not so much– music:
• measure the frequency & amplitude• encode as a collection of numbers
– pictures: • measure the amount of light and its color at each spot• encode as a collection of numbers
![Page 23: Digital Media Dr. Jim Rowan Chapter 2. The Question: How do you put stuff in a computer –so that you can manipulate it –so that you can send it –so that.](https://reader031.fdocuments.us/reader031/viewer/2022020117/56649f3e5503460f94c5f4a8/html5/thumbnails/23.jpg)
Question...
• If computers only store 0s and 1s...
• How does all this continuous stuff end up in a computer so that we can save it and play it back?
• Answer– Continuous data must be converted to
discrete data
![Page 24: Digital Media Dr. Jim Rowan Chapter 2. The Question: How do you put stuff in a computer –so that you can manipulate it –so that you can send it –so that.](https://reader031.fdocuments.us/reader031/viewer/2022020117/56649f3e5503460f94c5f4a8/html5/thumbnails/24.jpg)
Continuous phenomenon to digital data:-Do sampling
Requires two processessampling - equally spacedquantization - measuring at each
sample
Digital data back to continuous phenomenon:– Display samples using “sample and hold”
• Play the sample for the duration of the sample time
From the Real World and Back!
![Page 25: Digital Media Dr. Jim Rowan Chapter 2. The Question: How do you put stuff in a computer –so that you can manipulate it –so that you can send it –so that.](https://reader031.fdocuments.us/reader031/viewer/2022020117/56649f3e5503460f94c5f4a8/html5/thumbnails/25.jpg)
But... How many samples?
![Page 26: Digital Media Dr. Jim Rowan Chapter 2. The Question: How do you put stuff in a computer –so that you can manipulate it –so that you can send it –so that.](https://reader031.fdocuments.us/reader031/viewer/2022020117/56649f3e5503460f94c5f4a8/html5/thumbnails/26.jpg)
![Page 27: Digital Media Dr. Jim Rowan Chapter 2. The Question: How do you put stuff in a computer –so that you can manipulate it –so that you can send it –so that.](https://reader031.fdocuments.us/reader031/viewer/2022020117/56649f3e5503460f94c5f4a8/html5/thumbnails/27.jpg)
![Page 28: Digital Media Dr. Jim Rowan Chapter 2. The Question: How do you put stuff in a computer –so that you can manipulate it –so that you can send it –so that.](https://reader031.fdocuments.us/reader031/viewer/2022020117/56649f3e5503460f94c5f4a8/html5/thumbnails/28.jpg)
single sample
![Page 29: Digital Media Dr. Jim Rowan Chapter 2. The Question: How do you put stuff in a computer –so that you can manipulate it –so that you can send it –so that.](https://reader031.fdocuments.us/reader031/viewer/2022020117/56649f3e5503460f94c5f4a8/html5/thumbnails/29.jpg)
single sample
![Page 30: Digital Media Dr. Jim Rowan Chapter 2. The Question: How do you put stuff in a computer –so that you can manipulate it –so that you can send it –so that.](https://reader031.fdocuments.us/reader031/viewer/2022020117/56649f3e5503460f94c5f4a8/html5/thumbnails/30.jpg)
single sample(sample and hold)
![Page 31: Digital Media Dr. Jim Rowan Chapter 2. The Question: How do you put stuff in a computer –so that you can manipulate it –so that you can send it –so that.](https://reader031.fdocuments.us/reader031/viewer/2022020117/56649f3e5503460f94c5f4a8/html5/thumbnails/31.jpg)
two samples
![Page 32: Digital Media Dr. Jim Rowan Chapter 2. The Question: How do you put stuff in a computer –so that you can manipulate it –so that you can send it –so that.](https://reader031.fdocuments.us/reader031/viewer/2022020117/56649f3e5503460f94c5f4a8/html5/thumbnails/32.jpg)
two samples
![Page 33: Digital Media Dr. Jim Rowan Chapter 2. The Question: How do you put stuff in a computer –so that you can manipulate it –so that you can send it –so that.](https://reader031.fdocuments.us/reader031/viewer/2022020117/56649f3e5503460f94c5f4a8/html5/thumbnails/33.jpg)
two samples (sample and hold)
![Page 34: Digital Media Dr. Jim Rowan Chapter 2. The Question: How do you put stuff in a computer –so that you can manipulate it –so that you can send it –so that.](https://reader031.fdocuments.us/reader031/viewer/2022020117/56649f3e5503460f94c5f4a8/html5/thumbnails/34.jpg)
three samples
![Page 35: Digital Media Dr. Jim Rowan Chapter 2. The Question: How do you put stuff in a computer –so that you can manipulate it –so that you can send it –so that.](https://reader031.fdocuments.us/reader031/viewer/2022020117/56649f3e5503460f94c5f4a8/html5/thumbnails/35.jpg)
three samples
![Page 36: Digital Media Dr. Jim Rowan Chapter 2. The Question: How do you put stuff in a computer –so that you can manipulate it –so that you can send it –so that.](https://reader031.fdocuments.us/reader031/viewer/2022020117/56649f3e5503460f94c5f4a8/html5/thumbnails/36.jpg)
three samples (sample and hold)
![Page 37: Digital Media Dr. Jim Rowan Chapter 2. The Question: How do you put stuff in a computer –so that you can manipulate it –so that you can send it –so that.](https://reader031.fdocuments.us/reader031/viewer/2022020117/56649f3e5503460f94c5f4a8/html5/thumbnails/37.jpg)
four samples
![Page 38: Digital Media Dr. Jim Rowan Chapter 2. The Question: How do you put stuff in a computer –so that you can manipulate it –so that you can send it –so that.](https://reader031.fdocuments.us/reader031/viewer/2022020117/56649f3e5503460f94c5f4a8/html5/thumbnails/38.jpg)
four samples
![Page 39: Digital Media Dr. Jim Rowan Chapter 2. The Question: How do you put stuff in a computer –so that you can manipulate it –so that you can send it –so that.](https://reader031.fdocuments.us/reader031/viewer/2022020117/56649f3e5503460f94c5f4a8/html5/thumbnails/39.jpg)
four samples (sample and hold)
![Page 40: Digital Media Dr. Jim Rowan Chapter 2. The Question: How do you put stuff in a computer –so that you can manipulate it –so that you can send it –so that.](https://reader031.fdocuments.us/reader031/viewer/2022020117/56649f3e5503460f94c5f4a8/html5/thumbnails/40.jpg)
five samples
![Page 41: Digital Media Dr. Jim Rowan Chapter 2. The Question: How do you put stuff in a computer –so that you can manipulate it –so that you can send it –so that.](https://reader031.fdocuments.us/reader031/viewer/2022020117/56649f3e5503460f94c5f4a8/html5/thumbnails/41.jpg)
five samples
![Page 42: Digital Media Dr. Jim Rowan Chapter 2. The Question: How do you put stuff in a computer –so that you can manipulate it –so that you can send it –so that.](https://reader031.fdocuments.us/reader031/viewer/2022020117/56649f3e5503460f94c5f4a8/html5/thumbnails/42.jpg)
five samples(sample and hold)
![Page 43: Digital Media Dr. Jim Rowan Chapter 2. The Question: How do you put stuff in a computer –so that you can manipulate it –so that you can send it –so that.](https://reader031.fdocuments.us/reader031/viewer/2022020117/56649f3e5503460f94c5f4a8/html5/thumbnails/43.jpg)
How frequently should I sample?
• too few– small file size (good)– not a faithful representation when replayed
• too many– large file size (bad)– excellent representation when replayed
• The Nyquist rate – twice as many samples as the frequency– ok file size– faithful representation when replayed
![Page 44: Digital Media Dr. Jim Rowan Chapter 2. The Question: How do you put stuff in a computer –so that you can manipulate it –so that you can send it –so that.](https://reader031.fdocuments.us/reader031/viewer/2022020117/56649f3e5503460f94c5f4a8/html5/thumbnails/44.jpg)
CD quality is44,000 samples per second
• Why?– Human hearing response is in the range of 20
to 22,000 cycles per second
• Nyquist sample rate = highest frequency to be captured = 22,000 CPS
2 x 22,000 = 44,000 samples per second
![Page 45: Digital Media Dr. Jim Rowan Chapter 2. The Question: How do you put stuff in a computer –so that you can manipulate it –so that you can send it –so that.](https://reader031.fdocuments.us/reader031/viewer/2022020117/56649f3e5503460f94c5f4a8/html5/thumbnails/45.jpg)
Looking at FieldsOfGold.mp3
• 4 minutes and 59 seconds long• 1,201,173 bytes in length
Is this right?• CD quality
– 44,000 samples per second (sample rate)– 16 bit samples (quantity stored for each
sample) (2**16 = 65,536 individual levels)
![Page 46: Digital Media Dr. Jim Rowan Chapter 2. The Question: How do you put stuff in a computer –so that you can manipulate it –so that you can send it –so that.](https://reader031.fdocuments.us/reader031/viewer/2022020117/56649f3e5503460f94c5f4a8/html5/thumbnails/46.jpg)
FieldsOfGold.mp3
• 4’59 = 299 seconds long• 299 x 44,000 samples per second
= 13,156,000 samples
• 13,156,000 x 2 bytes/sample– 26,312,000 bytes
• Should be 26.3 megabytes!• Why only 1.2 megabytes?• HMMMmmm...
![Page 47: Digital Media Dr. Jim Rowan Chapter 2. The Question: How do you put stuff in a computer –so that you can manipulate it –so that you can send it –so that.](https://reader031.fdocuments.us/reader031/viewer/2022020117/56649f3e5503460f94c5f4a8/html5/thumbnails/47.jpg)
FieldsOfGold.mp3
• Why 26.3 megabytes not 1.2 megabytes?
• This is an MP3!
• Data COMPRESSION!
![Page 48: Digital Media Dr. Jim Rowan Chapter 2. The Question: How do you put stuff in a computer –so that you can manipulate it –so that you can send it –so that.](https://reader031.fdocuments.us/reader031/viewer/2022020117/56649f3e5503460f94c5f4a8/html5/thumbnails/48.jpg)
Further reading
• http://en.wikipedia.org/wiki/Nyquist_rate
• http://en.wikipedia.org/wiki/Sampling_%28signal_processing%29
• http://en.wikipedia.org/wiki/Mp3
![Page 49: Digital Media Dr. Jim Rowan Chapter 2. The Question: How do you put stuff in a computer –so that you can manipulate it –so that you can send it –so that.](https://reader031.fdocuments.us/reader031/viewer/2022020117/56649f3e5503460f94c5f4a8/html5/thumbnails/49.jpg)
Project 1 preliminary
Download AudacityPlay with it
Record your voiceAdd some effectsEdit out some stuff
Save it as a wav filePlay it back using Quicktime
![Page 50: Digital Media Dr. Jim Rowan Chapter 2. The Question: How do you put stuff in a computer –so that you can manipulate it –so that you can send it –so that.](https://reader031.fdocuments.us/reader031/viewer/2022020117/56649f3e5503460f94c5f4a8/html5/thumbnails/50.jpg)
The side effects of sampling:sampling artifacts
![Page 51: Digital Media Dr. Jim Rowan Chapter 2. The Question: How do you put stuff in a computer –so that you can manipulate it –so that you can send it –so that.](https://reader031.fdocuments.us/reader031/viewer/2022020117/56649f3e5503460f94c5f4a8/html5/thumbnails/51.jpg)
Sampling Artifacts
• Under-sampling (too few samples) of continuous data can produce undesired artifacts– audio distortion– jagged edges on images– Moire’ patterns on images– retrograde motion on video
![Page 52: Digital Media Dr. Jim Rowan Chapter 2. The Question: How do you put stuff in a computer –so that you can manipulate it –so that you can send it –so that.](https://reader031.fdocuments.us/reader031/viewer/2022020117/56649f3e5503460f94c5f4a8/html5/thumbnails/52.jpg)
Sampling ArtifactsRetrograde Motion
4 samples/cycle, 2 cycles
2 samples/cycle, 2 cycles
![Page 53: Digital Media Dr. Jim Rowan Chapter 2. The Question: How do you put stuff in a computer –so that you can manipulate it –so that you can send it –so that.](https://reader031.fdocuments.us/reader031/viewer/2022020117/56649f3e5503460f94c5f4a8/html5/thumbnails/53.jpg)
Sampling Artifacts (cont.)
• Not enough quantization levels when sampling continuous data can produce undesired artifacts
• Images– too few colors: colors look artificial – loss of fine distinction– too few grey levels: gradients become steps– too few brightness levels: posterization
![Page 54: Digital Media Dr. Jim Rowan Chapter 2. The Question: How do you put stuff in a computer –so that you can manipulate it –so that you can send it –so that.](https://reader031.fdocuments.us/reader031/viewer/2022020117/56649f3e5503460f94c5f4a8/html5/thumbnails/54.jpg)
Sampling Artifacts (cont.)
• Not enough quantization levels when sampling continuous data can produce undesired artifacts
• Audio– too few amplitude levels, quantization noise - hiss
• 8 bits (256 amplitude levels) produces discernable noise
• 16 bits (65536 amplitude levels) CD quality, no discernable hiss
– general sound “fuzziness”
![Page 55: Digital Media Dr. Jim Rowan Chapter 2. The Question: How do you put stuff in a computer –so that you can manipulate it –so that you can send it –so that.](https://reader031.fdocuments.us/reader031/viewer/2022020117/56649f3e5503460f94c5f4a8/html5/thumbnails/55.jpg)
Multimedia Hardware Requirements
![Page 56: Digital Media Dr. Jim Rowan Chapter 2. The Question: How do you put stuff in a computer –so that you can manipulate it –so that you can send it –so that.](https://reader031.fdocuments.us/reader031/viewer/2022020117/56649f3e5503460f94c5f4a8/html5/thumbnails/56.jpg)
Multimedia Hardware Requirements
Production vs Consumption• Multimedia consumption?
– requires only a lower powered machine
• Multimedia production?– requires a more powerful computer– consider “fields of gold.mp3”
• 26+megabytes of data uncompressed• 1.2 megabytes of data compressed
– images are produced in layers• then flattened for consumption
![Page 57: Digital Media Dr. Jim Rowan Chapter 2. The Question: How do you put stuff in a computer –so that you can manipulate it –so that you can send it –so that.](https://reader031.fdocuments.us/reader031/viewer/2022020117/56649f3e5503460f94c5f4a8/html5/thumbnails/57.jpg)
Hardware requirements
• Video capture requires large areas of contiguous disk space
• Frequent disk defragmentation is required
• http://en.wikipedia.org/wiki/Defragmentation
![Page 58: Digital Media Dr. Jim Rowan Chapter 2. The Question: How do you put stuff in a computer –so that you can manipulate it –so that you can send it –so that.](https://reader031.fdocuments.us/reader031/viewer/2022020117/56649f3e5503460f94c5f4a8/html5/thumbnails/58.jpg)
defragmentation black is occupied spacewhite is available space
memory before
memory after
largest contiguousspace is 5
largest contiguousspace is 11 and thereare 6 of these
![Page 59: Digital Media Dr. Jim Rowan Chapter 2. The Question: How do you put stuff in a computer –so that you can manipulate it –so that you can send it –so that.](https://reader031.fdocuments.us/reader031/viewer/2022020117/56649f3e5503460f94c5f4a8/html5/thumbnails/59.jpg)
Hardware requirements: Form factor...
• screen real estate makes a difference– size is smaller? – can/should affect the format of the display
• cannot simply display the same page on – a desktop computer– a cell phone– a pda
![Page 60: Digital Media Dr. Jim Rowan Chapter 2. The Question: How do you put stuff in a computer –so that you can manipulate it –so that you can send it –so that.](https://reader031.fdocuments.us/reader031/viewer/2022020117/56649f3e5503460f94c5f4a8/html5/thumbnails/60.jpg)
Hardware requirements Form factor...
Displayed unmodified
laptop display of my GGCwiki site
Treo
LGVX3400
![Page 61: Digital Media Dr. Jim Rowan Chapter 2. The Question: How do you put stuff in a computer –so that you can manipulate it –so that you can send it –so that.](https://reader031.fdocuments.us/reader031/viewer/2022020117/56649f3e5503460f94c5f4a8/html5/thumbnails/61.jpg)
Hardware... RAID
• Redundant Array of Inexpensive Disks
• Designed as a hardware failsafe– multiple copies of the same data
• Can be used to speed data transfer– (you may need this in multimedia production)
• http://en.wikipedia.org/wiki/RAID
![Page 62: Digital Media Dr. Jim Rowan Chapter 2. The Question: How do you put stuff in a computer –so that you can manipulate it –so that you can send it –so that.](https://reader031.fdocuments.us/reader031/viewer/2022020117/56649f3e5503460f94c5f4a8/html5/thumbnails/62.jpg)
RAIDredundant
94731990
94731990
94731990
94731990
94731990
94731990
94731990
94731990
94731990
disk #1
disk #2
disk #3
disk #4
disk #5
disk #6
disk #7
disk #8
![Page 63: Digital Media Dr. Jim Rowan Chapter 2. The Question: How do you put stuff in a computer –so that you can manipulate it –so that you can send it –so that.](https://reader031.fdocuments.us/reader031/viewer/2022020117/56649f3e5503460f94c5f4a8/html5/thumbnails/63.jpg)
RAIDoverlapped(fast)
7
3
1
9
9
4
0
9
94731990
disk #1
disk #2
disk #3
disk #4
disk #5
disk #6
disk #7
disk #8
![Page 64: Digital Media Dr. Jim Rowan Chapter 2. The Question: How do you put stuff in a computer –so that you can manipulate it –so that you can send it –so that.](https://reader031.fdocuments.us/reader031/viewer/2022020117/56649f3e5503460f94c5f4a8/html5/thumbnails/64.jpg)
Networks
![Page 65: Digital Media Dr. Jim Rowan Chapter 2. The Question: How do you put stuff in a computer –so that you can manipulate it –so that you can send it –so that.](https://reader031.fdocuments.us/reader031/viewer/2022020117/56649f3e5503460f94c5f4a8/html5/thumbnails/65.jpg)
Networks
• Local Area Network (LAN)– local routers, bridges, switches...
• Internet– Uses TCP/IP protocol (the rules your
communication must follow)– http://en.wikipedia.org/wiki/TCP/IP– you get access through an ISP
![Page 66: Digital Media Dr. Jim Rowan Chapter 2. The Question: How do you put stuff in a computer –so that you can manipulate it –so that you can send it –so that.](https://reader031.fdocuments.us/reader031/viewer/2022020117/56649f3e5503460f94c5f4a8/html5/thumbnails/66.jpg)
Network access...
• dial up connection– phone modem– limited to 56,000 bps (bits, not bytes) max
downstream (internet to modem)– 33.6 kbps upstream (modem to internet)– rarely get these speeds
![Page 67: Digital Media Dr. Jim Rowan Chapter 2. The Question: How do you put stuff in a computer –so that you can manipulate it –so that you can send it –so that.](https://reader031.fdocuments.us/reader031/viewer/2022020117/56649f3e5503460f94c5f4a8/html5/thumbnails/67.jpg)
Network access...
• ADSL – asymmetric digital subscriber line– over copper phone wires– limited to short distance from phone switch– 6.1 mbps (million bps) downstream– 640 kbps upstream
![Page 68: Digital Media Dr. Jim Rowan Chapter 2. The Question: How do you put stuff in a computer –so that you can manipulate it –so that you can send it –so that.](https://reader031.fdocuments.us/reader031/viewer/2022020117/56649f3e5503460f94c5f4a8/html5/thumbnails/68.jpg)
Network access...
• Other options– Cable modem (also asynchronous)– satellite with phone (also asynchronous)– satellite alone (expensive but available in the boonies)– local wireless networks– high altitude tethered balloons– transmission over power lines
![Page 69: Digital Media Dr. Jim Rowan Chapter 2. The Question: How do you put stuff in a computer –so that you can manipulate it –so that you can send it –so that.](https://reader031.fdocuments.us/reader031/viewer/2022020117/56649f3e5503460f94c5f4a8/html5/thumbnails/69.jpg)
Commercial internet users
• Provide web servers for others to put websites on
• Large commercial enterprises will have their own web server
• T1 connection 1.544 mbps
• T3 connection 44.7 mbps
![Page 70: Digital Media Dr. Jim Rowan Chapter 2. The Question: How do you put stuff in a computer –so that you can manipulate it –so that you can send it –so that.](https://reader031.fdocuments.us/reader031/viewer/2022020117/56649f3e5503460f94c5f4a8/html5/thumbnails/70.jpg)
Time-To-Load calculations
• The Speeds:– Dial-Up
• 56,000 bps internet to modem (downstream)• 33,600 bps modem to internet (upstream)
– ADSL• 6.1 mbps (million bps) downstream• 640 kbps (thousand bps) upstream
– T1 • 1.544 mbps
– T3 • 44.7 mbps
NOTE!
bps is bits per second while filesize
is stated in bytes
![Page 71: Digital Media Dr. Jim Rowan Chapter 2. The Question: How do you put stuff in a computer –so that you can manipulate it –so that you can send it –so that.](https://reader031.fdocuments.us/reader031/viewer/2022020117/56649f3e5503460f94c5f4a8/html5/thumbnails/71.jpg)
To Repeat…NOTE!
bps is bits per second while filesize is stated in bytes
![Page 72: Digital Media Dr. Jim Rowan Chapter 2. The Question: How do you put stuff in a computer –so that you can manipulate it –so that you can send it –so that.](https://reader031.fdocuments.us/reader031/viewer/2022020117/56649f3e5503460f94c5f4a8/html5/thumbnails/72.jpg)
Time-To-Load calculationsWork this out in class
For this 1.2 megabyte video:http://wiki.ggc.usg.edu/mediawiki/images/a/a4/Anand1new.mov
How long would it take to load it to youTube over-fastest dialup-adsl-T1-T3
How long would it take to download it from youTube over-fastest dialup-adsl-T1-T3
![Page 73: Digital Media Dr. Jim Rowan Chapter 2. The Question: How do you put stuff in a computer –so that you can manipulate it –so that you can send it –so that.](https://reader031.fdocuments.us/reader031/viewer/2022020117/56649f3e5503460f94c5f4a8/html5/thumbnails/73.jpg)
Servers and Clients
![Page 74: Digital Media Dr. Jim Rowan Chapter 2. The Question: How do you put stuff in a computer –so that you can manipulate it –so that you can send it –so that.](https://reader031.fdocuments.us/reader031/viewer/2022020117/56649f3e5503460f94c5f4a8/html5/thumbnails/74.jpg)
Servers & Clients...
• Clients consume internet content• Your browser is a client• Clients request content from servers
– by sending a server an HTTP://URL message which is a request for a web page
• Servers respond to requests for internet content– send requested web pages to Clients
• The content is sent in HTML code– HTML is interpreted by the client (browser) and displayed on your
machine
![Page 75: Digital Media Dr. Jim Rowan Chapter 2. The Question: How do you put stuff in a computer –so that you can manipulate it –so that you can send it –so that.](https://reader031.fdocuments.us/reader031/viewer/2022020117/56649f3e5503460f94c5f4a8/html5/thumbnails/75.jpg)
Servers & Clients...
• URL is a human-readable name• uniform resource locator• takes the form www.amazon.com/newStuff/index.html • The domain name: www.amazon.com• The file you want to see is: newStuff.index.html• the name maps to a number called an IP address
• http://en.wikipedia.org/wiki/IP_address
![Page 76: Digital Media Dr. Jim Rowan Chapter 2. The Question: How do you put stuff in a computer –so that you can manipulate it –so that you can send it –so that.](https://reader031.fdocuments.us/reader031/viewer/2022020117/56649f3e5503460f94c5f4a8/html5/thumbnails/76.jpg)
Servers & Clients...
• servers have fixed IPs so they are easy to find• your computer probably uses DHCP which is a
dynamic (changing) IP• An example: my IP right now (assigned through
dhcp) is: 10.0.106.91• my IPv6 address (new addressing scheme) is
fe80:0000:0000:0000:0211:24ff:fe8f:abb6
![Page 77: Digital Media Dr. Jim Rowan Chapter 2. The Question: How do you put stuff in a computer –so that you can manipulate it –so that you can send it –so that.](https://reader031.fdocuments.us/reader031/viewer/2022020117/56649f3e5503460f94c5f4a8/html5/thumbnails/77.jpg)
yahoo.com(server)
235.01.30.564
The Internet
you at home running a browser
(client)DHCP:
walmart.com(server)
100.43.153.07
ggc.usg.edu(server)
145.67.33.73
![Page 78: Digital Media Dr. Jim Rowan Chapter 2. The Question: How do you put stuff in a computer –so that you can manipulate it –so that you can send it –so that.](https://reader031.fdocuments.us/reader031/viewer/2022020117/56649f3e5503460f94c5f4a8/html5/thumbnails/78.jpg)
yahoo.com(server)
235.01.30.564
The Internet
you at homerunning a browser
(client)DHCP: 10.0.91.35
walmart.com(server)
100.43.153.07
ggc.usg.edu(server)
145.67.33.73
ISP
![Page 79: Digital Media Dr. Jim Rowan Chapter 2. The Question: How do you put stuff in a computer –so that you can manipulate it –so that you can send it –so that.](https://reader031.fdocuments.us/reader031/viewer/2022020117/56649f3e5503460f94c5f4a8/html5/thumbnails/79.jpg)
yahoo.com(server)
235.01.30.564
The Internet
www.yahoo.com=
235.01.30.564
you at homerunning a browser
(client)http://www.yahoo.com
walmart.com(server)
100.43.153.07
ggc.usg.edu(server)
145.67.33.73
![Page 80: Digital Media Dr. Jim Rowan Chapter 2. The Question: How do you put stuff in a computer –so that you can manipulate it –so that you can send it –so that.](https://reader031.fdocuments.us/reader031/viewer/2022020117/56649f3e5503460f94c5f4a8/html5/thumbnails/80.jpg)
yahoo.com(server)
235.01.30.564
The Internet
you at GGCrunning a browser
(client)DHCP:
walmart.com(server)
100.43.153.07
ggc.usg.edu(server)
145.67.33.73
![Page 81: Digital Media Dr. Jim Rowan Chapter 2. The Question: How do you put stuff in a computer –so that you can manipulate it –so that you can send it –so that.](https://reader031.fdocuments.us/reader031/viewer/2022020117/56649f3e5503460f94c5f4a8/html5/thumbnails/81.jpg)
yahoo.com(server)
235.01.30.564
The Internet
you at GGCrunning a browser
(client)DHCP: 322.21.5.36
walmart.com(server)
100.43.153.07
ggc.usg.edu(server)
145.67.33.73
ISP
![Page 82: Digital Media Dr. Jim Rowan Chapter 2. The Question: How do you put stuff in a computer –so that you can manipulate it –so that you can send it –so that.](https://reader031.fdocuments.us/reader031/viewer/2022020117/56649f3e5503460f94c5f4a8/html5/thumbnails/82.jpg)
yahoo.com(server)
235.01.30.564
The Internet
www.walmart.com=
100.43.153.07
you at starbucksrunning a browser
(client)HTTP://www.walmart.com
walmart.com(server)
100.43.153.07
ggc.usg.edu(server)
145.67.33.73
![Page 83: Digital Media Dr. Jim Rowan Chapter 2. The Question: How do you put stuff in a computer –so that you can manipulate it –so that you can send it –so that.](https://reader031.fdocuments.us/reader031/viewer/2022020117/56649f3e5503460f94c5f4a8/html5/thumbnails/83.jpg)
MIME types
• Multipurpose Internet Mail Extension• Allows the transmission of more than
just ASCII text (like you’d expect in an email)
• MIME types are specified in the header• Huge variety of MIME types are allowed
– audio, images, video– compressed files
![Page 84: Digital Media Dr. Jim Rowan Chapter 2. The Question: How do you put stuff in a computer –so that you can manipulate it –so that you can send it –so that.](https://reader031.fdocuments.us/reader031/viewer/2022020117/56649f3e5503460f94c5f4a8/html5/thumbnails/84.jpg)
A word about standards
• Standards allow cooperation • But standards require agreement• Works well during slow growth• But in a rapidly changing environment...
– frequently obsolete before adopted
• One company may dominate the market becoming the de-facto standard
![Page 85: Digital Media Dr. Jim Rowan Chapter 2. The Question: How do you put stuff in a computer –so that you can manipulate it –so that you can send it –so that.](https://reader031.fdocuments.us/reader031/viewer/2022020117/56649f3e5503460f94c5f4a8/html5/thumbnails/85.jpg)
Questions?
![Page 86: Digital Media Dr. Jim Rowan Chapter 2. The Question: How do you put stuff in a computer –so that you can manipulate it –so that you can send it –so that.](https://reader031.fdocuments.us/reader031/viewer/2022020117/56649f3e5503460f94c5f4a8/html5/thumbnails/86.jpg)