Video Streaming in Flash CSCI 4220 – Network Programming Kacper Harabasz.

Slides:



Advertisements
Similar presentations
Techniques for Creating Accessible, Closed Captioned Web-Based Video California State University - Northridge 22nd Annual International Technology and.
Advertisements

Concepts & Techniques for Accessible, Closed Captioned Web-Based Video 10th Annual Accessing Higher Ground: Accessible Media, Web and Technology Conference.
Streaming Multimedia. What is streaming? Streaming media consists of sound and video, continuously “streamed” over the Internet.
2.02F Publishing Animated Videos 2.02 Develop Computer Animations.
ITIS 1210 Introduction to Web-Based Information Systems Chapter 36 How Music and Audio Work on the Internet.
Adobe Flash CS4 – Illustrated Unit E: Optimizing and Publishing a Movie.
Video Streaming Services Justin Hourigan, Senior Network Engineer, HEAnet Limited
1 Introduction to Computer Science بسم الله الرحمن الرحيم MULTIMEDIA LEVEL -9 King Khalid University Kingdom of Saudi Arabia Ministry of Higher Education.
Sounds, Images & Other Objects Website Production.
Presents… “Best Encoding Practices” For use with.
DIS Multimedia Productions Flash Video Streaming June 5, 2007.
EE442—Multimedia Networking Jane Dong California State University, Los Angeles.
Quicktime Howell Istance School of Computing De Montfort University.
SM5312 week 11: Flash Objects in HTML1 Flash Objects in HTML Nick Foxall.
Streaming media over the Internet A million channels and there is still nothing on! By Samuel Shiffman Streaming Technologist Seton Hall University
Adventures in Information Adding Video to Your Web Site February 24, 1999 Eileen Flick Information Services Division.
                      Digital Video 1.
STREAMING MEDIA Kim Stanton, UNT Tech Talk, 12/5/2007.
Flash Video Flash ActionScript 3.0 Introduction to Thomas Lövgren, Flash developer
May Melissa Albo #1 Sagrario Casillas #4 Angela Durán #8 Daniela Martínez #16.
Chapter Objectives Explain Web page multimedia issues
ITIS 1210 Introduction to Web-Based Information Systems Chapter 41 How Animation on the Web Works.
Task 2 P3, P4, P5 Gladys Nzita-Mak.
Paul Trani Adobe Certified Instructor/Expert Resources:
IT Website Development Welcome!. Welcome to Unit 7! Optimizing Images and creating photo albums in Dreamweaver There are no textbook readings for.
Using Multimedia on the Web
1 CMSCD1011 Introduction to Computer Audio Lecture 10: Streaming audio for Internet transmission Dr David England School of Computing and Mathematical.
HOW TO DOWNLOAD A VIDEO FROM YOUTUBE JANUARY 9, 2012.
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.
Computer Concepts 2014 Chapter 7 The Web and .
Unit 30 P1 – Hardware & Software Required For Use In Digital Graphics
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.
YouTube Google Video & LimeWire. YouTube founded by Chad Hurley,, Steve Chen, and Jawed Karim (former employees of PayPal) on February 15, 2005 free uploads,
XP New Perspectives on Browser and Basics Tutorial 1 1 Browser and Basics Tutorial 1.
1 Lecture 12: Multimedia Not in Web 101 Text  Important Multimedia Issues  Audio  Movies and Video  Multimedia and HTML Documents.
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.
2.02 Develop Computer Animations Review By: Adam Garcia,Christian Brown, Richard Williams, Tyler Borden.
Chapter 13-Tools for the World Wide Web. Overview Web servers. Web browsers. Web page makers and site builders. Plug-ins and delivery vehicles. Beyond.
1 How Streaming Media Works Bilguun Ginjbaatar IT 665 Nov 14, 2006.
Audio and Video on the Web Presentation by Cheryl Deas and Pasha Souvorin Multimedia for Web Designers.
CHAPTER TEN AUTHORING.
London April 2005 London April 2005 Creating Video Ads The Rich Media Platform The Rich Media Platform Eyeblaster.
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.
Optimizing Bandwidth Utilization Defiana Arnaldy, M.Si
 Persistence of Vision-The way our eyes retain images for a split second longer than they actually appear, making a series of quick flashes appear as.
