SlideShare a Scribd company logo
1 of 28
Download to read offline
1
An introduction to
Multimedia
Zahra Sadeghi
2
What is 'multimedia'
 "multimedia" (literally):
– using more than one type of media usually
text, graphics, animation and sound to
produce an object.
• Traditional "static" Web pages,could be considered
multimedia, since they incorporate both text and graphics.
 it is most often used to refer to the inclusion of
audio, video and/or animation in a Web
page.
3
Categories of multimedia
application:
 Streaming stored audio and video
 Streaming live audio/video
 Real time Interactive audio/video
streaming
allows users to play audio and video files before
they are completely downloaded.
4
1.Streaming stored audio/video
 Files are compressed and stored on either a:
– Web server
• HTTP protocol
OR
– streaming server
• non-HTTP protocols
 Examples:
– For audio,
professor's lectures, rock songs, symphonies
– For video,
video of professors' lectures, full length movies, television shows,
video recordings of sporting events, cartoons and music video clips.
 user interactivity
pause/resume and temporal jumps to the future and past of the audio file.
 Delays
on the order of 1 to 10 seconds
5
 Streaming stored Audio/Video:
1.Using web servers
2.Using a web server with meta file
3.Using a media server
4.Using a media server and RTSP
6
1. using web server
 A compressed audio/video can be downloaded as a text file .
 browser : send a GET message to download a file.
 web server: sends the compressed file to the browser.
 browser uses a help application (media player) to play the file.
 One drawback : the file needs to download completely before it can be played.
7
2.using a web server with metafile
1. The user clicks on a hyperlink for an audio/video file : request
Inf. about the meta file comes in response : response
 The meta file contains the the URL of the actual audio/video file.
2. meta file is passed to the media player.
4. The media player sets up a TCP connection directly with the HTTP server.
The media player sends an HTTP request message for the audio/video file into the TCP connection.
5.the audio/video file is sent within an HTTP response message to the media player.
8
3. using a media server
1.request: The HTTP client accesses the web server using a GET
message .
response:The inf about the metafile comes in response.
2.The meta file is passed to the media player.
3.The media player uses the URL in the metafile to access the media
server to download the file.
downloading can take place by any protocol that uses UDP.
The media server responds.
9
4.using a media server and RTSP
1.The HTTP client accesses the web server using a GET message.
2.The inf. about the meta file comes in response.
3.The meta file is passed to the media player.
4.The media player sends a SETUP message to create a connection with the media
server.
5.The media server responds.
6.The media player sends a PLAY message to start playing (downloading).
7.The audio/video file id downloaded using another protocol that runs over UDP.
8. The connection is broken using the TEARDOWN message.
The media can send other types of messages ,e.x :PAUSE message temporarily stops
the downloading.downloading can be resumed with a PLAY message.
10
2.Streaming live audio/video
 similar to ordinary broadcast of radio and television,
 the transmission takes place over the Internet.
 Examples:
– Internet radio
– Internet TV
 non-interactive
a client cannot control a server's transmission schedule.
 Delays
up to 10 s from when the user clicks on a link until
audio/video playback
11
3.Real-time interactive audio/video:
 allows people to use audio/video to communicate with
each other in real-time.
 Examples:
– Internet telephony
– Internet teleconferencing
 interactive:
participants can orally and visually respond to each
other in real time
 delay :
less than a few hundred milliseconds.
12
Internet telephony =Voice over IP
 By 2002:
– volume of data traffic :an order of magnitude
• (growing exponentially)
– volume of voice traffic : almost flat
• (5% growth per year)
 Idea: use internet as telephone network
 Instead of communicating over a circuit _switched
network,
they allow communication over packet_switched internet.
 2 protocols to handles this type of communication: H.323 , SIP
13
H.323
 is a standard designed by ITU to allow
telephones on the public telephone network to
talk to computers connected to internet.
 Gateway:
– connects internet to telephone network.
– It transforms the telephone network message to in internet
message.
14
SIP:The Session Initiation Protocol
 H.323 :complex, and inflexible
 SIP defines telephone numbers as URLs,
– Web pages can contain them, allowing a click on a link to initiate a
telephone call (the same way the mailto scheme allows a click on a link
to bring up a program to send an e-mail message).
 SIP can establish
– two-party sessions (ordinary telephone calls),
– multiparty sessions (where everyone can hear and
speak)
– multicast sessions (one sender, many receivers).
 The sessions may contain audio, video, or
data, (multiplayer real-time games).
15
Audio and Video
Compression
16
Audio Compression
 Audio compression can be used for speech or music.
 Audio compression techniques
– Predictive encoding : differences between samples are encoded
instead of all sampled values; used for speech
– Perceptual encoding: uses frequency and temporal masking to
compress audio signals; used for MP3
 The idea is based on some flaws in our auditory system:
some sounds can mask other
 frequency masking, a loud sound in a frequency range can partially
0r totally mask a softer sound in another frequency range.
 temporal masking, a loud sound can numb our ears for a short time
even after the sound has stopped
17
Video compression
 Video :
– is composed of multiple frames.
– each frame is one image.
 compressing videos:
– first compressing images.
 standards:
