SlideShare a Scribd company logo
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 mythtv
John Jennings
 
Sound recording glossary improved 3
Sound recording glossary improved 3Sound recording glossary improved 3
Sound recording glossary improved 3
CameronMcRae901
 
Ig2task1worksheetelliot 140511141816-phpapp02
Ig2task1worksheetelliot 140511141816-phpapp02Ig2task1worksheetelliot 140511141816-phpapp02
Ig2task1worksheetelliot 140511141816-phpapp02
ElliotBlack
 
Thingy editedd
Thingy editeddThingy editedd
Thingy editedd
ElliotBlack
 
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
terry96
 
multimedia data and file format
multimedia data and file formatmultimedia data and file format
multimedia data and file format
ALOK 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 shakir
University 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 sheet
copelandadam
 
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
copelandadam
 
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
copelandadam
 
Audio compression
Audio compressionAudio compression
Audio compression
Sahil Garg
 
Mp3
Mp3Mp3
gegerageSound recording glossary tom crook
gegerageSound recording glossary tom crookgegerageSound recording glossary tom crook
gegerageSound recording glossary tom crook
TomCrook
 
Multimedia System
Multimedia SystemMultimedia System
Multimedia System
Achmad Solichin
 
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
stephlizahawkins123
 
Multimedia file formats
Multimedia file formatsMultimedia file formats
Multimedia file formats
Shruti Garg
 
JPEG AND MIDI FILE FORMATS
JPEG AND MIDI FILE FORMATSJPEG AND MIDI FILE FORMATS
JPEG AND MIDI FILE FORMATS
Muhammad 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

Multimedia lecture6
Multimedia lecture6Multimedia lecture6
Multimedia lecture6
Mohammed Hussein
 
Multi media networking
Multi media networking Multi media networking
Multi media networking
cairo university
 
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
Andy Juan Sarango Veliz
 
WEEK 1
WEEK 1WEEK 1
WEEK 1
Videoguy
 
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
shamsbhai495
 
Multimedia
Multimedia Multimedia
Multimedia
philipsinter
 
Issue in handling multimedia online
Issue in handling multimedia onlineIssue in handling multimedia online
Issue in handling multimedia online
Om Prakash
 
Multimedia
MultimediaMultimedia
Multimedia
BUDNET
 
Computer Networking
Computer NetworkingComputer Networking
Computer Networking
Jayaprakash Nagaruru
 
MPEG 4
MPEG 4MPEG 4
MPEG 4
tvutech
 
Chapter7 multimedia
Chapter7 multimediaChapter7 multimedia
Chapter7 multimedia
Khánh Ghẻ
 
HSC Multimedia
HSC MultimediaHSC Multimedia
HSC Multimedia
greg robertson
 
Multimedia systems
Multimedia systemsMultimedia systems
Multimedia systems
greg robertson
 
The Multimedia & It's Uses
The Multimedia & It's UsesThe Multimedia & It's Uses
The Multimedia & It's Uses
Dhrumil 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_2010
Justin Giles
 
chapter No. 6 Multimedia presentation .pptx
chapter No. 6 Multimedia presentation .pptxchapter No. 6 Multimedia presentation .pptx
chapter No. 6 Multimedia presentation .pptx
Jatin Patil
 
MM_Conferencing.ppt
MM_Conferencing.pptMM_Conferencing.ppt
MM_Conferencing.ppt
Videoguy
 
Week 4 LBSC 690 Information Technology
Week 4 LBSC 690 Information TechnologyWeek 4 LBSC 690 Information Technology
Week 4 LBSC 690 Information Technology
Videoguy
 
Multimedia.pdf
Multimedia.pdfMultimedia.pdf
Multimedia.pdf
SunayanaShivthare1
 

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
 
HSC Multimedia
HSC MultimediaHSC Multimedia
HSC Multimedia
 
Multimedia systems
Multimedia systemsMultimedia systems
Multimedia systems
 
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 Detection
Zahra Sadeghi
 
Quality Assurance in Modern Software Development
Quality Assurance in Modern Software DevelopmentQuality Assurance in Modern Software Development
Quality Assurance in Modern Software Development
Zahra 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 network
Zahra Sadeghi
 
Perception, representation, structure, and recognition
Perception, representation, structure, and recognitionPerception, representation, structure, and recognition
Perception, representation, structure, and recognition
Zahra Sadeghi
 