Multimedia streaming Application Anandi Giridharan Electrical Communication Engineering, Indian Institute of Science, Bangalore – , India Querying.
Flash for CFers An Introduction to Rich Internet Application Development.
Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill Technology Education Chapter 8B Graphics and Multimedia.
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.
Introduction to Interactive Media Interactive Media Tools: Authoring Applications.
Fs Streaming Media a presentation by Florian Seidel.
1 A Basic Introduction to Flash. Outline What is a flash? Macromedia Flash MX 2004 Flash concepts Flash Demos Conclusion Additional help 2.
California State University, LA Presented by Amanda Steven StevenAamirObaid.
Adobe Flash Professional CS5 – Illustrated Unit E: Optimizing and Publishing a Movie.
Streaming Media. What is Streaming Media The delivery of audio, video and other multimedia content across the internet using streaming media servers.
Web Design, 5 th Edition 6 Multimedia and Interactivity Elements.
9.1 The Need for Integrating Data among Different Types of Software Tasks of composing a project.
Chapter 04: Specialized Application Software
Web Programming– UFCFB Lecture 8
BTEC NCF Dip in Comp - Unit 15 Website Development Lesson 05 – Website Performance Mr C Johnston.
2.02G Publishing Animated Videos
2.02F Publishing Animated Videos
Overview What is Multimedia? Characteristics of multimedia
Multimedia: making it Work
Lesson 5: Multimedia on the Web
Web Programming– UFCFB Lecture 8
Presentation transcript:

Video Streaming in Flash CSCI 4220 – Network Programming Kacper Harabasz

Challenges Video’s major problem is compression, which leads to many proprietary formats. Today’s major players are Microsoft, Real, Apple’s QuickTime, and now Flash.

Why Choose Flash? Other players can require video drivers on top of their players. For example DivX. Flash circumvents this by converting stream able media to its own format, which is better compressed and optimized for streaming, although at a loss to quality. It is really easy. Adobe has done most of the work for you.

Streaming in Flash Flash is Vector, not Bitmap based. Images are represented as a set of points and geometric figures, as opposed to pixels. Adobe is the ‘leader’ in both markets, with Photoshop (bitmap), Illustrator (vector), Director Suite (vector). Free alternates are The Gimp (bitmap) and Inkscape (vector).

Streaming in Flash Thanks to this vector representation, Flash can save considerable space over other formats. This is done by storing the representation of an image in the first frame of animation, and than having each successive frame hold information on how the vector changes. The actual codec belongs to Sorenson Media, and the product is called Sorenson Squeeze. Most other formats stream on a per pixel basis. Each pixel that changes from frame to frame must be sent in the stream.

Progressive Download Flash Player caches the media as it is downloaded from the destination. This is a very convincing imitation of streaming. Some Limitations are: –It cannot be used for live events, only stored video files. –It is less efficient than true streaming. –It cannot automatically adjust for the end user's connection speed. –It is not secure, the video file is saved on the end user's computer. –The end user cannot jump ahead to a later part of the video until it has downloaded.

Flash Media Server In Adobe’s own words, “The product is server based software which runs media applications developed for it with the Flash authoring tool.” Works by opening a "persistent connection" between the server and client. In a normal server/client relationship the client sends periodic requests to the server as required. With a persistent connection the server and client are in constant, controlled contact. Handles Bandwidth detection, Player detection (flash version), Dynamic buffering, basically everything that usually gives network programmers a headache.

Case Study - YouTube Developed by Steve Chen, Chad Hurley, and Jawed Karim, while working at PayPal. Needed a way to post a video online after a party. At that time, there was no easy way to do it.

How is it done? When a user uploads a video to YouTube, an ‘agent’ processes the upload to produce a.flv (Flash Video File) using Adobe’s Video Encoder. Also, a still image is captured to represent the clip during search results and previews. A short char, randomly generated string serves as the ‘key’ for the media.

How is it done? Flash Player and Flash Media Server Player embedded into webpage. The embed calls a url, which is re-written to hit a script that converts the ‘key’ to the location of the media on the Flash Media Server. A new url is constructed, and the script forwards the original embed call to a Flash Player with the location of the media on the Flash Media Server.

How is it done? Now that it is correctly referencing the media, the Flash Player and Flash Media Server interact to stream the media. This is true streaming. Flash provides the classes that handle this interaction for the programmer.

Creating a Player Demonstration of a Progressive Download Streamer (Hey, Flash Media Server isn’t cheap!) Short Introduction to the Flash Environment. Explanation of Code.