– JPEG : is used to compress images
– MPEG : is used to compress video
18
Image Compression:
JPEG
(Joint Photographic
Expert Group)
19
JPEG
 If the picture is not in color: each pixel can be represented by an
8_bit integer.
 If the picture is in color:24 bits(3*8)
 In jpeg a grey scale picture is divided into blocks of 8*8 pixels
 Whole idea:
to change the picture into a linear(vector)
set of numbers
20
 each block of 64 pixels goes through a transformation that changes
the 64 values (through a formula)
 The result of transformation:
Case1: a block of uniform gray :
the value of each pixel is 20
– dc value
T(0,0):non zero=average of the other values multiplied by a constant
– ac values
T(m,n): zero=represents the change in the pixels=here ,no changes
20 20 20 20
20 20 20 20
20 20 20 20
20 20 20 20
…
160 0 0 …0
0 0 0 ...0
0 0 0 …0
DCT: Discrete Cosine Transformation
21
 Case2: a block with two different uniform gray scale sections.
 Result: only few non_zero values
 Case3: a block that changes gradually
 Result: many non_zero values
20 20 50 50
20 20 50 50
20 20 50 50
20 20 50 50
…
289 -109 0 39 0 -25 0 22
0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0
20 30 40 50
20 30 40 50
20 30 40 50
20 30 40 50
…
200 -146 0 -31 -1 3 -1 -8
0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0
22
QUANTIZATION
 Divide the number by a constant
 Then drop the fraction.
– divisor depends on the position of the value
in the table.
 We lose some information here that is not
recoverable.
 JPEG is called lossy compression.
23
compression
 Removing redundant 0’s
 to cluster 0’s together:
– we read the table diagonally in a zigzag fashion.
 if the picture does not have fine changes ,the bottom
right corner of the table is all zero.
24
Video compression:
MPEG
(Moving Picture
Expert Element)
25
MPEG
 video = a sequence images,
with each image being displayed at a constant rate, e.x at 24 or 30
images per second.
 2 types of redundancy in video, both of which can be exploited for
compression.
– Spatial redundancy
• the redundancy within a given image.
– E.x, an image that consists of mostly white space
– Temporal redundancy
• reflects repetition from image to subsequent image
– E.x If an image and the subsequent image are exactly the
same
 Compressing video=
spatially compressing each frame and
temporally compressing a set of frames.
26
How do I incorporate audio/video
files into my Web pages?
 provide a text and/or graphic link to the file
– <A HREF=“myMusic.avi">
 <EMBED> tag
– <EMBED SRC="MyMovie.mov", WIDTH=150, HEIGHT=250 >
– only for people who have a plug-in or helper app installed
 client pull
– automatically downloads the file each time the page is
accessed
– <META HTTP-EQUIV="Refresh" CONTENT="1;
URL=myvideo.mov">
 <BGSOUND SRC=“myMusic.wav">
References
 Behrouz A. Forouzan :
Data communications , chapter28
 James F. Kurose and Keith W. Ross:
Computer Networking , chapter6
 Andrew S. Tanenbaum:
Computer networks , chapter7
27
28
Questions?

More Related Content

What's hot

Ig2 task 1 work sheet (revisited)
Ig2 task 1 work sheet (revisited)Ig2 task 1 work sheet (revisited)
Ig2 task 1 work sheet (revisited)Mrrrjones
 
John jennings mythtv
John jennings mythtvJohn jennings mythtv
John jennings mythtvJohn Jennings
 
Sound recording glossary improved 3
Sound recording glossary improved 3Sound recording glossary improved 3
Sound recording glossary improved 3CameronMcRae901
 
Ig2task1worksheetelliot 140511141816-phpapp02
Ig2task1worksheetelliot 140511141816-phpapp02Ig2task1worksheetelliot 140511141816-phpapp02
Ig2task1worksheetelliot 140511141816-phpapp02ElliotBlack
 
IG2 Task 1 Work Sheet Terence Byrne
IG2 Task 1 Work Sheet Terence ByrneIG2 Task 1 Work Sheet Terence Byrne
IG2 Task 1 Work Sheet Terence Byrneterry96
 
multimedia data and file format
multimedia data and file formatmultimedia data and file format
multimedia data and file formatALOK SAHNI
 
Multimedia and-system-design-sound-images by zubair yaseen&amp; yameen shakir
Multimedia and-system-design-sound-images by zubair yaseen&amp; yameen shakirMultimedia and-system-design-sound-images by zubair yaseen&amp; yameen shakir
Multimedia and-system-design-sound-images by zubair yaseen&amp; yameen shakirUniversity of Education
 
Adam copeland ig2 task 1 work sheet
Adam copeland ig2 task 1 work sheetAdam copeland ig2 task 1 work sheet
Adam copeland ig2 task 1 work sheetcopelandadam
 
Adam copeland ig2 task 1 work sheet
Adam copeland ig2 task 1 work sheetAdam copeland ig2 task 1 work sheet
Adam copeland ig2 task 1 work sheetcopelandadam
 
Adam copeland ig2 task 1 work sheet
Adam copeland ig2 task 1 work sheetAdam copeland ig2 task 1 work sheet
Adam copeland ig2 task 1 work sheetcopelandadam
 
