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.
29.1 Chapter 29 Multimedia Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Digital Media Dr. Jim Rowan ITEC 2110 Video. Works because of persistence of vision Fusion frequency –~ 40 frames.
Eee116j1 1 Digital Information Engineering Science EEE116J1 Prof Paul Maguire w.
V Summer workshop in Guildford County, July, 2014.
Week 4 LBSC 690 Information Technology Multimedia.
Week 4 LBSC 690 Information Technology Multimedia.
Structured Documents Week 3 LBSC 690 Information Technology.
Week 4 LBSC 690 Information Technology Multimedia.
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.
Structured Documents Week 3 LBSC 690 Information Technology.
CSc 461/561 CSc 461/561 Multimedia Systems 0. Introduction.
LBSC 690: Week 9 Multimedia Jimmy Lin College of Information Studies University of Maryland Monday, April 2, 2007.
TCP/IP Protocol Suite 1 Chapter 25 Upon completion you will be able to: Multimedia Know the characteristics of the 3 types of services Understand the methods.
1 The World Wide Web. 2  Web Fundamentals  Pages are defined by the Hypertext Markup Language (HTML) and contain text, graphics, audio, video and software.
 Wisegeek.com defines Data Compression as:  “Data compression is a general term for a group of technologies that encode large files in order to shrink.
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.
1 Kingdom of Saudi Arabia Prince Norah bint Abdul Rahman University College of Computer Since and Information System NET201.
Using Multimedia on the Web
CIS679: RTP and RTCP r Review of Last Lecture r Streaming from Web Server r RTP and RTCP.
Chapter 1 Variables in the Web Design Environment.
Chapter 14-Designing for the World Wide Web. Overview Introducing multimedia on the Web. Designing text for the Web. Creating images for the Web. Adding.
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
Content Management Systems Week 5 LBSC 690 Information Technology.
Chapter 16 The World Wide Web. 2 The Web An infrastructure of information combined and the network software used to access it Web page A document that.
Discovering Computers 2010 Chapter 2 The Internet and World Wide Web.
Video Basics. Agenda Digital Video Compressing Video Audio Video Encoding in tools.
XML Week 6 INFM 603. Agenda Questions Events in JavaScript XML Speed dating.
XHTML Introductory1 Linking and Publishing Basic Web Pages Chapter 3.
Announcements Chapter 11 for today No quiz this week Instructor got behind…. We'll be back in MGH389 on Friday.
1 Perception, Illusion and VR HNRS 299, Spring 2008 Lecture 14 Introduction to Computer Graphics.
Multimedia and The Web.
Multimedia Elements: Sound, Animation, and Video.
1 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt Media.
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.
Class 13 LBSC 690 Information Technology More Multimedia Compression and Recognition, and Social Issues.
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.
INTERNET. Objectives Explain the origin of the Internet and describe how the Internet works. Explain the difference between the World Wide Web and the.
What Exactly is Television?  A process of transmitting images through a signal from one place or another.
LECTURE 07 RAZIA NISAR NOORANI Digital Video. Basic Digital Video Concepts CS118 – Web Engineering 2 Movie length Frame size Frame rate Quality Color.
CSC Computing with Images1 File formats for images on the web CSC 1040.
Class 9 LBSC 690 Information Technology Multimedia.
The Digital Revolution Changing information. What is Digital?  Discrete values used for  Input  Processing  Transmission  Storage  Display  Derived.
Web Design and Development. World Wide Web  World Wide Web (WWW or W3), collection of globally distributed text and multimedia documents and files 
MULTIMEDIA Multimedia is the field concerned with the computer- controlled integration of text, graphics, drawings, still and moving images (Video), animation,
WEB GRAPHICS EXPLORING COMPUTER SCIENCE - LESSON 3-4.
Software Design and Development Storing Data Part 2 Text, sound and video Computing Science.
Component 1.9 Security and Data Management
OCR Computing for GCSE © Hodder Education 2011
Project 1 Introduction to HTML.
Week 4 LBSC 690 Information Technology
Data Compression.
Remote Demos Remote Demo.
short term and long term speed, capacity, compression formats, access
OCR GCSE Computing © Hodder Education 2013 Slide 1
Digital Video Faraz Khan.
Presentation transcript:

Week 4 LBSC 690 Information Technology Multimedia

Agenda Questions Muddiest Points XML Images Audio Transmission Project teams

Muddiest Points Using other people’s pages Using FTP to get a Web page someplace Internal anchors Structure vs. appearance

What’s Wrong with the Web? HTML –Confounds structure and appearance (XML) HTTP –Can’t recognize related transactions (Cookies) URL –Links breaks when you move a file (PURL)

Discussion Point: Describing the Structure of Text Entities –Span –Type/Attributes Relationships –Part-whole –Is-a

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 Meta language –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”

XML Example View “The Song of the Wandering Aengus” – Built from three files –yeats01.xml –poem01.dtd –poem01.xsl

An XML Example The Song of Wandering Aengus W.B. Yeats I went on to the hazel wood, Because a fire was in my head, And cut and peeled a hazel wand,

Document Type Definition (DTD) #PCDATA span of text a,ba followed by b a|beither a or b a*0 or more a’s a+1 or more a’s

Specifying Appearance: XSL

An XLink Example …… <author xlink:href="yeatsRDFS3.xml“ xlink:type="simple">W. B. Yeats The Rose The Tower ……….

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 –

What’s Wrong with the Web? HTML –Confounds structure and appearance (XML) HTTP –Can’t recognize related transactions (Cookies) URL –Links breaks when you move a file (PURL)

Cookies Servers know users by IP address and port –Because that’s where they send the Web pages Cookies preserve “state” –Server sends data to the browser –Browser later responds with the same data A unique code (server-side state) Information about the user (client-side state)

Uniform Resource Names (URN) Persistent URLs ( – PURL Sever My Browser PURL URL Resource Sever URL Page

Summary Learning to build simple Web pages is easy –Which is good news for the homework! All documents are structured documents XML is a flexible markup language toolkits The key is to understand its capabilities –XML editors can hide much of the complexity

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? Photos text images drawings

Hands on Point: Convert between formats Load and save two images – – Download the two images, use MS photo editor convert each to the other format, and compare the quality and the size. Increase the compression rate for image1.jpg, and compare the quality

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

Music Compression Opportunity: –The human ear cannot hear all frequencies at once Approach: –Don’t represent “masked” frequencies Standard: MPEG-1 Layer 3 (.mp3)

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 Buffering a portion of audio/video Playing along with receiving Interrupted when Rebuffering. Media Sever Internet Buffer

Hands On: RealPlayer View streaming real video at Pay attention to buffering Look at the dropped packet statistics and the bandwidth monitor –Go to “Tools/playback statistics”

Project Teams of 3 –Best if you have complementary skills Solve a real problem –Choose the standard one, or invent your own Must integrate at least two technologies –Web, database, streaming media, programming

The Apollo Archives Text –Transcripts, press releases, manuals, flight plans, reports, books, oral histories Video –Launch, movie film, television, splashdown Audio –Radio, onboard recordings, interviews, press conferences Images –Preflight, launch, onboard, splashdown, postflight

Possible User Groups Museum visitors, in person General public, over the Web Children, on CDROM in school Historians, with a search system