streaming media kim stanton, unt tech talk, 12/5/2007
TRANSCRIPT
![Page 1: STREAMING MEDIA Kim Stanton, UNT Tech Talk, 12/5/2007](https://reader035.vdocument.in/reader035/viewer/2022062407/56649daa5503460f94a989c3/html5/thumbnails/1.jpg)
STREAMING MEDIA
Kim Stanton, UNT Tech Talk, 12/5/2007
![Page 2: STREAMING MEDIA Kim Stanton, UNT Tech Talk, 12/5/2007](https://reader035.vdocument.in/reader035/viewer/2022062407/56649daa5503460f94a989c3/html5/thumbnails/2.jpg)
“Media content that is delivered to the viewer’s media player in real-time”
“There is not intermediated storage of the content…the data is processed as it arrives..and then discarded.”
David Austerberry
Technology of Video & Audio Streaming
What is streaming media?
![Page 3: STREAMING MEDIA Kim Stanton, UNT Tech Talk, 12/5/2007](https://reader035.vdocument.in/reader035/viewer/2022062407/56649daa5503460f94a989c3/html5/thumbnails/3.jpg)
![Page 4: STREAMING MEDIA Kim Stanton, UNT Tech Talk, 12/5/2007](https://reader035.vdocument.in/reader035/viewer/2022062407/56649daa5503460f94a989c3/html5/thumbnails/4.jpg)
Streaming vs Downloading
Not downloaded to users computer.
User can skip ahead immediately.
Downloaded to users computer.
Can view after download is complete.
Streaming Downloading
![Page 5: STREAMING MEDIA Kim Stanton, UNT Tech Talk, 12/5/2007](https://reader035.vdocument.in/reader035/viewer/2022062407/56649daa5503460f94a989c3/html5/thumbnails/5.jpg)
Streaming vs Progressive Download
Not downloaded to users computer.
User can skip ahead immediately.
Downloaded to users computer.
File can start playing before download is complete, but can only play the sections that have been downloaded.
Streaming Progressive Download
![Page 6: STREAMING MEDIA Kim Stanton, UNT Tech Talk, 12/5/2007](https://reader035.vdocument.in/reader035/viewer/2022062407/56649daa5503460f94a989c3/html5/thumbnails/6.jpg)
When to choose streaming:
Security of content Considered safer for content owners.
For live events Events can be streamed as they are
happening. Live speakers, sporting events
For quick access Don’t have to wait for a complete download
Progressive download offers similar workarounds.
![Page 7: STREAMING MEDIA Kim Stanton, UNT Tech Talk, 12/5/2007](https://reader035.vdocument.in/reader035/viewer/2022062407/56649daa5503460f94a989c3/html5/thumbnails/7.jpg)
1.Digitization2.Compression & encoding3.Streaming
Basic Steps
![Page 8: STREAMING MEDIA Kim Stanton, UNT Tech Talk, 12/5/2007](https://reader035.vdocument.in/reader035/viewer/2022062407/56649daa5503460f94a989c3/html5/thumbnails/8.jpg)
Digitization
Step One:
![Page 9: STREAMING MEDIA Kim Stanton, UNT Tech Talk, 12/5/2007](https://reader035.vdocument.in/reader035/viewer/2022062407/56649daa5503460f94a989c3/html5/thumbnails/9.jpg)
Digitization
From analog to digital…
![Page 10: STREAMING MEDIA Kim Stanton, UNT Tech Talk, 12/5/2007](https://reader035.vdocument.in/reader035/viewer/2022062407/56649daa5503460f94a989c3/html5/thumbnails/10.jpg)
Digitization
…use ‘analog to digital’ converter.
Analog signal
Digital signal
![Page 11: STREAMING MEDIA Kim Stanton, UNT Tech Talk, 12/5/2007](https://reader035.vdocument.in/reader035/viewer/2022062407/56649daa5503460f94a989c3/html5/thumbnails/11.jpg)
Digitization
Why? VHS, 16mm, audio cassette players, etc
send out analog signals. Computers accept digital signals.
Analog-to-Digital converters External – AV conversion box Internal – video capture card
![Page 12: STREAMING MEDIA Kim Stanton, UNT Tech Talk, 12/5/2007](https://reader035.vdocument.in/reader035/viewer/2022062407/56649daa5503460f94a989c3/html5/thumbnails/12.jpg)
Digitization
From digital to “malleable” digital…
![Page 13: STREAMING MEDIA Kim Stanton, UNT Tech Talk, 12/5/2007](https://reader035.vdocument.in/reader035/viewer/2022062407/56649daa5503460f94a989c3/html5/thumbnails/13.jpg)
ConversionSoftware
ConversionSoftware
Digitization
…use conversion/ripping software.
![Page 14: STREAMING MEDIA Kim Stanton, UNT Tech Talk, 12/5/2007](https://reader035.vdocument.in/reader035/viewer/2022062407/56649daa5503460f94a989c3/html5/thumbnails/14.jpg)
Digitization
Why? Conversion software makes a malleable
copy of the digital file.
![Page 15: STREAMING MEDIA Kim Stanton, UNT Tech Talk, 12/5/2007](https://reader035.vdocument.in/reader035/viewer/2022062407/56649daa5503460f94a989c3/html5/thumbnails/15.jpg)
Digitization
Why? Conversion software makes a malleable
copy of the digital file.
Follow copyright law!
![Page 16: STREAMING MEDIA Kim Stanton, UNT Tech Talk, 12/5/2007](https://reader035.vdocument.in/reader035/viewer/2022062407/56649daa5503460f94a989c3/html5/thumbnails/16.jpg)
Compression & Encoding
Step Two:
![Page 17: STREAMING MEDIA Kim Stanton, UNT Tech Talk, 12/5/2007](https://reader035.vdocument.in/reader035/viewer/2022062407/56649daa5503460f94a989c3/html5/thumbnails/17.jpg)
Software
Compression and encoding done by authoring software on computer.
Sorenson Squeeze (what ML uses)
Windows Movie Maker Real Producer Quicktime Adobe Flex Other third party authoring software
![Page 18: STREAMING MEDIA Kim Stanton, UNT Tech Talk, 12/5/2007](https://reader035.vdocument.in/reader035/viewer/2022062407/56649daa5503460f94a989c3/html5/thumbnails/18.jpg)
Compression
Compression: reduces the file size by removing specific
bits of data that represent the audio and video.
All streaming media compression is “lossy”. Lossless compression does not provide a
small enough file to stream.
![Page 19: STREAMING MEDIA Kim Stanton, UNT Tech Talk, 12/5/2007](https://reader035.vdocument.in/reader035/viewer/2022062407/56649daa5503460f94a989c3/html5/thumbnails/19.jpg)
Types of compression
Intraframe compression Similar to still image compression
“Motion JPEG Compression” Frames are considered individually Process repeats for each frame of movie
Interframe compression Considers frames in adjacent groups Repeating data is discarded
Similar to older animation.
![Page 20: STREAMING MEDIA Kim Stanton, UNT Tech Talk, 12/5/2007](https://reader035.vdocument.in/reader035/viewer/2022062407/56649daa5503460f94a989c3/html5/thumbnails/20.jpg)
Compression
Why compress? To reduce the file size:
To deliver stream to the user To conserve storage space
Choosing a compression rate is a balance:
Quality of the Media
Availablebandwidth
![Page 21: STREAMING MEDIA Kim Stanton, UNT Tech Talk, 12/5/2007](https://reader035.vdocument.in/reader035/viewer/2022062407/56649daa5503460f94a989c3/html5/thumbnails/21.jpg)
Bandwidth
Match the user’s connection Affects “real time” viewing quality
Less important with downloading Media not viewed until download is complete. Doesn’t affect real time viewing speed
![Page 22: STREAMING MEDIA Kim Stanton, UNT Tech Talk, 12/5/2007](https://reader035.vdocument.in/reader035/viewer/2022062407/56649daa5503460f94a989c3/html5/thumbnails/22.jpg)
Bandwidth
User has a 56kbit/s dial up modem.
![Page 23: STREAMING MEDIA Kim Stanton, UNT Tech Talk, 12/5/2007](https://reader035.vdocument.in/reader035/viewer/2022062407/56649daa5503460f94a989c3/html5/thumbnails/23.jpg)
Bandwidth
File compressed for a T1 connection won’t stream at an appropriate, consistent rate.
![Page 24: STREAMING MEDIA Kim Stanton, UNT Tech Talk, 12/5/2007](https://reader035.vdocument.in/reader035/viewer/2022062407/56649daa5503460f94a989c3/html5/thumbnails/24.jpg)
Bandwidth
But a file compressed for a 56kbit/s connection will.
![Page 25: STREAMING MEDIA Kim Stanton, UNT Tech Talk, 12/5/2007](https://reader035.vdocument.in/reader035/viewer/2022062407/56649daa5503460f94a989c3/html5/thumbnails/25.jpg)
Bandwidth
A file compressed at a higher rate will stream correctly at a higher connection speed.
![Page 26: STREAMING MEDIA Kim Stanton, UNT Tech Talk, 12/5/2007](https://reader035.vdocument.in/reader035/viewer/2022062407/56649daa5503460f94a989c3/html5/thumbnails/26.jpg)
Encoding Bit Rates
Three methods of encoding bit rate
Constant Bit Rate Multiple Bit Rate Variable Bit Rate
![Page 27: STREAMING MEDIA Kim Stanton, UNT Tech Talk, 12/5/2007](https://reader035.vdocument.in/reader035/viewer/2022062407/56649daa5503460f94a989c3/html5/thumbnails/27.jpg)
Encoding Bit Rates
Constant Bit Rate: A single delivery rate:
56kbit/s or 120kbit/s or 1MBit/s , etc
User picks rate (if given option) Default
![Page 28: STREAMING MEDIA Kim Stanton, UNT Tech Talk, 12/5/2007](https://reader035.vdocument.in/reader035/viewer/2022062407/56649daa5503460f94a989c3/html5/thumbnails/28.jpg)
Encoding Bit Rates
Multiple Bit Rate Several delivery rates encoded in one file.
56kbit/s and 180kbit/s and 1.5Mbit/s
Server detects user’s connection and chooses appropriate delivery rate.
![Page 29: STREAMING MEDIA Kim Stanton, UNT Tech Talk, 12/5/2007](https://reader035.vdocument.in/reader035/viewer/2022062407/56649daa5503460f94a989c3/html5/thumbnails/29.jpg)
Encoding Bit Rates
Variable Bit Rate Bit rate adjusts during the duration of the
movie, depending on the “action” level. Done with multi-pass encoding
Pass 1: Monitors action levels Pass 2: Encodes
![Page 30: STREAMING MEDIA Kim Stanton, UNT Tech Talk, 12/5/2007](https://reader035.vdocument.in/reader035/viewer/2022062407/56649daa5503460f94a989c3/html5/thumbnails/30.jpg)
Encoding
Compression & encoding specifications are done with compression codecs.
![Page 31: STREAMING MEDIA Kim Stanton, UNT Tech Talk, 12/5/2007](https://reader035.vdocument.in/reader035/viewer/2022062407/56649daa5503460f94a989c3/html5/thumbnails/31.jpg)
Compression codecs
International standards Proprietary formats Open standards
![Page 32: STREAMING MEDIA Kim Stanton, UNT Tech Talk, 12/5/2007](https://reader035.vdocument.in/reader035/viewer/2022062407/56649daa5503460f94a989c3/html5/thumbnails/32.jpg)
International standards
MPEG-4 Update to MPEG-1 & 2
H.264 or AVC (Advanced Video Codec) High quality at small bit rate Different levels
Handheld devices– base profile (BP) Streaming - Extended profile(XP) HD – High Profile (HiP)
![Page 33: STREAMING MEDIA Kim Stanton, UNT Tech Talk, 12/5/2007](https://reader035.vdocument.in/reader035/viewer/2022062407/56649daa5503460f94a989c3/html5/thumbnails/33.jpg)
Proprietary Standards
Apple Quicktime RealNetworks Windows Media Flash DivX
![Page 34: STREAMING MEDIA Kim Stanton, UNT Tech Talk, 12/5/2007](https://reader035.vdocument.in/reader035/viewer/2022062407/56649daa5503460f94a989c3/html5/thumbnails/34.jpg)
Open source standards
Xvid Uses MPEG-4, part 2
OpenAVS Similar to H.264 codec
Dirac For European PAL television signal
![Page 35: STREAMING MEDIA Kim Stanton, UNT Tech Talk, 12/5/2007](https://reader035.vdocument.in/reader035/viewer/2022062407/56649daa5503460f94a989c3/html5/thumbnails/35.jpg)
Media Players
Codec also determines media player.
File created with “blue” codec.
Media player with “blue” codec key.
![Page 36: STREAMING MEDIA Kim Stanton, UNT Tech Talk, 12/5/2007](https://reader035.vdocument.in/reader035/viewer/2022062407/56649daa5503460f94a989c3/html5/thumbnails/36.jpg)
Media Players
Codec also determines media player.
File created with “blue” codec.
Media player with “red” codec key.
X
![Page 37: STREAMING MEDIA Kim Stanton, UNT Tech Talk, 12/5/2007](https://reader035.vdocument.in/reader035/viewer/2022062407/56649daa5503460f94a989c3/html5/thumbnails/37.jpg)
Media Players
Codec also determines media player.
File created with “blue” codec.
Media player with multiple codec keys.
![Page 38: STREAMING MEDIA Kim Stanton, UNT Tech Talk, 12/5/2007](https://reader035.vdocument.in/reader035/viewer/2022062407/56649daa5503460f94a989c3/html5/thumbnails/38.jpg)
Media Players
The Big (proprietary) Four RealMedia Player
RealNetworks Windows Media Player
Microsoft Quicktime
Apple Flash
Adobe
Lots of other players out there.
![Page 39: STREAMING MEDIA Kim Stanton, UNT Tech Talk, 12/5/2007](https://reader035.vdocument.in/reader035/viewer/2022062407/56649daa5503460f94a989c3/html5/thumbnails/39.jpg)
Streaming
Step Three:
![Page 40: STREAMING MEDIA Kim Stanton, UNT Tech Talk, 12/5/2007](https://reader035.vdocument.in/reader035/viewer/2022062407/56649daa5503460f94a989c3/html5/thumbnails/40.jpg)
Streaming Server
File is uploaded to streaming server
![Page 41: STREAMING MEDIA Kim Stanton, UNT Tech Talk, 12/5/2007](https://reader035.vdocument.in/reader035/viewer/2022062407/56649daa5503460f94a989c3/html5/thumbnails/41.jpg)
Streaming Server
Pushed for live feeds
Pulled for on-demand
Live Lecture
Film for class
![Page 42: STREAMING MEDIA Kim Stanton, UNT Tech Talk, 12/5/2007](https://reader035.vdocument.in/reader035/viewer/2022062407/56649daa5503460f94a989c3/html5/thumbnails/42.jpg)
Streaming Server
Server send packets of information to users.
![Page 43: STREAMING MEDIA Kim Stanton, UNT Tech Talk, 12/5/2007](https://reader035.vdocument.in/reader035/viewer/2022062407/56649daa5503460f94a989c3/html5/thumbnails/43.jpg)
Streaming Server
Server send packets of information to users.
Media is played then discarded.
![Page 44: STREAMING MEDIA Kim Stanton, UNT Tech Talk, 12/5/2007](https://reader035.vdocument.in/reader035/viewer/2022062407/56649daa5503460f94a989c3/html5/thumbnails/44.jpg)
Examples
![Page 45: STREAMING MEDIA Kim Stanton, UNT Tech Talk, 12/5/2007](https://reader035.vdocument.in/reader035/viewer/2022062407/56649daa5503460f94a989c3/html5/thumbnails/45.jpg)
@ UNT Media Library
Streaming Media Interface https://libhelix.library.unt.edu/login.cfm
Specifications: RealNetworks Helix streaming server .rm files & Real Media Player Multiple bit rate encoding
![Page 46: STREAMING MEDIA Kim Stanton, UNT Tech Talk, 12/5/2007](https://reader035.vdocument.in/reader035/viewer/2022062407/56649daa5503460f94a989c3/html5/thumbnails/46.jpg)
@ UNT Media Library
Streaming Media Interface https://libhelix.library.unt.edu/login.cfm
On Demand Access
Two access levels: Limited to course enrollment All Active Eagles
![Page 47: STREAMING MEDIA Kim Stanton, UNT Tech Talk, 12/5/2007](https://reader035.vdocument.in/reader035/viewer/2022062407/56649daa5503460f94a989c3/html5/thumbnails/47.jpg)
@ UNT Media Library
Limited to course enrollment Open to only faculty and students enrolled
in a specific course Why? Licensing agreements Authenticates through LDAP Collection development
Per Faculty requests Media used in face to face courses.
![Page 48: STREAMING MEDIA Kim Stanton, UNT Tech Talk, 12/5/2007](https://reader035.vdocument.in/reader035/viewer/2022062407/56649daa5503460f94a989c3/html5/thumbnails/48.jpg)
@ UNT Media Library
All Active Eagles All current UNT students, faculty, staff. Currently, 7 films available 50+ PBS titles in process Titles searchable in library catalog
http://iii.library.unt.edu/search?/dOnline+media.
Collection Development Broad, high use, educational materials Distributers offering digital licensing
![Page 49: STREAMING MEDIA Kim Stanton, UNT Tech Talk, 12/5/2007](https://reader035.vdocument.in/reader035/viewer/2022062407/56649daa5503460f94a989c3/html5/thumbnails/49.jpg)
@UNT
UNT streaming server: Managed by CITC RealNetworks Live stream and On-demand http://media.unt.edu:8080… Examples:
Texas Center for Digital Knowledge Peer Forums Course related media (CDL/ WebCT)
![Page 50: STREAMING MEDIA Kim Stanton, UNT Tech Talk, 12/5/2007](https://reader035.vdocument.in/reader035/viewer/2022062407/56649daa5503460f94a989c3/html5/thumbnails/50.jpg)
Free Online Media
Streaming examples
Annenberg http://www.learner.org/
Internet Archive, Moving Image Archive http://www.archive.org/details/movies Stream and/or download
American Field Guide http://www.pbs.org/americanfieldguide/index.html
![Page 51: STREAMING MEDIA Kim Stanton, UNT Tech Talk, 12/5/2007](https://reader035.vdocument.in/reader035/viewer/2022062407/56649daa5503460f94a989c3/html5/thumbnails/51.jpg)
Free Online Media
Progressive Download examples
Frontline http://www.pbs.org/wgbh/pages/frontline/
National Film Board of Canada http://www.nfb.ca/duneculturealautre/toutvoir.php
Open Vault, WGBH http://openvault.wgbh.org/
![Page 52: STREAMING MEDIA Kim Stanton, UNT Tech Talk, 12/5/2007](https://reader035.vdocument.in/reader035/viewer/2022062407/56649daa5503460f94a989c3/html5/thumbnails/52.jpg)
Free Online Media
User Generated Content Usually progressive download
YouTube Google Video Internet Archive Metacafe Vimeo Blip.tv Yahoo Video DanceJam (coming soon!)