Audio compression
Audio compressionAudio compression
Audio compressionSahil Garg
 
gegerageSound recording glossary tom crook
gegerageSound recording glossary tom crookgegerageSound recording glossary tom crook
gegerageSound recording glossary tom crookTomCrook
 
Ig2 task 1 work sheet (glossary) steph hawkins
Ig2 task 1 work sheet (glossary) steph hawkinsIg2 task 1 work sheet (glossary) steph hawkins
Ig2 task 1 work sheet (glossary) steph hawkinsstephlizahawkins123
 
Multimedia file formats
Multimedia file formatsMultimedia file formats
Multimedia file formatsShruti Garg
 
JPEG AND MIDI FILE FORMATS
JPEG AND MIDI FILE FORMATSJPEG AND MIDI FILE FORMATS
JPEG AND MIDI FILE FORMATSMuhammad Irtiza
 

What's hot (18)

Ig2 task 1 work sheet (revisited)
Ig2 task 1 work sheet (revisited)Ig2 task 1 work sheet (revisited)
Ig2 task 1 work sheet (revisited)
 
John jennings mythtv
John jennings mythtvJohn jennings mythtv
John jennings mythtv
 
Sound recording glossary improved 3
Sound recording glossary improved 3Sound recording glossary improved 3
Sound recording glossary improved 3
 
Ig2task1worksheetelliot 140511141816-phpapp02
Ig2task1worksheetelliot 140511141816-phpapp02Ig2task1worksheetelliot 140511141816-phpapp02
Ig2task1worksheetelliot 140511141816-phpapp02
 
Thingy editedd
Thingy editeddThingy editedd
Thingy editedd
 
IG2 Task 1 Work Sheet Terence Byrne
IG2 Task 1 Work Sheet Terence ByrneIG2 Task 1 Work Sheet Terence Byrne
IG2 Task 1 Work Sheet Terence Byrne
 
multimedia data and file format
multimedia data and file formatmultimedia data and file format
multimedia data and file format
 
Multimedia and-system-design-sound-images by zubair yaseen&amp; yameen shakir
Multimedia and-system-design-sound-images by zubair yaseen&amp; yameen shakirMultimedia and-system-design-sound-images by zubair yaseen&amp; yameen shakir
Multimedia and-system-design-sound-images by zubair yaseen&amp; yameen shakir
 
Adam copeland ig2 task 1 work sheet
Adam copeland ig2 task 1 work sheetAdam copeland ig2 task 1 work sheet
Adam copeland ig2 task 1 work sheet
 
Adam copeland ig2 task 1 work sheet
Adam copeland ig2 task 1 work sheetAdam copeland ig2 task 1 work sheet
Adam copeland ig2 task 1 work sheet
 
Adam copeland ig2 task 1 work sheet
Adam copeland ig2 task 1 work sheetAdam copeland ig2 task 1 work sheet
Adam copeland ig2 task 1 work sheet
 
Audio compression
Audio compressionAudio compression
Audio compression
 
Mp3
Mp3Mp3
Mp3
 
gegerageSound recording glossary tom crook
gegerageSound recording glossary tom crookgegerageSound recording glossary tom crook
gegerageSound recording glossary tom crook
 
Multimedia System
Multimedia SystemMultimedia System
Multimedia System
 
Ig2 task 1 work sheet (glossary) steph hawkins
Ig2 task 1 work sheet (glossary) steph hawkinsIg2 task 1 work sheet (glossary) steph hawkins
Ig2 task 1 work sheet (glossary) steph hawkins
 
Multimedia file formats
Multimedia file formatsMultimedia file formats
Multimedia file formats
 
JPEG AND MIDI FILE FORMATS
JPEG AND MIDI FILE FORMATSJPEG AND MIDI FILE FORMATS
JPEG AND MIDI FILE FORMATS
 

Similar to An intoroduction to Multimedia

Chapter 9 - Computer Networking a top-down Approach 7th
Chapter 9 - Computer Networking a top-down Approach 7thChapter 9 - Computer Networking a top-down Approach 7th
Chapter 9 - Computer Networking a top-down Approach 7thAndy Juan Sarango Veliz
 
Multimedia data compression challenge and their solution
Multimedia data compression challenge and their solutionMultimedia data compression challenge and their solution
Multimedia data compression challenge and their solutionshamsbhai495
 
Issue in handling multimedia online
Issue in handling multimedia onlineIssue in handling multimedia online
Issue in handling multimedia onlineOm Prakash
 
Multimedia
MultimediaMultimedia
MultimediaBUDNET
 
Chapter7 multimedia
Chapter7 multimediaChapter7 multimedia
Chapter7 multimediaKhánh Ghẻ
 
The Multimedia & It's Uses
The Multimedia & It's UsesThe Multimedia & It's Uses
The Multimedia & It's UsesDhrumil Mehta
 
simple video compression
simple video compression simple video compression
simple video compression LaLit DuBey
 
what_is_a_codec_2010
what_is_a_codec_2010what_is_a_codec_2010
what_is_a_codec_2010Justin Giles
 