An introduction to Autonomous mobile robots
An introduction to Autonomous mobile robotsAn introduction to Autonomous mobile robots
An introduction to Autonomous mobile robots
Zahra Sadeghi
 
Bluetooth Technoloty
Bluetooth TechnolotyBluetooth Technoloty
Bluetooth Technoloty
Zahra Sadeghi
 
Self Organization Map
Self Organization MapSelf Organization Map
Self Organization Map
Zahra 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 papers
Zahra Sadeghi
 
Pittssburgh approach
Pittssburgh approachPittssburgh approach
Pittssburgh approach
Zahra Sadeghi
 
Cerebellar Model Articulation Controller
Cerebellar Model Articulation ControllerCerebellar Model Articulation Controller
Cerebellar Model Articulation Controller
Zahra Sadeghi
 
Semantic Search with Semantic Web
Semantic Search with Semantic WebSemantic Search with Semantic Web
Semantic Search with Semantic Web
Zahra Sadeghi
 
Interval programming
Interval programming Interval programming
Interval programming
Zahra Sadeghi
 
16-bit microprocessors
16-bit microprocessors16-bit microprocessors
16-bit microprocessors
Zahra Sadeghi
 
Logic converter
Logic converterLogic converter
Logic converter
Zahra 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 threads
Zahra Sadeghi
 
Penalty function
Penalty function Penalty function
Penalty function
Zahra Sadeghi
 
Neural networks
Neural networksNeural networks
Neural networks
Zahra Sadeghi
 
Parametric and non parametric classifiers
Parametric and non parametric classifiersParametric and non parametric classifiers
Parametric and non parametric classifiers
Zahra Sadeghi
 
sampling
samplingsampling
sampling
Zahra 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

EWOCS-I: The catalog of X-ray sources in Westerlund 1 from the Extended Weste...
EWOCS-I: The catalog of X-ray sources in Westerlund 1 from the Extended Weste...EWOCS-I: The catalog of X-ray sources in Westerlund 1 from the Extended Weste...
EWOCS-I: The catalog of X-ray sources in Westerlund 1 from the Extended Weste...
Sérgio Sacani
 
11.1 Role of physical biological in deterioration of grains.pdf
11.1 Role of physical biological in deterioration of grains.pdf11.1 Role of physical biological in deterioration of grains.pdf
11.1 Role of physical biological in deterioration of grains.pdf
PirithiRaju
 
SAR of Medicinal Chemistry 1st by dk.pdf
SAR of Medicinal Chemistry 1st by dk.pdfSAR of Medicinal Chemistry 1st by dk.pdf
SAR of Medicinal Chemistry 1st by dk.pdf
KrushnaDarade1
 
Katherine Romanak - Geologic CO2 Storage.pdf
Katherine Romanak - Geologic CO2 Storage.pdfKatherine Romanak - Geologic CO2 Storage.pdf
Katherine Romanak - Geologic CO2 Storage.pdf
Texas Alliance of Groundwater Districts
 
Applied Science: Thermodynamics, Laws & Methodology.pdf
Applied Science: Thermodynamics, Laws & Methodology.pdfApplied Science: Thermodynamics, Laws & Methodology.pdf
Applied Science: Thermodynamics, Laws & Methodology.pdf
University of Hertfordshire
 
Micronuclei test.M.sc.zoology.fisheries.
Micronuclei test.M.sc.zoology.fisheries.Micronuclei test.M.sc.zoology.fisheries.
Micronuclei test.M.sc.zoology.fisheries.
Aditi Bajpai
 
waterlessdyeingtechnolgyusing carbon dioxide chemicalspdf
waterlessdyeingtechnolgyusing carbon dioxide chemicalspdfwaterlessdyeingtechnolgyusing carbon dioxide chemicalspdf
waterlessdyeingtechnolgyusing carbon dioxide chemicalspdf
LengamoLAppostilic
 
(June 12, 2024) Webinar: Development of PET theranostics targeting the molecu...
(June 12, 2024) Webinar: Development of PET theranostics targeting the molecu...(June 12, 2024) Webinar: Development of PET theranostics targeting the molecu...
(June 12, 2024) Webinar: Development of PET theranostics targeting the molecu...
Scintica Instrumentation
 
