Digital Media Dr. Jim Rowan ITEC 2110 Wednesday, August 30

advertisement
Digital Media
Dr. Jim Rowan
ITEC 2110
Wednesday, August 30
Roll call
Barton, Paul H.
Bois, Lauren C.
Bonds, Allison E.
Duncan, Jarred T.
Lawson, Joseph I.
Mulongo, Julio B.
Pennison, Heather L.
Reilly, Daniel J.
Sanchez-Casas, Jon F.
Simson, Davis
Sinnock, Grant A.
Swaim, Mark S.
Tran, Dung Q.
Vyas, Anand A.
Woldeyohannes,
Tesfamichael
Class capture access
http://seacubed.ggc.usg.edu/
password same as login
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
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
Sampling Artifacts (cont.)
• Not enough quantization levels when
sampling continuous data can produce
undesired artifacts
• Images
–
–
–
–
too few color: colors look artificial
loss of fine distinction
too few grey levels: gradients become steps
too few brightness levels: posterization
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”
Multimedia
Hardware Requirements
• 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
Hardware requirements
• Video capture requires large areas of contiguous
disk space
• Frequent disk defragmentation is required
• http://en.wikipedia.org/wiki/Defragmentatio
n
defragmentation
black is occupied space
white is available space
memory before
largest contiguous
space is 5
memory after
largest contiguous
space is 11 and there
are 6 of these
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
Hardware requirements
Form factor...
Displayed unmodified
LG
VX3400
Treo
laptop display of my GGCwiki site
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
RAID
redundant
94731990
disk #1
94731990 disk #2
94731990 disk #3
94731990 disk #4
94731990
94731990 disk #5
94731990 disk #6
94731990 disk #7
94731990 disk #8
RAID
overlapped
(fast)
9
disk #1
4
disk #2
7
disk #3
3
disk #4
1
disk #5
9
disk #6
9
disk #7
0
disk #8
94731990
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
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
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
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
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
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
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
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
you at home
running a browser
(client)
DHCP:
yahoo.com
(server)
235.01.30.564
ggc.usg.edu
(server)
145.67.33.73
The Internet
walmart.com
(server)
100.43.153.07
you at home
running a browser
(client)
DHCP: 10.0.91.35
yahoo.com
(server)
235.01.30.564
ISP
ggc.usg.edu
(server)
145.67.33.73
The Internet
walmart.com
(server)
100.43.153.07
you at home
running a browser
(client)
http://www.yahoo.com
The Internet
www.yahoo.com
=
235.01.30.564
yahoo.com
(server)
235.01.30.564
ggc.usg.edu
(server)
145.67.33.73
walmart.com
(server)
100.43.153.07
you at GGC
running a browser
(client)
DHCP:
yahoo.com
(server)
235.01.30.564
ggc.usg.edu
(server)
145.67.33.73
The Internet
walmart.com
(server)
100.43.153.07
you at GGC
running a browser
(client)
DHCP: 322.21.5.36
yahoo.com
(server)
235.01.30.564
ISP
ggc.usg.edu
(server)
145.67.33.73
The Internet
walmart.com
(server)
100.43.153.07
you at starbucks
running a browser
(client)
HTTP://www.walmart.com
The Internet
www.walmart.com
=
100.43.153.07
yahoo.com
(server)
235.01.30.564
ggc.usg.edu
(server)
145.67.33.73
walmart.com
(server)
100.43.153.07
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
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
Questions?
Download