chapter No. 6 Multimedia presentation .pptx
chapter No. 6 Multimedia presentation .pptxchapter No. 6 Multimedia presentation .pptx
chapter No. 6 Multimedia presentation .pptxJatin Patil
 
MM_Conferencing.ppt
MM_Conferencing.pptMM_Conferencing.ppt
MM_Conferencing.pptVideoguy
 
Week 4 LBSC 690 Information Technology
Week 4 LBSC 690 Information TechnologyWeek 4 LBSC 690 Information Technology
Week 4 LBSC 690 Information TechnologyVideoguy
 

Similar to An intoroduction to Multimedia (20)

Multimedia lecture6
Multimedia lecture6Multimedia lecture6
Multimedia lecture6
 
Multi media networking
Multi media networking Multi media networking
Multi media networking
 
Chapter 9 - Computer Networking a top-down Approach 7th
Chapter 9 - Computer Networking a top-down Approach 7thChapter 9 - Computer Networking a top-down Approach 7th
Chapter 9 - Computer Networking a top-down Approach 7th
 
WEEK 1
WEEK 1WEEK 1
WEEK 1
 
Multimedia data compression challenge and their solution
Multimedia data compression challenge and their solutionMultimedia data compression challenge and their solution
Multimedia data compression challenge and their solution
 
Multimedia
Multimedia Multimedia
Multimedia
 
Issue in handling multimedia online
Issue in handling multimedia onlineIssue in handling multimedia online
Issue in handling multimedia online
 
Multimedia
MultimediaMultimedia
Multimedia
 
Computer Networking
Computer NetworkingComputer Networking
Computer Networking
 
MPEG 4
MPEG 4MPEG 4
MPEG 4
 
Chapter7 multimedia
Chapter7 multimediaChapter7 multimedia
Chapter7 multimedia
 
Multimedia systems
Multimedia systemsMultimedia systems
Multimedia systems
 
HSC Multimedia
HSC MultimediaHSC Multimedia
HSC Multimedia
 
The Multimedia & It's Uses
The Multimedia & It's UsesThe Multimedia & It's Uses
The Multimedia & It's Uses
 
simple video compression
simple video compression simple video compression
simple video compression
 
what_is_a_codec_2010
what_is_a_codec_2010what_is_a_codec_2010
what_is_a_codec_2010
 
chapter No. 6 Multimedia presentation .pptx
chapter No. 6 Multimedia presentation .pptxchapter No. 6 Multimedia presentation .pptx
chapter No. 6 Multimedia presentation .pptx
 
MM_Conferencing.ppt
MM_Conferencing.pptMM_Conferencing.ppt
MM_Conferencing.ppt
 
Week 4 LBSC 690 Information Technology
Week 4 LBSC 690 Information TechnologyWeek 4 LBSC 690 Information Technology
Week 4 LBSC 690 Information Technology
 
Multimedia.pdf
Multimedia.pdfMultimedia.pdf
Multimedia.pdf
 

More from Zahra Sadeghi

Maritime Anomaly Detection
Maritime Anomaly DetectionMaritime Anomaly Detection
Maritime Anomaly DetectionZahra Sadeghi
 
Quality Assurance in Modern Software Development
Quality Assurance in Modern Software DevelopmentQuality Assurance in Modern Software Development
Quality Assurance in Modern Software DevelopmentZahra Sadeghi
 
Attention mechanism in brain and deep neural network
Attention mechanism in brain and deep neural networkAttention mechanism in brain and deep neural network
Attention mechanism in brain and deep neural networkZahra Sadeghi
 
Perception, representation, structure, and recognition
Perception, representation, structure, and recognitionPerception, representation, structure, and recognition
Perception, representation, structure, and recognitionZahra Sadeghi
 
An introduction to Autonomous mobile robots
An introduction to Autonomous mobile robotsAn introduction to Autonomous mobile robots
An introduction to Autonomous mobile robotsZahra Sadeghi
 
Bluetooth Technoloty
Bluetooth TechnolotyBluetooth Technoloty
Bluetooth TechnolotyZahra Sadeghi
 
Self Organization Map
Self Organization MapSelf Organization Map
Self Organization MapZahra Sadeghi
 
A survey on ant colony clustering papers
A survey on ant colony clustering papersA survey on ant colony clustering papers
A survey on ant colony clustering papersZahra Sadeghi
 
Pittssburgh approach
Pittssburgh approachPittssburgh approach
Pittssburgh approachZahra Sadeghi
 
Cerebellar Model Articulation Controller
Cerebellar Model Articulation ControllerCerebellar Model Articulation Controller
Cerebellar Model Articulation ControllerZahra Sadeghi
 
Semantic Search with Semantic Web
Semantic Search with Semantic WebSemantic Search with Semantic Web
Semantic Search with Semantic WebZahra Sadeghi
 
Interval programming
Interval programming Interval programming
Interval programming Zahra Sadeghi
 
16-bit microprocessors
16-bit microprocessors16-bit microprocessors
16-bit microprocessorsZahra Sadeghi
 
Ms dos boot process
Ms dos boot process Ms dos boot process
Ms dos boot process Zahra Sadeghi
 
An Introduction to threads
An Introduction to threadsAn Introduction to threads
An Introduction to threadsZahra Sadeghi
 