23PH301 - Optics - Optical Lenses.pptx
23PH301 - Optics  -  Optical Lenses.pptx23PH301 - Optics  -  Optical Lenses.pptx
23PH301 - Optics - Optical Lenses.pptx
RDhivya6
 
Basics of crystallography, crystal systems, classes and different forms
Basics of crystallography, crystal systems, classes and different formsBasics of crystallography, crystal systems, classes and different forms
Basics of crystallography, crystal systems, classes and different forms
MaheshaNanjegowda
 
Immersive Learning That Works: Research Grounding and Paths Forward
Immersive Learning That Works: Research Grounding and Paths ForwardImmersive Learning That Works: Research Grounding and Paths Forward
Immersive Learning That Works: Research Grounding and Paths Forward
Leonel Morgado
 
Eukaryotic Transcription Presentation.pptx
Eukaryotic Transcription Presentation.pptxEukaryotic Transcription Presentation.pptx
Eukaryotic Transcription Presentation.pptx
RitabrataSarkar3
 
The cost of acquiring information by natural selection
The cost of acquiring information by natural selectionThe cost of acquiring information by natural selection
The cost of acquiring information by natural selection
Carl Bergstrom
 
The binding of cosmological structures by massless topological defects
The binding of cosmological structures by massless topological defectsThe binding of cosmological structures by massless topological defects
The binding of cosmological structures by massless topological defects
Sérgio Sacani
 
NuGOweek 2024 Ghent programme overview flyer
NuGOweek 2024 Ghent programme overview flyerNuGOweek 2024 Ghent programme overview flyer
NuGOweek 2024 Ghent programme overview flyer
pablovgd
 
Pests of Storage_Identification_Dr.UPR.pdf
Pests of Storage_Identification_Dr.UPR.pdfPests of Storage_Identification_Dr.UPR.pdf
Pests of Storage_Identification_Dr.UPR.pdf
PirithiRaju
 
Mending Clothing to Support Sustainable Fashion_CIMaR 2024.pdf
Mending Clothing to Support Sustainable Fashion_CIMaR 2024.pdfMending Clothing to Support Sustainable Fashion_CIMaR 2024.pdf
Mending Clothing to Support Sustainable Fashion_CIMaR 2024.pdf
Selcen Ozturkcan
 
THEMATIC APPERCEPTION TEST(TAT) cognitive abilities, creativity, and critic...
THEMATIC  APPERCEPTION  TEST(TAT) cognitive abilities, creativity, and critic...THEMATIC  APPERCEPTION  TEST(TAT) cognitive abilities, creativity, and critic...
THEMATIC APPERCEPTION TEST(TAT) cognitive abilities, creativity, and critic...
Abdul Wali Khan University Mardan,kP,Pakistan
 
HOW DO ORGANISMS REPRODUCE?reproduction part 1
HOW DO ORGANISMS REPRODUCE?reproduction part 1HOW DO ORGANISMS REPRODUCE?reproduction part 1
HOW DO ORGANISMS REPRODUCE?reproduction part 1
Shashank Shekhar Pandey
 
8.Isolation of pure cultures and preservation of cultures.pdf
8.Isolation of pure cultures and preservation of cultures.pdf8.Isolation of pure cultures and preservation of cultures.pdf
8.Isolation of pure cultures and preservation of cultures.pdf
by6843629
 

Recently uploaded (20)

EWOCS-I: The catalog of X-ray sources in Westerlund 1 from the Extended Weste...
EWOCS-I: The catalog of X-ray sources in Westerlund 1 from the Extended Weste...EWOCS-I: The catalog of X-ray sources in Westerlund 1 from the Extended Weste...
EWOCS-I: The catalog of X-ray sources in Westerlund 1 from the Extended Weste...
 
11.1 Role of physical biological in deterioration of grains.pdf
11.1 Role of physical biological in deterioration of grains.pdf11.1 Role of physical biological in deterioration of grains.pdf
11.1 Role of physical biological in deterioration of grains.pdf
 
SAR of Medicinal Chemistry 1st by dk.pdf
SAR of Medicinal Chemistry 1st by dk.pdfSAR of Medicinal Chemistry 1st by dk.pdf
SAR of Medicinal Chemistry 1st by dk.pdf
 
