Week 4 LBSC 690 Information Technology Multimedia.

Slides:



Advertisements
Similar presentations
DOCUMENT TYPES. Digital Documents Converting documents to an electronic format will preserve those documents, but how would such a process be organized?
Advertisements

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.
A Digital Imaging Primer Nick Dvoracek Instructional Resources Center University of Wisconsin Oshkosh.
3.02C Multimedia Fair Uses Guidelines and Elements
Color COM 366 Web Design & Production. RGB color Amount of light in each channel Closer to 255, whiter color gets Every color has value for red,
Multimedia for the Web: Creating Digital Excitement Multimedia Element -- Graphics.
Week 4 LBSC 690 Information Technology Multimedia.
Week 4 LBSC 690 Information Technology Multimedia.
Week 4 LBSC 690 Information Technology Multimedia.
ETT 429 Spring 2007 Digital Photography/Scanners.
LBSC 690 Session #11 Multimedia Jimmy Lin The iSchool University of Maryland Wednesday, November 12, 2008 This work is licensed under a Creative Commons.
Class 11 LBSC 690 Information Technology Multimedia.
Integration Week 7 LBSC 690 Information Technology.
© Anselm SpoerriInfo + Web Tech Course Information Technologies Info + Web Tech Course Anselm Spoerri PhD (MIT) Rutgers University
LBSC 690: Week 9 Multimedia Jimmy Lin College of Information Studies University of Maryland Monday, April 2, 2007.
Microsoft Office Illustrated Inserting Illustrations, Objects, and Media Clips.
Image Representation CS105. Data Representation Text representation – ASCII character set – Unicode – Data compression Images!
Image Compression CSC CSC Computing with Images2 How do we use fewer bytes to encode the same or similar information? Reduce redundancy Take.
Image Formation and Digital Video
Representing Images. Goals for Image Representation digitization & resolution digitization & resolution representing color representing color color depth.
HYPERTEXT MARKUP LANGUAGE (HTML)
Nat 4/5 - Software Design and Development – Low Level Operations - 1 National 4/5 – Computing Science Information Systems Design and Development Media.
4.1 Digital Multimedia Elements
Zinnia Bell. RAWimages are image files that have not yet processed, they contain minimally processed data from the image sensor of either a image scanner,
Using Multimedia on the Web
Session 4 LIS 7008 Information Technologies Multimedia LSU/SLIS.
CS 1308 Computer Literacy and the Internet. Creating Digital Pictures  A traditional photograph is an analog representation of an image.  Digitizing.
Faculty of Sciences and Social Sciences HOPE Website Development Graphics Stewart Blakeway FML 213
COMP Bitmapped and Vector Graphics Pages Using Qwizdom.
Content Management Systems Week 5 LBSC 690 Information Technology.
CSCI-235 Micro-Computers in Science Hardware Part II.
Video Basics. Agenda Digital Video Compressing Video Audio Video Encoding in tools.
TOPIC 4 INTRODUCTION TO MEDIA COMPUTATION: DIGITAL PICTURES Notes adapted from Introduction to Computing and Programming with Java: A Multimedia Approach.
Announcements Chapter 11 for today No quiz this week Instructor got behind…. We'll be back in MGH389 on Friday.
MULTIMEDIA - WHAT IS IT? DEFINITION 1: Uses a VARIETY of media ELEMENTS for instruction Media elements are: text, sound, graphics, moving images (real.
 Refers to sampling the gray/color level in the picture at MXN (M number of rows and N number of columns )array of points.  Once points are sampled,
1 Perception, Illusion and VR HNRS 299, Spring 2008 Lecture 14 Introduction to Computer Graphics.
Multimedia and The Web.
IT-101 Section 001 Lecture #7 Introduction to Information Technology.
DIGITAL Video. Video Creation Video captures the real world therefore video cannot be created in the same sense that images can be created video must.
Multimedia Elements: Sound, Animation, and Video.
1 Ethics of Computing MONT 113G, Spring 2012 Session 10 HTML Tables Graphics on the Web.
Section 8.1 Create a custom theme Design a color scheme Use shared borders Section 8.2 Identify types of graphics Identify and compare graphic formats.
XP Practical PC, 3e Chapter 15 1 Creating Desktop Video and Animation.
Streaming Media A technique for transferring data on the Internet so it can be processed as a steady and continuous stream.
Multimedia ITGS. Multimedia Multimedia: Documents that contain information in more than one form: Text Sound Images Video Hypertext: A document or set.
1 Image Formats. 2 Color representation An image = a collection of picture elements (pixels) Each pixel has a “color” Different types of pixels Binary.
Week 7 LBSC 690 Information Technology Multimedia.
Image Compression CSC CSC Computing with Images2 Image Compression Goal: reduce redundancy –Encode the same information using fewer bits.
Graphics An image is made up of tiny dots called pixels (“picture elements”) The resolution determines the.
CSC Computing with Images1 File formats for images on the web CSC 1040.
Class 9 LBSC 690 Information Technology Multimedia.
Media Types Information Systems can contain the following types of media: Sound, graphics, video & text.
The Digital Revolution Changing information. What is Digital?  Discrete values used for  Input  Processing  Transmission  Storage  Display  Derived.
Chapter 1 Background 1. In this lecture, you will find answers to these questions Computers store and transmit information using digital data. What exactly.
Chapter 6:Graphics & Multimedia. “ MULTIMEDIA is a seamless integration of data, text, image of all kinds and sound within a digital environment. ” FELDMAN,
Photo Story. How to use Photo Story Photo Story 3 can be located in the Accessories folder on school computers. You will need to have your pictures already.
Image File Formats Harrow Computer Club – Wed, 1 Dec 2010 Bob Watson MA CMath MIMA MBCS.
TOPIC 4 INTRODUCTION TO MEDIA COMPUTATION: DIGITAL PICTURES Notes adapted from Introduction to Computing and Programming with Java: A Multimedia Approach.
Chapter 1 Definitions & Basics of Digital Image 1.Image 2.Digital Image 3.Raster 4. Vector 5.Image Editing 1.
Software Design and Development Storing Data Part 2 Text, sound and video Computing Science.
Component 1.9 Security and Data Management
Week 4 LBSC 690 Information Technology
Data Compression.
Remote Demos Remote Demo.
short term and long term speed, capacity, compression formats, access
Working with Multimedia
OCR GCSE Computing © Hodder Education 2013 Slide 1
Presentation transcript:

Week 4 LBSC 690 Information Technology Multimedia

Agenda Questions XML review Images Audio Streaming SMILe

What’s a Document? Content Structure Appearance Behavior

History of Structured Documents Early standards were “typesetting languages” –NROFF, TeX, LaTeX, SGML HTML was developed for the Web –Too specialized for other uses Specialized standards met other needs –Change tracking in Word, annotating manuscripts, … XML seeks to unify these threads –One standard format for printing, viewing, processing

Goals of XML Metalanguage –A toolkit for design markup languages Unambiguous markup –Clear span of tags Separate markup from presentation –Style info => stylesheet, so easy to change Be simple

A Family of Standards Definition: DTD –Names known types of entities with “labels” –Defines part-whole and is-a relationships Markup: XML –“Tags” regions of text with labels Markup: XLink –Defines “hypertext” (and other) link relationships Presentation: XSL –Specifies how each type of entity should be “rendered”

Some XML Applications Text Encoding Initiative –For adding annotation to historical manuscripts – Encoded Archival Description –To enhance automated processing of finding aids – Metadata Encoding and Transmission Standard –Bundles descriptive and administrative metadata –

The Gullibility of Human Senses Three simple tricks for producing –Images –Video –Audio But… how do you move the bits around fast enough?

Seurat, Georges, A Sunday Afternoon on the Island of La Grande Jatte

Visual Perception Closely spaced dots appear solid –But irregularities in diagonal lines can stand out Any color can be produced from just three –Red, Blue and Green: “additive” primary colors High frame rates produce apparent motion –Smooth motion requires about 24 frames/sec Visual acuity varies markedly across features –Discontinuities easily seen, absolutes less crucial

Basic Image Coding Raster of picture elements (pixels) –Each pixel has a “color” Binary - black/white (1 bit) Grayscale (8 bits) Color (3 colors, 8 bits each) –Red, green, blue Screen –A 1024x768 image requires 2.4 MB So a picture is worth 400,000 words!

Monitor Characteristics Technology (CRT, Flat panel) Size (15, 17, 19, 21 inch) –Measured diagonally –For CRT, key figure is “viewable area” Resolution –640x480, 800x600, 1024x768, 1280x1024 pixels Layout (three dot, lines) Dot pitch (0.26, 0.28) Refresh rate (60, 72, 80 Hz)

Some Questions How many images can a 64 MB flash card store? –But mine holds 120. How? How long will it take to send an image at 64kb/s? –But my Web page loads faster than that. How? But in reality images don’t have these problems –How do we get around these problems?

Compression Goal: reduce redundancy –Send the same information using fewer bits Originally developed for fax transmission –Send high quality documents in short calls Two basic strategies: –Lossless: can reconstruct exactly –Lossy: can’t reconstruct, but looks the same

Palette Selection Opportunity: –No picture uses all 16 million colors –Human eye does not see small differences Approach: –Select a palette of 256 colors –Indicate which palette entry to use for each pixel –Look up each color in the palette … …

Run-Length Encoding Opportunity: –Large regions of a single color are common Approach: –Record # of consecutive pixels for each color An example of lossless encoding

GIF Palette selection, then lossless compression Opportunity: –Common colors are sent more often Approach: –Use fewer bits to represent common colors 1Blue75%75x1= 7575x2=150 01White20%20x2= 4020x2= Red 5% 5x3= 15 5x2=

JPEG Opportunity: –Eye sees sharp lines better than subtle shading Approach: –Retain detail only for the most important parts –Accomplished with Discrete Cosine Transform Allows user-selectable fidelity Results: –Typical compression 20:1

Variable Compression in JPEG 37 kB (20%)4 kB (95%)

Discussion Point: JPEG vs. GIF in Web images Which format should I use for images in my Web pages? Color photos Scanned black & white text Line drawings

Hands-On Exercise: Convert Between Formats Download and save two images – – Use Microsoft Paint to convert each to the other format, and compare quality and the size Why the difference?

Discussion Point: When is Lossless Compression Important? For images? For text? For sound? For video?

Basic Video Coding Display a sequence of images –Fast enough for smooth motion and no flicker NTSC Video –60 “interlaced” half-frames/sec, 512x486 HDTV –30 “progressive” full-frames/sec, 1280x720

Video Compression Opportunity: –One frame looks very much like the next Approach: –Record only the pixels that change Standards: –MPEG-1: Web video (file download) –MPEG-2: HDTV and DVD –MPEG-4: Web video (streaming)

Basic Audio Coding Sample at twice the highest frequency –One or two bytes per sample Speech (0-4 kHz) requires 8 kB/s –Standard telephone channel (1-byte samples) Music (0-22kHz) requires 88 kB/s –Standard for CD-quality audio (2-byte samples)

Speech Compression Opportunity: –Human voices vary in predictable ways Approach: –Predict what’s next, then send only any corrections Standards: –Real audio can code speech in 6.5 kb/sec Demo at –Scroll down to near the bottom

How do MP3s work? Opportunity: –The human ear cannot hear all frequencies at once, all the time Approach: –Don’t represent things that the human ear cannot hear

Human Hearing Response Experiment: Put a person in a quiet room. Raise level of 1kHz tone until just barely audible. Vary the frequency and plot the results.

Frequency Masking Experiment: Play 1kHz tone (masking tone) at fixed level (60db). Play test tone at a different level and raise level until just distinguishable. Vary the frequency of the test tone and plot the threshold when it becomes audible.

Temporal Masking If we hear a loud sound, then it stops, it takes a while until we can hear a soft tone at about the same frequency.

Putting it all together… Psychoacoustic compression: –Eliminate sounds below threshold of hearing –Eliminate sounds that are frequency masked –Eliminate sounds that are temporally masked –Eliminate stereo information for low frequencies

Transmission Download –Transfer the whole file, then start replay –Can be very slow for large files Streaming –Play the file as it is received Also suitable for live broadcasts –Requires a sufficiently fast connection

The “Last Mile” Traditional modems –“56” kb/sec modems really move ~3 kB/sec Digital Subscriber Lines –384 kb/sec downloads (~38 kB/sec) –128 kb/sec uploads (~12 kB/sec) Cable modems –10 Mb/sec downloads (~1 MB/sec) –256 kb/sec uploads (~25kB/sec)

Streaming Audio and Video Begins replay after only a portion received Buffer provides time to recover lost packets Interrupts replay when “rebuffering” Media Sever Internet Buffer

Hands On: RealPlayer View streaming real video – Select “Tools/Playback statistics” Pay attention to bandwidth and lost packets

Narrated PowerPoint Create your slides Slide Show -> Record Narration –Set microphone level Record the narration –Slide transitions are automatically captured Narration plays automatically when displayed

Adding Video to PowerPoint Insert->Movies and Sounds –Movies from file (a.mpg file) Decide whether you want autostart –If not, it starts when you click on it

Illustrating RealAudio Create a.ram file –URL for the RealAudio –Dimensions of the picture –URL for the picture

Synchronizing Multiple Media Scripting Languages –Synchronized Multimedia Integration Language (SMIL) Custom applications –Macromedia Flash Content representation standards –MPEG 4

SMILe W3C standard –Player-specific extensions are common XML, with a structure similar to HTML …

Elements in SMIL Window controls (in ) –Controlling layout:, Timeline controls (in ) –Sequence control:,, –Timing control:,, Content types (in ) –,,,

SMIL Examples Implemented in RealOne Player Example: –First, run the executable –Then, view.smil file

Before You Go! On a sheet of paper (no names), answer the following question: What was the muddiest point in today’s class?