Parametric and non parametric classifiers
Parametric and non parametric classifiersParametric and non parametric classifiers
Parametric and non parametric classifiersZahra Sadeghi
 

More from Zahra Sadeghi (20)

Maritime Anomaly Detection
Maritime Anomaly DetectionMaritime Anomaly Detection
Maritime Anomaly Detection
 
Quality Assurance in Modern Software Development
Quality Assurance in Modern Software DevelopmentQuality Assurance in Modern Software Development
Quality Assurance in Modern Software Development
 
Attention mechanism in brain and deep neural network
Attention mechanism in brain and deep neural networkAttention mechanism in brain and deep neural network
Attention mechanism in brain and deep neural network
 
Perception, representation, structure, and recognition
Perception, representation, structure, and recognitionPerception, representation, structure, and recognition
Perception, representation, structure, and recognition
 
An introduction to Autonomous mobile robots
An introduction to Autonomous mobile robotsAn introduction to Autonomous mobile robots
An introduction to Autonomous mobile robots
 
Bluetooth Technoloty
Bluetooth TechnolotyBluetooth Technoloty
Bluetooth Technoloty
 
Self Organization Map
Self Organization MapSelf Organization Map
Self Organization Map
 
A survey on ant colony clustering papers
A survey on ant colony clustering papersA survey on ant colony clustering papers
A survey on ant colony clustering papers
 
Pittssburgh approach
Pittssburgh approachPittssburgh approach
Pittssburgh approach
 
Cerebellar Model Articulation Controller
Cerebellar Model Articulation ControllerCerebellar Model Articulation Controller
Cerebellar Model Articulation Controller
 
Semantic Search with Semantic Web
Semantic Search with Semantic WebSemantic Search with Semantic Web
Semantic Search with Semantic Web
 
Interval programming
Interval programming Interval programming
Interval programming
 
16-bit microprocessors
16-bit microprocessors16-bit microprocessors
16-bit microprocessors
 
Logic converter
Logic converterLogic converter
Logic converter
 
Ms dos boot process
Ms dos boot process Ms dos boot process
Ms dos boot process
 
An Introduction to threads
An Introduction to threadsAn Introduction to threads
An Introduction to threads
 
Penalty function
Penalty function Penalty function
Penalty function
 
Neural networks
Neural networksNeural networks
Neural networks
 
Parametric and non parametric classifiers
Parametric and non parametric classifiersParametric and non parametric classifiers
Parametric and non parametric classifiers
 
sampling
samplingsampling
sampling
 

Recently uploaded

Manassas R - Parkside Middle School 🌎🏫
Manassas R - Parkside Middle School 🌎🏫Manassas R - Parkside Middle School 🌎🏫
Manassas R - Parkside Middle School 🌎🏫qfactory1
 
GenAI talk for Young at Wageningen University & Research (WUR) March 2024
GenAI talk for Young at Wageningen University & Research (WUR) March 2024GenAI talk for Young at Wageningen University & Research (WUR) March 2024
GenAI talk for Young at Wageningen University & Research (WUR) March 2024Jene van der Heide
 
User Guide: Capricorn FLX™ Weather Station
User Guide: Capricorn FLX™ Weather StationUser Guide: Capricorn FLX™ Weather Station
User Guide: Capricorn FLX™ Weather StationColumbia Weather Systems
 
The dark energy paradox leads to a new structure of spacetime.pptx
The dark energy paradox leads to a new structure of spacetime.pptxThe dark energy paradox leads to a new structure of spacetime.pptx
The dark energy paradox leads to a new structure of spacetime.pptxEran Akiva Sinbar
 
CHROMATOGRAPHY PALLAVI RAWAT.pptx
CHROMATOGRAPHY  PALLAVI RAWAT.pptxCHROMATOGRAPHY  PALLAVI RAWAT.pptx
CHROMATOGRAPHY PALLAVI RAWAT.pptxpallavirawat456
 
Q4-Mod-1c-Quiz-Projectile-333344444.pptx
Q4-Mod-1c-Quiz-Projectile-333344444.pptxQ4-Mod-1c-Quiz-Projectile-333344444.pptx
Q4-Mod-1c-Quiz-Projectile-333344444.pptxtuking87
 
User Guide: Pulsar™ Weather Station (Columbia Weather Systems)
User Guide: Pulsar™ Weather Station (Columbia Weather Systems)User Guide: Pulsar™ Weather Station (Columbia Weather Systems)
User Guide: Pulsar™ Weather Station (Columbia Weather Systems)Columbia Weather Systems
 
Pests of soyabean_Binomics_IdentificationDr.UPR.pdf
Pests of soyabean_Binomics_IdentificationDr.UPR.pdfPests of soyabean_Binomics_IdentificationDr.UPR.pdf
Pests of soyabean_Binomics_IdentificationDr.UPR.pdfPirithiRaju
 
Thermodynamics ,types of system,formulae ,gibbs free energy .pptx
Thermodynamics ,types of system,formulae ,gibbs free energy .pptxThermodynamics ,types of system,formulae ,gibbs free energy .pptx
Thermodynamics ,types of system,formulae ,gibbs free energy .pptxuniversity
 