Katherine Romanak - Geologic CO2 Storage.pdf
Katherine Romanak - Geologic CO2 Storage.pdfKatherine Romanak - Geologic CO2 Storage.pdf
Katherine Romanak - Geologic CO2 Storage.pdf
 
Applied Science: Thermodynamics, Laws & Methodology.pdf
Applied Science: Thermodynamics, Laws & Methodology.pdfApplied Science: Thermodynamics, Laws & Methodology.pdf
Applied Science: Thermodynamics, Laws & Methodology.pdf
 
Micronuclei test.M.sc.zoology.fisheries.
Micronuclei test.M.sc.zoology.fisheries.Micronuclei test.M.sc.zoology.fisheries.
Micronuclei test.M.sc.zoology.fisheries.
 
waterlessdyeingtechnolgyusing carbon dioxide chemicalspdf
waterlessdyeingtechnolgyusing carbon dioxide chemicalspdfwaterlessdyeingtechnolgyusing carbon dioxide chemicalspdf
waterlessdyeingtechnolgyusing carbon dioxide chemicalspdf
 
(June 12, 2024) Webinar: Development of PET theranostics targeting the molecu...
(June 12, 2024) Webinar: Development of PET theranostics targeting the molecu...(June 12, 2024) Webinar: Development of PET theranostics targeting the molecu...
(June 12, 2024) Webinar: Development of PET theranostics targeting the molecu...
 
23PH301 - Optics - Optical Lenses.pptx
23PH301 - Optics  -  Optical Lenses.pptx23PH301 - Optics  -  Optical Lenses.pptx
23PH301 - Optics - Optical Lenses.pptx
 
Basics of crystallography, crystal systems, classes and different forms
Basics of crystallography, crystal systems, classes and different formsBasics of crystallography, crystal systems, classes and different forms
Basics of crystallography, crystal systems, classes and different forms
 
Immersive Learning That Works: Research Grounding and Paths Forward
Immersive Learning That Works: Research Grounding and Paths ForwardImmersive Learning That Works: Research Grounding and Paths Forward
Immersive Learning That Works: Research Grounding and Paths Forward
 
Eukaryotic Transcription Presentation.pptx
Eukaryotic Transcription Presentation.pptxEukaryotic Transcription Presentation.pptx
Eukaryotic Transcription Presentation.pptx
 
The cost of acquiring information by natural selection
The cost of acquiring information by natural selectionThe cost of acquiring information by natural selection
The cost of acquiring information by natural selection
 
The binding of cosmological structures by massless topological defects
The binding of cosmological structures by massless topological defectsThe binding of cosmological structures by massless topological defects
The binding of cosmological structures by massless topological defects
 
NuGOweek 2024 Ghent programme overview flyer
NuGOweek 2024 Ghent programme overview flyerNuGOweek 2024 Ghent programme overview flyer
NuGOweek 2024 Ghent programme overview flyer
 
Pests of Storage_Identification_Dr.UPR.pdf
Pests of Storage_Identification_Dr.UPR.pdfPests of Storage_Identification_Dr.UPR.pdf
Pests of Storage_Identification_Dr.UPR.pdf
 
Mending Clothing to Support Sustainable Fashion_CIMaR 2024.pdf
Mending Clothing to Support Sustainable Fashion_CIMaR 2024.pdfMending Clothing to Support Sustainable Fashion_CIMaR 2024.pdf
Mending Clothing to Support Sustainable Fashion_CIMaR 2024.pdf
 
THEMATIC APPERCEPTION TEST(TAT) cognitive abilities, creativity, and critic...
THEMATIC  APPERCEPTION  TEST(TAT) cognitive abilities, creativity, and critic...THEMATIC  APPERCEPTION  TEST(TAT) cognitive abilities, creativity, and critic...
THEMATIC APPERCEPTION TEST(TAT) cognitive abilities, creativity, and critic...
 
HOW DO ORGANISMS REPRODUCE?reproduction part 1
HOW DO ORGANISMS REPRODUCE?reproduction part 1HOW DO ORGANISMS REPRODUCE?reproduction part 1
HOW DO ORGANISMS REPRODUCE?reproduction part 1
 
8.Isolation of pure cultures and preservation of cultures.pdf
8.Isolation of pure cultures and preservation of cultures.pdf8.Isolation of pure cultures and preservation of cultures.pdf
8.Isolation of pure cultures and preservation of cultures.pdf
 

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