1 Multimedia on the Web: Issues of Bandwidth Bandwidth is a measure of the amount of data that can be sent through a communication pipeline each second.

Slides:



Advertisements
Similar presentations
3.01C Multimedia Elements and Guidelines 3.01 Explore multimedia systems, elements and presentations.
Advertisements

Chapter 11 Media and Interactivity Basics Key Concepts Copyright © 2013 Terry Ann Morris, Ed.D 1.
Using Multimedia on the Web Enhancing a Web Site with Sound, Video, and Applets.
ITIS 1210 Introduction to Web-Based Information Systems Chapter 36 How Music and Audio Work on the Internet.
CNIT 132 – Week 9 Multimedia. Working with Multimedia Bandwidth is a measure of the amount of data that can be sent through a communication pipeline each.
4.1Different Audio Attributes 4.2Common Audio File Formats 4.3Balancing between File Size and Audio Quality 4.4Making Audio Elements Fit Our Needs.
1. Digitization of Sound What is Sound? Sound is a wave phenomenon like light, but is macroscopic and involves molecules of air being compressed and expanded.
Chapter 11 Media and Interactivity Basics Key Concepts
4.2 Multimedia Elements Audio 1. Learning Outcomes: At the end of the lesson, students should be: a) describe the purpose of using audio in multimedia.
HTML Structure & Web Design Basics
Section 9.1 Identify multimedia design guidelines Identify sources of multimedia files Explain the ethical use of multimedia files Describe multimedia.
5/4/20151 Lesson 5 Sound. 5/4/20152 Overview Introduction to sound. Multimedia system sound. Digital audio. MIDI audio. Audio file formats.
Sounds, Images & Other Objects Website Production.
 Multimedia is everything you can hear or see: texts, books, pictures, music, sounds, CDs, videos, DVDs, Records, Films, and more.  Multimedia comes.
3.02C Multimedia Fair Uses Guidelines and Elements
M ULTIMEDIA ON THE W EB. Multimedia Purpose of Multimedia Multimedia Issues Animation Digital Audio fundamentals Browser Plug-ins Java Applets.
Tutorial 7 Working with Multimedia. XP Objectives Explore various multimedia applications on the Web Learn about sound file formats and properties Embed.
XP 1 Using Multimedia on the Web Enhancing a Web Site with Sound, Video, and Applets Tutorial 8.
Chapter 9 Audio.
Multimedia Elements Sound, Animation, and Video
Introduction to Sound Sounds are vibrations that travel though the air or some other medium A sound wave is an audible vibration that travels through.
Section 9.1 Section 9.2 YOU WILL LEARN TO…
Skill Area 212 Introduction to Multimedia Internet and MultiMedia for SC 2.
CHAPTER 18 INTEGRATING AUDIO AND VIDEO. LEARNING OBJECTIVES How the HTML 5 and tag pair can be used to include a video file within a webpage How video.
Introduction to Interactive Media 10: Audio in Interactive Digital Media.
Tutorial 7 Working with Multimedia. XP Introducing Multimedia Bandwidth is a measure of the amount of data that can be sent through a communication pipeline.
By Frankie, K. F. Yip Chapter 6 Speech. By Frankie, K. F. YipLecture 6 - Sound2 Sound Waves.
Chapter 8: Digital Media1 Digital Media Chapter 8.
Audio. Why Audio Essential tool for – Interface – Narrative – Setting & Mood.
1 Lecture 12: Multimedia Not in Web 101 Text  Important Multimedia Issues  Audio  Movies and Video  Multimedia and HTML Documents.
Audio and Video CGS Some Common Audio Formats Format Use Extension MIDI instrumental music.mid MPEG songs.mp3 RealAudio live broadcasts.ra Wave.
Tutorial 7 Working with Multimedia. XP Objectives Explore various multimedia applications on the Web Learn about sound file formats and properties Embed.
XP Tutorial 8New Perspectives on HTML and XHTML, Comprehensive 1 Using Multimedia on the Web Enhancing a Web Site with Sound, Video, and Applets Tutorial.
Signal Digitization Analog vs Digital Signals An Analog Signal A Digital Signal What type of signal do we encounter in nature?
Sound or Audio, whichever you prefer –MIDI Files.midi or.mid (Musical Instrument Digital Interface) use for instrumental music. –This format is supported.
Sound on the Web. Using Sound on a Web Site Conveying information  pronounce a word or describe a product Set a mood  music to match the web page scene.
Overview of Multimedia A multimedia presentation might contain: –Text –Animation –Digital Sound Effects –Voices –Video Clips –Photographic Stills –Music.
HTML Use of Multimedia on web page. HTML Media Q. How to call Image file in our web page ? A. That is the easy syntax for defining an image. 2.
XP Tutorial 8New Perspectives on Creating Web Pages with HTML, XHTML, and XML 1 Using Multimedia on the Web Enhancing a Web Site with Sound, Video, and.
Computer Concepts 2014 Chapter 8 Digital Media. 8 Digital Audio Basics  Sampling a sound wave Chapter 8: Digital Media 2.
Tutorial 7 Working with Multimedia
Tutorial 7 Designing a Multimedia Web Site
Tutorial 7 Working with Multimedia. New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition 2 Objectives Explore various multimedia applications.
Tutorial 7 Working with Multimedia. New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition 2 Objectives Explore various multimedia applications.
Sound element Week - 11.
© 2011 The McGraw-Hill Companies, Inc. All rights reserved Chapter 4: Sound.
Using Plug-Ins Adding Multimedia to an HTML Document.
Week 12 Lecture 1 Audio and Video File Formats. Audio on the web Can be linked to and downloaded like any other file Traditional audio files are quite.
CSCI-100 Introduction to Computing Hardware Part II.
Multimedia. What is multimedia? Multimedia is everything you can hear or see: texts, books, pictures, music, sounds, CDs, videos, DVDs, Records, Films,
Music files in PowerPoint 2007? By Ashley Wiger.
Chapter 8 Adding Multimedia Content to Web Pages HTML5 & CSS 7 th Edition.
CHAPTER 8 Multimedia 1. Using Multimedia ❖ Multimedia: the combination of text, sound, and video to express an idea or convey a message. ❖ Podcasts: a.
© 2011 The McGraw-Hill Companies, Inc. All rights reserved Chapter 4: Sound.
Section 9.1 Section 9.2 YOU WILL LEARN TO…
Section 9.1 Section 9.2 Identify multimedia design guidelines
Using Multimedia on the Web
Introduction to Digital Audio
Tutorial 7 Working with Multimedia
Integrating Multimedia: Sound, Video and More
Multimedia: making it Work
3.01C Multimedia Elements and Guidelines
Introduction to Digital Audio
Introduction to Digital Audio
Working with Multimedia
Introduction to Digital Audio
Web Programming– UFCFB Lecture 8
3.01C Multimedia Elements and Guidelines
Introduction to Digital Audio
Chapter 9 Audio.
Presentation transcript:

1 Multimedia on the Web: Issues of Bandwidth Bandwidth is a measure of the amount of data that can be sent through a communication pipeline each second. Consider bandwidth when working with multimedia on a Web site. The higher quality the media, the larger the file size and the longer the load time.

2 Adding Multimedia to a Web Page Modern multimedia can be added to a Web page two different ways: – and tags (HTML 5) – and tags (HTML 4.01) The old-fashioned way is no longer popular.

3 Audio Media: Basic Definitions Every sound wave is composed of two components: –Amplitude- the height of the wave. Amplitude relates to the sound’s volume –Frequency- the speed at which the sound wave moves. Frequency relates to sound pitch

4 Digitizing Audio Sound waves are analog functions (represent a continuously varying signal) To store the information digitally, however, it must be converted to discrete pieces of information. The quality of the conversion is measured in two ways: sampling rate and sampling resolution.

5 The Sampling Rate Digital recording measures the sound’s amplitude at discrete moments in time Each measurement or slice is called a sample Samples per second taken is called the sampling rate, measured in Khz. Low sampling rate Medium sampling rate High sampling rate

6 Sampling Resolution Sampling resolution indicates the precision in measuring the sound within each sample. Resolutions include: –8-bit –16-bit –32-bit

7 Sample Rates and Resolution Sampling rate and sample resolution as related to sound quality: Sampling Rate and Sample ResolutionSound Quality 8 KHz, 8-bit, monoTelephone 22 KHz, 16-bit, stereoFM Radio 44 KHz, 16-bit, stereoCD 192 KHz, 24-bit, 5.1 channelBlu-Ray High Def DVD

8 Some Popular Audio Media Formats There are different sound file formats used by different operating systems:  AIFF – developed for Apple Macintosh OS  WAV – developed for Microsoft Windows OS  RealAudio – developed for realtime Web apps  AU – developed for UNIX OS  MP3 – primary format for music sharing  MIDI – limited to instrumental music  OGG – royalty-free but not very popular

9 Streaming vs Nonstreaming Media Nonstreaming media are completely downloaded by users before being played. It may produce lengthy delays Streaming media are processed in a steady and continuous stream as they are downloaded by the browser

10 The HTML5 Tag To add an audio clip under HTML5, use the audio tag: … where url1, url2, etc. are the possible sources of the audio. Example:

Attributes Attributes

Example: Using the controls Attribute

Audio in HTML 4.01 Using Audio in HTML 4.01 Using Older browsers that don’t support the HTML5 tag instead rely on plug-ins to play embedded media clips using the tag. <embed src=”overture.mp3” type=”audio/mpeg” width=”250” height=”10” />

14 Video Media: Basic Definitions Video files are composed of a series of single images called frames.The number of frames shown in a period of time is the frame rate. Reducing the frame rate and frame size reduces the size of your file.

15 Codecs and Video File Formats Codecs are programs that compress and decompress the video to control the file size.

16 The HTML5 Tag To add a video clip under HTML5, use the video tag: … where url1, url2, etc. are the possible sources of the video. Example:

Attributes Attributes

Video in HTML 4.01 Using Video in HTML 4.01 Using The tag was introduced in the specifications for HTML 4 for the purpose of marking any kind of nontextual content. Parameters are passed using the tag. <object data=”fun.swf” type=”application/x-shockwave-flash” width=”300” height=”200”>

19 YouTube: An Example of Nesting Elements <param name="movie“ value=" <embed src=" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344">

20 Embedding Applications with Java Objects Oak was developed by Sun Microsystems as an operating system intended to be used by common appliances and devices Oak was renamed Java in 1995 HotJava, a Java interpreter, runs programs written in the Java language

21 Java Applets Applets are Java programs that run within a Web browser. Applets are displayed as embedded objects on a Web page in an applet window. Parameters are passed to the applet using the tag. You use a Java Developer’s Kit (JDK) to write your own Java applet. Compiling changes the file into an executable file that can run by itself without the JDK. The executable file is called a class file (e.g., CreditRoll.class ).

Using to Insert Java Applets To embed a Java applet, use the element: <object type=”application/x-java-applet” width=”value” height=”value”> parameters for the applet Parameters are specific to the applet you’re inserting. There may be many, a few, or none.

Example of a Java Applet: CreditRoll <object type=”application/x-java-applet” width=”250” height=”250”>