User Guide: Magellan MX™ Weather Station
User Guide: Magellan MX™ Weather StationUser Guide: Magellan MX™ Weather Station
User Guide: Magellan MX™ Weather StationColumbia Weather Systems
 
trihybrid cross , test cross chi squares
trihybrid cross , test cross chi squarestrihybrid cross , test cross chi squares
trihybrid cross , test cross chi squaresusmanzain586
 
PROJECTILE MOTION-Horizontal and Vertical
PROJECTILE MOTION-Horizontal and VerticalPROJECTILE MOTION-Horizontal and Vertical
PROJECTILE MOTION-Horizontal and VerticalMAESTRELLAMesa2
 
Four Spheres of the Earth Presentation.ppt
Four Spheres of the Earth Presentation.pptFour Spheres of the Earth Presentation.ppt
Four Spheres of the Earth Presentation.pptJoemSTuliba
 
GLYCOSIDES Classification Of GLYCOSIDES Chemical Tests Glycosides
GLYCOSIDES Classification Of GLYCOSIDES  Chemical Tests GlycosidesGLYCOSIDES Classification Of GLYCOSIDES  Chemical Tests Glycosides
GLYCOSIDES Classification Of GLYCOSIDES Chemical Tests GlycosidesNandakishor Bhaurao Deshmukh
 
Servosystem Theory / Cybernetic Theory by Petrovic
Servosystem Theory / Cybernetic Theory by PetrovicServosystem Theory / Cybernetic Theory by Petrovic
Servosystem Theory / Cybernetic Theory by PetrovicAditi Jain
 
Pests of Blackgram, greengram, cowpea_Dr.UPR.pdf
Pests of Blackgram, greengram, cowpea_Dr.UPR.pdfPests of Blackgram, greengram, cowpea_Dr.UPR.pdf
Pests of Blackgram, greengram, cowpea_Dr.UPR.pdfPirithiRaju
 
OECD bibliometric indicators: Selected highlights, April 2024
OECD bibliometric indicators: Selected highlights, April 2024OECD bibliometric indicators: Selected highlights, April 2024
OECD bibliometric indicators: Selected highlights, April 2024innovationoecd
 
办理麦克马斯特大学毕业证成绩单|购买加拿大文凭证书
办理麦克马斯特大学毕业证成绩单|购买加拿大文凭证书办理麦克马斯特大学毕业证成绩单|购买加拿大文凭证书
办理麦克马斯特大学毕业证成绩单|购买加拿大文凭证书zdzoqco
 

Recently uploaded (20)

Manassas R - Parkside Middle School 🌎🏫
Manassas R - Parkside Middle School 🌎🏫Manassas R - Parkside Middle School 🌎🏫
Manassas R - Parkside Middle School 🌎🏫
 
GenAI talk for Young at Wageningen University & Research (WUR) March 2024
GenAI talk for Young at Wageningen University & Research (WUR) March 2024GenAI talk for Young at Wageningen University & Research (WUR) March 2024
GenAI talk for Young at Wageningen University & Research (WUR) March 2024
 
Interferons.pptx.
Interferons.pptx.Interferons.pptx.
Interferons.pptx.
 
User Guide: Capricorn FLX™ Weather Station
User Guide: Capricorn FLX™ Weather StationUser Guide: Capricorn FLX™ Weather Station
User Guide: Capricorn FLX™ Weather Station
 
The dark energy paradox leads to a new structure of spacetime.pptx
The dark energy paradox leads to a new structure of spacetime.pptxThe dark energy paradox leads to a new structure of spacetime.pptx
The dark energy paradox leads to a new structure of spacetime.pptx
 
CHROMATOGRAPHY PALLAVI RAWAT.pptx
CHROMATOGRAPHY  PALLAVI RAWAT.pptxCHROMATOGRAPHY  PALLAVI RAWAT.pptx
CHROMATOGRAPHY PALLAVI RAWAT.pptx
 
Q4-Mod-1c-Quiz-Projectile-333344444.pptx
Q4-Mod-1c-Quiz-Projectile-333344444.pptxQ4-Mod-1c-Quiz-Projectile-333344444.pptx
Q4-Mod-1c-Quiz-Projectile-333344444.pptx
 
User Guide: Pulsar™ Weather Station (Columbia Weather Systems)
User Guide: Pulsar™ Weather Station (Columbia Weather Systems)User Guide: Pulsar™ Weather Station (Columbia Weather Systems)
User Guide: Pulsar™ Weather Station (Columbia Weather Systems)
 
Pests of soyabean_Binomics_IdentificationDr.UPR.pdf
Pests of soyabean_Binomics_IdentificationDr.UPR.pdfPests of soyabean_Binomics_IdentificationDr.UPR.pdf
Pests of soyabean_Binomics_IdentificationDr.UPR.pdf
 
AZOTOBACTER AS BIOFERILIZER.PPTX
AZOTOBACTER AS BIOFERILIZER.PPTXAZOTOBACTER AS BIOFERILIZER.PPTX
AZOTOBACTER AS BIOFERILIZER.PPTX
 
