Using Multimedia on the Web

Slides:



Advertisements
Similar presentations
Streaming Multimedia. What is streaming? Streaming media consists of sound and video, continuously “streamed” over the Internet.
Advertisements

2.02F Publishing Animated Videos 2.02 Develop Computer Animations.
Chapter 10 Video.
ITIS 1210 Introduction to Web-Based Information Systems Chapter 36 How Music and Audio Work on the Internet.
HTML 5 and CSS 3, Illustrated Complete Unit K: Incorporating Video and Audio.
Multimedia Systems As Presented by: Craig Tomastik.
1 Introduction to Computer Science بسم الله الرحمن الرحيم MULTIMEDIA LEVEL -9 King Khalid University Kingdom of Saudi Arabia Ministry of Higher Education.
Presents… “Best Encoding Practices” For use with.
3.02 Publishing Animations
INF Web Design Using Multimedia on the Web Video - Part 1.
Chapter 9 Integrating Video. Digital video is a series of bitmap images that, when played back, create the illusion of movement. The quality and overall.
Embedding Multimedia Content in WebPages Seth Subramanian.
EE442—Multimedia Networking Jane Dong California State University, Los Angeles.
SM5312 week 11: Flash Objects in HTML1 Flash Objects in HTML Nick Foxall.
Digital Video Teppo Räisänen LIIKE/OAMK. General Information Originally video material was processed using analog tools Nowadays it is common, that digital.
Tutorial 7 Working with Multimedia. XP Objectives Explore various multimedia applications on the Web Learn about sound file formats and properties Embed.
Streaming media over the Internet A million channels and there is still nothing on! By Samuel Shiffman Streaming Technologist Seton Hall University
Multimedia Elements Sound, Animation, and Video
Image Formation and Digital Video
I Power Multimedia Technology Video Data. Video data Video is a sequence of individual pictures or frames, taken one after another. These are played back.
Nat 4/5 - Software Design and Development – Low Level Operations - 1 National 4/5 – Computing Science Information Systems Design and Development Media.
Chapter Objectives Explain Web page multimedia issues
ITIS 1210 Introduction to Web-Based Information Systems Chapter 41 How Animation on the Web Works.
1 CMSCD1011 Introduction to Computer Audio Lecture 10: Streaming audio for Internet transmission Dr David England School of Computing and Mathematical.
Web Design, 3 rd Edition 6 Multimedia and Interactivity Elements.
Digital Video Basics CPSC 120 Principles of Computer Science April 16, 2012.
Chapter 15 Video. Importing Video Into Flash Once you import video into Flash MX 2004, you can control it using behaviors and very basic ActionScript,
INF Web Design Using Multimedia on the Web Sound - Part 2.
DIS Multimedia Productions Video On Demand March 14th 9:30-10:15 AM.
What are the common format for video files?
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition, Chapter 19/20: Real-time and Multimedia Systems Inclusions from Tanenbaum,
1 Lecture 12: Multimedia Not in Web 101 Text  Important Multimedia Issues  Audio  Movies and Video  Multimedia and HTML Documents.
 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,
2.02G Publishing Animated Videos 2.02 Develop Computer Animations.
Lights, Camera, Action! The Role of Multimedia in Web Applications Leading Multimedia Formats in Use Today What You Need to Know to Include Them in Your.
Tutorial 7 Working with Multimedia. XP Objectives Explore various multimedia applications on the Web Learn about sound file formats and properties Embed.
Audio and Video Curtis Thomas 385E Information Architecture and Design I.
Audio and Video on the Web Presentation by Cheryl Deas and Pasha Souvorin Multimedia for Web Designers.
GIF - Graphics Interchange Format JPEG - Joint Photographic Experts Group PNG - Portable Network Graphics GIF images are limited to the 8 bit palette which.
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.
Streaming Media A technique for transferring data on the Internet so it can be processed as a steady and continuous stream.
Chapter 16 Video. Importing Video Into Flash  Once you import video into Flash, you can control it using behaviors and very basic ActionScript, target.
LECTURE 07 RAZIA NISAR NOORANI Digital Video. Basic Digital Video Concepts CS118 – Web Engineering 2 Movie length Frame size Frame rate Quality Color.
HTML 5. Introduction In modern browsers, adding a video to your page is as easy as adding an image. No longer do you need to deal with special plug-ins.
Embedding Multimedia in Web Pages  Multimedia is a popular buzzword for sound, motion video, and interactive animation.  Some problems or obstacles.
Fs Streaming Media a presentation by Florian Seidel.
Chapter 10. The Role of Video in Multimedia  Any presentation or application that uses sound and graphics qualifies as multimedia  Clip A segment of.
VIDEO TECHNOLOGIES Iwan Sonjaya,ST.MMT,MT Computer and Informatics Engineering Dept. State Polytechnic Of Jakarta Computer and Informatics Engineering.
What is Video in Multimedia. Video Video, like sound, is recorded and played an as analog signal Analog video must be digitized in order for it to put.
California State University, LA Presented by Amanda Steven StevenAamirObaid.
Video Data Topic 4: Multimedia Technology. What is Video? A video is just a collection of bit-mapped images that when played quickly one after another.
Information Systems Design and Development Media Types Computing Science.
Chapter 8 Adding Multimedia Content to Web Pages HTML5 & CSS 7 th Edition.
Adobe Flash Professional CS5 – Illustrated Unit E: Optimizing and Publishing a Movie.
CHAPTER 8 Multimedia 1. Using Multimedia ❖ Multimedia: the combination of text, sound, and video to express an idea or convey a message. ❖ Podcasts: a.
Software Design and Development Storing Data Part 2 Text, sound and video Computing Science.
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
VIDEO.
Web Programming– UFCFB Lecture 8
"Digital Media Primer" Yue-Ling Wong, Copyright (c)2013 by Pearson Education, Inc. All rights reserved.
Digital TV..
3.02 Publishing Animations
2.02G Publishing Animated Videos
2.02F Publishing Animated Videos
3.01F Publishing Animated Videos
Overview What is Multimedia? Characteristics of multimedia
Web Programming– UFCFB Lecture 8
Digital Video Faraz Khan.
Presentation transcript:

Using Multimedia on the Web INF 240 - Web Design Using Multimedia on the Web Video - Part 2

Many of the same technologies that have improved the experience of receiving audio over the Web have been applied to video as well. E.g. streaming video.

As with audio, we have the option of simply linking a video to the Web page for download and playback, or choosing from a number of streaming technologies. Many of the principles for developing and delivering video content for the Web are the same as those for audio. - In fact, some of the file formats are the same as well, such as QuickTime, and Windows Media. Like audio, video may be in analog or digital formats. - To use video in a multimedia application for the Web, it must be in digital form.

Digital Video Digital video - a sequence of raster (aka bit-mapped) images (i.e. frames) displayed in rapid succession at a constant rate to create the impression of movement. Some characteristics of video: Frame size = width x height in pixels (E.g. 640 x 480 pixels) Frame rate = number of frames displayed per second (e.g. between 12-30 fps - depending on application.) Colour Depth – number of bits used to describe a colour pixel - 24 bits.

Illustration of video frames Frame Sequence

Uncompressed video requires many megabytes per second. E.g. Digital video, frame size 640 x 480 pixels, 24-bit colour, 30 fps ≈ 22 MB per second ≈ 1.3 GB per minute of video Need for compression!

Making choices - Optimization Need to make two major decisions about how to present video on the Web: 1. Format: Do you want to present your media in QuickTime, Windows Media or another format? - Each format has its own strengths and weaknesses. - Flash is currently the standard.

2. Compression Methods: Once you have chosen a format, you will need to decide how much to compress the video. - The more you compress, the smaller the file sizes will be, and the easier it will be for users with slow Internet connections to access the video. Most compression schemes are lossy, e.g. MPEG, and use complicated algorithms that remove data for sound and image detail that is not discernible to the human ear or eye.

Within each Frame  Spatial Compression Compression Techniques for Video Video is basically the same as a still image/picture, although, in video, there are lots of images. Video data contains Spatial and Temporal compressions How does video compression work? Within each Frame  Spatial Compression Between Frames  Temporal Compression

Spatial – treats each frame as an independent image. Spatial versus Temporal Compression Spatial – treats each frame as an independent image. Compress each frame individually. Uses the same techniques as JPEG image compression. Temporal Saves all information for selected frames only (called keyframes – usually selected to be about 3 secs. apart). For all other frames, saves the differences from the previous keyframe. Good when the difference between current frame and keyframe is small.

The keyframes are used as “masters” against which the subsequent frames are compared. Videos without a lot of motion, such as talking head clips, take the best advantage of temporal compression . Videos with pans and other motion are compressed less efficiently.

K D D D K D D D Frame sequence K = keyframe D = difference frame

Video Codecs There are a number of codecs (aka compression/decompression algorithms) that can be used to compress video files for the Web. Many of these codecs can be applied to several different file formats.

Video (like audio) on a Web page may be delivered over a network - as a downloaded file - as a streamed file - as a progressive download (psuedo-streamed) file

When video is streamed, it is played as it arrives. Streaming allows live video broadcasts, but requires sufficient bandwidth to deliver the video frames fast enough to be played. Progressive download means that the video starts playing when the time taken to download the remaining frames of the video is less than the time it will take to play the whole video.

The popularity and power of the Flash browser plug-in and standalone Flash Player made Flash an alternative for custom players and interactive media. However, HTML 5 + CSS 3 have features to provide an alternative to Flash. And Adobe have stopped supporting Flash in favour of HTML 5 + CSS 3 www.webmonkey.com/blog/Adobe_Fights_Off_HTML5_Threat_With_New_Flash_Player_10DOT1 www.ibm.com/developerworks/library/x-html5/?ca=dgr-lnxw01NewHTML

Two types of Video Transfer HTTP RTSP Video Transfer for the Web Two types of Video Transfer HTTP Hypertext Transfer Protocol RTSP Real-Time Streaming Protocol Download the video from the host (server) to the user’s computer in its entirety before playing. Played in real time on the user’s computer in a process called “streaming”. RTSP allows the user to perform tasks such as pause and play

Video, just like audio, may be delivered over a network as a downloaded file, or it may be streamed or it may be delivered by progressive download. Progressive download

Streaming Video Videos may be downloaded (via HTTP) or streamed using a number of streaming server software packages, including the QuickTime, Windows Media and Flash Streaming servers. Example (using a Flash streamer) http://www.edenhouse.com/

Streaming Video in Web Pages As in audio, streaming video is added to Web pages via linked or embedded reference files (also known as metafiles). The process is exactly the same for video as for audio. Flash became pre-dominate for streaming video.

Viewing Video on the Web (applies to Audio as well) Summary: Files downloaded to the user's computer, and only then begin to play. Large files, long wait times  Progressive download. A click begins the download, but after some portion had been downloaded, the movie would start to play, The player (e.g. Windows Media Player) calculates the speed of the download, and guesses when to start playing the portion it has. The plan is to start late enough that the whole movie will be downloaded by the time you finish watching it. True Streaming: File is not downloaded at all - media begins to play as soon as it gets the first packets of video data. Fastest but requires that the server be set up to serve streaming media Reduces waiting time required of the user Drawback: congestion on Internet may cause the media to stall, if the downloading process cannot keep up with the playback process. 

Questions?