Thermodynamics ,types of system,formulae ,gibbs free energy .pptx
Thermodynamics ,types of system,formulae ,gibbs free energy .pptxThermodynamics ,types of system,formulae ,gibbs free energy .pptx
Thermodynamics ,types of system,formulae ,gibbs free energy .pptx
 
User Guide: Magellan MX™ Weather Station
User Guide: Magellan MX™ Weather StationUser Guide: Magellan MX™ Weather Station
User Guide: Magellan MX™ Weather Station
 
trihybrid cross , test cross chi squares
trihybrid cross , test cross chi squarestrihybrid cross , test cross chi squares
trihybrid cross , test cross chi squares
 
PROJECTILE MOTION-Horizontal and Vertical
PROJECTILE MOTION-Horizontal and VerticalPROJECTILE MOTION-Horizontal and Vertical
PROJECTILE MOTION-Horizontal and Vertical
 
Four Spheres of the Earth Presentation.ppt
Four Spheres of the Earth Presentation.pptFour Spheres of the Earth Presentation.ppt
Four Spheres of the Earth Presentation.ppt
 
GLYCOSIDES Classification Of GLYCOSIDES Chemical Tests Glycosides
GLYCOSIDES Classification Of GLYCOSIDES  Chemical Tests GlycosidesGLYCOSIDES Classification Of GLYCOSIDES  Chemical Tests Glycosides
GLYCOSIDES Classification Of GLYCOSIDES Chemical Tests Glycosides
 
Servosystem Theory / Cybernetic Theory by Petrovic
Servosystem Theory / Cybernetic Theory by PetrovicServosystem Theory / Cybernetic Theory by Petrovic
Servosystem Theory / Cybernetic Theory by Petrovic
 
Pests of Blackgram, greengram, cowpea_Dr.UPR.pdf
Pests of Blackgram, greengram, cowpea_Dr.UPR.pdfPests of Blackgram, greengram, cowpea_Dr.UPR.pdf
Pests of Blackgram, greengram, cowpea_Dr.UPR.pdf
 
OECD bibliometric indicators: Selected highlights, April 2024
OECD bibliometric indicators: Selected highlights, April 2024OECD bibliometric indicators: Selected highlights, April 2024
OECD bibliometric indicators: Selected highlights, April 2024
 
办理麦克马斯特大学毕业证成绩单|购买加拿大文凭证书
办理麦克马斯特大学毕业证成绩单|购买加拿大文凭证书办理麦克马斯特大学毕业证成绩单|购买加拿大文凭证书
办理麦克马斯特大学毕业证成绩单|购买加拿大文凭证书
 

An intoroduction to Multimedia

  • 2. 2 What is 'multimedia'  "multimedia" (literally): – using more than one type of media usually text, graphics, animation and sound to produce an object. • Traditional "static" Web pages,could be considered multimedia, since they incorporate both text and graphics.  it is most often used to refer to the inclusion of audio, video and/or animation in a Web page.
  • 3. 3 Categories of multimedia application:  Streaming stored audio and video  Streaming live audio/video  Real time Interactive audio/video streaming allows users to play audio and video files before they are completely downloaded.
  • 4. 4 1.Streaming stored audio/video  Files are compressed and stored on either a: – Web server • HTTP protocol OR – streaming server • non-HTTP protocols  Examples: – For audio, professor's lectures, rock songs, symphonies – For video, video of professors' lectures, full length movies, television shows, video recordings of sporting events, cartoons and music video clips.  user interactivity pause/resume and temporal jumps to the future and past of the audio file.  Delays on the order of 1 to 10 seconds
  • 5. 5  Streaming stored Audio/Video: 1.Using web servers 2.Using a web server with meta file 3.Using a media server 4.Using a media server and RTSP
  • 6. 6 1. using web server  A compressed audio/video can be downloaded as a text file .  browser : send a GET message to download a file.  web server: sends the compressed file to the browser.  browser uses a help application (media player) to play the file.  One drawback : the file needs to download completely before it can be played.
  • 7. 7 2.using a web server with metafile 1. The user clicks on a hyperlink for an audio/video file : request Inf. about the meta file comes in response : response  The meta file contains the the URL of the actual audio/video file. 2. meta file is passed to the media player. 4. The media player sets up a TCP connection directly with the HTTP server. The media player sends an HTTP request message for the audio/video file into the TCP connection. 5.the audio/video file is sent within an HTTP response message to the media player.
  • 8. 8 3. using a media server 1.request: The HTTP client accesses the web server using a GET message . response:The inf about the metafile comes in response. 2.The meta file is passed to the media player. 3.The media player uses the URL in the metafile to access the media server to download the file. downloading can take place by any protocol that uses UDP. The media server responds.
  • 9. 9 4.using a media server and RTSP 1.The HTTP client accesses the web server using a GET message. 2.The inf. about the meta file comes in response. 3.The meta file is passed to the media player. 4.The media player sends a SETUP message to create a connection with the media server. 5.The media server responds. 6.The media player sends a PLAY message to start playing (downloading). 7.The audio/video file id downloaded using another protocol that runs over UDP. 8. The connection is broken using the TEARDOWN message. The media can send other types of messages ,e.x :PAUSE message temporarily stops the downloading.downloading can be resumed with a PLAY message.
  • 10. 10 2.Streaming live audio/video  similar to ordinary broadcast of radio and television,  the transmission takes place over the Internet.  Examples: – Internet radio – Internet TV  non-interactive a client cannot control a server's transmission schedule.  Delays up to 10 s from when the user clicks on a link until audio/video playback
  • 11. 11 3.Real-time interactive audio/video:  allows people to use audio/video to communicate with each other in real-time.  Examples: – Internet telephony – Internet teleconferencing  interactive: participants can orally and visually respond to each other in real time  delay : less than a few hundred milliseconds.
  • 12. 12 Internet telephony =Voice over IP  By 2002: – volume of data traffic :an order of magnitude • (growing exponentially) – volume of voice traffic : almost flat • (5% growth per year)  Idea: use internet as telephone network  Instead of communicating over a circuit _switched network, they allow communication over packet_switched internet.  2 protocols to handles this type of communication: H.323 , SIP
  • 13. 13 H.323  is a standard designed by ITU to allow telephones on the public telephone network to talk to computers connected to internet.  Gateway: – connects internet to telephone network. – It transforms the telephone network message to in internet message.
  • 14. 14 SIP:The Session Initiation Protocol  H.323 :complex, and inflexible  SIP defines telephone numbers as URLs, – Web pages can contain them, allowing a click on a link to initiate a telephone call (the same way the mailto scheme allows a click on a link to bring up a program to send an e-mail message).  SIP can establish – two-party sessions (ordinary telephone calls), – multiparty sessions (where everyone can hear and speak) – multicast sessions (one sender, many receivers).  The sessions may contain audio, video, or data, (multiplayer real-time games).
  • 16. 16 Audio Compression  Audio compression can be used for speech or music.  Audio compression techniques – Predictive encoding : differences between samples are encoded instead of all sampled values; used for speech – Perceptual encoding: uses frequency and temporal masking to compress audio signals; used for MP3  The idea is based on some flaws in our auditory system: some sounds can mask other  frequency masking, a loud sound in a frequency range can partially 0r totally mask a softer sound in another frequency range.  temporal masking, a loud sound can numb our ears for a short time even after the sound has stopped
  • 17. 17 Video compression  Video : – is composed of multiple frames. – each frame is one image.  compressing videos: – first compressing images.  standards: – JPEG : is used to compress images – MPEG : is used to compress video
  • 19. 19 JPEG  If the picture is not in color: each pixel can be represented by an 8_bit integer.  If the picture is in color:24 bits(3*8)  In jpeg a grey scale picture is divided into blocks of 8*8 pixels  Whole idea: to change the picture into a linear(vector) set of numbers
  • 20. 20  each block of 64 pixels goes through a transformation that changes the 64 values (through a formula)  The result of transformation: Case1: a block of uniform gray : the value of each pixel is 20 – dc value T(0,0):non zero=average of the other values multiplied by a constant – ac values T(m,n): zero=represents the change in the pixels=here ,no changes 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 … 160 0 0 …0 0 0 0 ...0 0 0 0 …0 DCT: Discrete Cosine Transformation
  • 21. 21  Case2: a block with two different uniform gray scale sections.  Result: only few non_zero values  Case3: a block that changes gradually  Result: many non_zero values 20 20 50 50 20 20 50 50 20 20 50 50 20 20 50 50 … 289 -109 0 39 0 -25 0 22 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 20 30 40 50 20 30 40 50 20 30 40 50 20 30 40 50 … 200 -146 0 -31 -1 3 -1 -8 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
  • 22. 22 QUANTIZATION  Divide the number by a constant  Then drop the fraction. – divisor depends on the position of the value in the table.  We lose some information here that is not recoverable.  JPEG is called lossy compression.
  • 23. 23 compression  Removing redundant 0’s  to cluster 0’s together: – we read the table diagonally in a zigzag fashion.  if the picture does not have fine changes ,the bottom right corner of the table is all zero.
  • 25. 25 MPEG  video = a sequence images, with each image being displayed at a constant rate, e.x at 24 or 30 images per second.  2 types of redundancy in video, both of which can be exploited for compression. – Spatial redundancy • the redundancy within a given image. – E.x, an image that consists of mostly white space – Temporal redundancy • reflects repetition from image to subsequent image – E.x If an image and the subsequent image are exactly the same  Compressing video= spatially compressing each frame and temporally compressing a set of frames.
  • 26. 26 How do I incorporate audio/video files into my Web pages?  provide a text and/or graphic link to the file – <A HREF=“myMusic.avi">  <EMBED> tag – <EMBED SRC="MyMovie.mov", WIDTH=150, HEIGHT=250 > – only for people who have a plug-in or helper app installed  client pull – automatically downloads the file each time the page is accessed – <META HTTP-EQUIV="Refresh" CONTENT="1; URL=myvideo.mov">  <BGSOUND SRC=“myMusic.wav">
  • 27. References  Behrouz A. Forouzan : Data communications , chapter28  James F. Kurose and Keith W. Ross: Computer Networking , chapter6  Andrew S. Tanenbaum: Computer networks , chapter7 27