delivering video on the web | html 5 & flash

85
Video on the Web [email protected] twitter.com/NickFloro Delivering .org A focus on HTML 5 & Flash

Upload: nick-floro

Post on 09-May-2015

926 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Delivering Video on the Web | HTML 5 & Flash

Video on the Web

[email protected]/NickFloro

Delivering

.org

A focus on HTML 5 & Flash

Page 2: Delivering Video on the Web | HTML 5 & Flash

A file that tells the computer what kind of media to present and when to present it.

• Video• Audio• Text• Flash• Interactivity• Tracks

Flash & HTML 5

Page 3: Delivering Video on the Web | HTML 5 & Flash

1991

Page 4: Delivering Video on the Web | HTML 5 & Flash

1999

Page 5: Delivering Video on the Web | HTML 5 & Flash
Page 6: Delivering Video on the Web | HTML 5 & Flash
Page 7: Delivering Video on the Web | HTML 5 & Flash
Page 8: Delivering Video on the Web | HTML 5 & Flash

The Web Platform is Accelerating

Page 9: Delivering Video on the Web | HTML 5 & Flash

One video to play everywhere.

Page 10: Delivering Video on the Web | HTML 5 & Flash
Page 11: Delivering Video on the Web | HTML 5 & Flash
Page 12: Delivering Video on the Web | HTML 5 & Flash

ß

Page 13: Delivering Video on the Web | HTML 5 & Flash
Page 14: Delivering Video on the Web | HTML 5 & Flash

Capture to delivery and beyondThe Production Process

Authoring DeliveryVideo / Audio Assets Compression

Page 15: Delivering Video on the Web | HTML 5 & Flash

QuickTime takes you from capture to delivery and beyondA Complete Solution

Delivery

Edit and Compose Playback

Capture Archive

Page 16: Delivering Video on the Web | HTML 5 & Flash

Standards Are Everywhere

MPEG-1/MPEG-4

audio

MPEG-2RedBook JPEGAC-3FM DVNTSC/

PAL

Page 17: Delivering Video on the Web | HTML 5 & Flash

Video

Page 18: Delivering Video on the Web | HTML 5 & Flash

• Original DV 60 sec 266mb

• MPEG-4 = 450k to 7.8mb

• Flash 8+ = 450k to 7.8mb

• 60 minutes of Video = 16gb

• 60 minutes compressed = 480mb

MPEG-4: The MPEG for the InternetThe standard for the digital media revolution

Page 19: Delivering Video on the Web | HTML 5 & Flash

PixelsGuidelines for Compression

DV 720 x 486

720P 1280 x 720

HD 1080i 1920 x 1080

Page 20: Delivering Video on the Web | HTML 5 & Flash

Content PlacementGuidelines for Compression

320 x 240

Page 21: Delivering Video on the Web | HTML 5 & Flash

Selecting a SizeGuidelines for Compression

320 x 240

512 x 384

640 x 480

Page 22: Delivering Video on the Web | HTML 5 & Flash
Page 23: Delivering Video on the Web | HTML 5 & Flash
Page 24: Delivering Video on the Web | HTML 5 & Flash
Page 25: Delivering Video on the Web | HTML 5 & Flash
Page 26: Delivering Video on the Web | HTML 5 & Flash
Page 27: Delivering Video on the Web | HTML 5 & Flash

Frame RateGuidelines for Compression

29.97 fps

Page 28: Delivering Video on the Web | HTML 5 & Flash

Frame RateGuidelines for Compression

29.97 fps 15 fps

Page 29: Delivering Video on the Web | HTML 5 & Flash

Tips & Hints

Key Frames: 4 x fps

Guidelines for Compression

Page 30: Delivering Video on the Web | HTML 5 & Flash

Guidelines for Compression2 Pass Variable Bit Rate

Page 31: Delivering Video on the Web | HTML 5 & Flash

Guidelines for Compression2 Pass Variable Bit Rate

Page 32: Delivering Video on the Web | HTML 5 & Flash

Tips & Hints

• Frame Rate: 15 fps– Key Frames: 4 x fps

• 2 Pass Variable Bit Rate

• QuickTime: Sorenson 3 / MPEG 4 / H264

• Flash: Spark / On2 Pro / H264

Guidelines for Compression

Page 33: Delivering Video on the Web | HTML 5 & Flash

Easy Access to VideoFlip $100 to $200

Page 34: Delivering Video on the Web | HTML 5 & Flash

Audio

Page 35: Delivering Video on the Web | HTML 5 & Flash

Selecting a MicrophoneUSB Connects Directly to Computer

Samson CO1U USB Condenser Microphone $70

Logitech USB Desktop Microphone $20

Logitech ClearChat Pro USB Headset $40

Blue Microphones Yeti USB Microphone $149

Blue Microphones Snowball USB Microphone $89

Page 36: Delivering Video on the Web | HTML 5 & Flash

Audacity http://audacity.sourceforge.net/

EasyVoipRecorder Recorder (Windows) http://www.easyvoiprecorder.org/

Hot Recorder (Windows) http://www.hotrecorder.com/

Call Recorder (Mac OS X) http://www.ecamm.com/mac/callrecorder/

SkypeRecord Directly

Page 37: Delivering Video on the Web | HTML 5 & Flash

Stereo or MonoGuidelines for Compression

Page 39: Delivering Video on the Web | HTML 5 & Flash

• 11mb 16bit 44khz Stereo

• 2.8mb 16bit 22khz Mono

• 500k MP3 64k 44khz Mono

Compressing Audio60 Seconds

Page 40: Delivering Video on the Web | HTML 5 & Flash

Compressing Audio60 Minutes

30mb660mb60 minutes Compressed MP3 Audio

60 minutes of Uncompressed Audio

Page 41: Delivering Video on the Web | HTML 5 & Flash
Page 42: Delivering Video on the Web | HTML 5 & Flash

Podcasts on the GoAudioBoo & iPhone

Page 43: Delivering Video on the Web | HTML 5 & Flash

Tips & Hints

• 16 bit Mono 22 khz

• MP3 64kbit/s Mono 22khz

Guidelines for Compression

Page 44: Delivering Video on the Web | HTML 5 & Flash

Setting up a StudioCosts

Computer $1,199 Software $994 Camera / Studio $1,470

Premiere CS4 $699 or Final Cut $995

Boris Chroma FX $295

Sanyo HD $400 16gb Video SD $55

Green Screen $200

Lavalier Microphone $295Tripod $125

Flood Lighting $395

Apple iMac $1,199

MacBook Pro $1,199

Page 45: Delivering Video on the Web | HTML 5 & Flash

Percentage of Browser Enabled ViewersBrowser Technologies

Adobe Flash Player

Microsoft Windows Media Player

Apple QuickTime Player

0 25 50 75 100

67.7

83.4

99.1

Page 46: Delivering Video on the Web | HTML 5 & Flash

New Form FactorsDelivering Content Everywhere

Page 47: Delivering Video on the Web | HTML 5 & Flash

Select a format for deliveryFlash vs HTML5

Flash H264 / Google WebMMPEG 4

Page 48: Delivering Video on the Web | HTML 5 & Flash

Fast StartWeb Delivery: HTTP Streaming

Development Standard Web Server

Clients

Page 49: Delivering Video on the Web | HTML 5 & Flash
Page 50: Delivering Video on the Web | HTML 5 & Flash
Page 51: Delivering Video on the Web | HTML 5 & Flash
Page 52: Delivering Video on the Web | HTML 5 & Flash

QuickTime Streaming ServerWeb Delivery: RTP/RTSP Streaming

Development Streaming Server Client

Web Server

Page 53: Delivering Video on the Web | HTML 5 & Flash

QuickTime Pro

Sorenson Squeeze

Telestream Episode

Final Cut Pro

Flash

Compressing Content

Page 54: Delivering Video on the Web | HTML 5 & Flash

Dozens of professional features

• Hint movies for streaming• Automate with AppleScript• Edit movie clips from digital

cameras• Convert and resize pictures• Enhance movies and stills with

filters and effects

QuickTime Pro

Page 55: Delivering Video on the Web | HTML 5 & Flash

HandBrakeOpenSource for Mac/Win/Linux

• MPEG-4• H.264

Page 56: Delivering Video on the Web | HTML 5 & Flash

One Tool for Everything

• MPEG-4• Flash SWF• Flash FLV• QuickTime• Real media• MPEG 1/2• MP3 Audio

Telestream Episode

Page 57: Delivering Video on the Web | HTML 5 & Flash

Authoring & Delivery

• Flash SWF• Flash FLV

Flash CS5

Page 58: Delivering Video on the Web | HTML 5 & Flash

NLE

• Batch• QuickTime• Effects• Filters• Tools

Final Cut

Page 59: Delivering Video on the Web | HTML 5 & Flash

Video Compression

Flash

Page 60: Delivering Video on the Web | HTML 5 & Flash

<!-- flash movie & bullets --> <div id="flashholder"> <div id="flash"> <script language="javascript"> if (AC_FL_RunContent == 0) { alert("This page requires AC_RunActiveContent.js."); } else { AC_FL_RunContent( 'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0', 'width', '320', 'height', '310', 'src', '../FLV_Player', 'quality', 'high', 'pluginspage', 'http://www.macromedia.com/go/getflashplayer', 'align', 'middle', 'play', 'true', 'loop', 'true', 'scale', 'showall', 'wmode', 'window', 'devicefont', 'false', 'id', 'FLV_Player', 'bgcolor', '#ffffff', 'name', 'FLV_Player', 'menu', 'true', 'allowFullScreen', 'false', 'allowScriptAccess','always', 'movie', '../FLV_Player', 'salign', '' ); //end AC code } </script> <noscript>

Page 61: Delivering Video on the Web | HTML 5 & Flash

// HTML 5 makes<video> as easyas <img>// HTML 5 makes <video> as easy as <img>

Page 62: Delivering Video on the Web | HTML 5 & Flash

HTML 5 OptionsVideo Compression

Flash H264MPEG 4

Ogg Theora WebM

Page 63: Delivering Video on the Web | HTML 5 & Flash

<video src="http://example.com/myMovie.ogg" controls>Your browser does not support the video element.</video>

Embedding Video

Page 64: Delivering Video on the Web | HTML 5 & Flash

<video controls><source src="foo.ogg" type="video/ogg"><source src="foo.mp4">Your browser does not support the video element.</video>

var v = document.getElementsByTagName("video")[0];v.play();

Embedding Video

Page 66: Delivering Video on the Web | HTML 5 & Flash
Page 67: Delivering Video on the Web | HTML 5 & Flash

Client Installation

Page 68: Delivering Video on the Web | HTML 5 & Flash

Installing Flash

Page 69: Delivering Video on the Web | HTML 5 & Flash

Resources

Page 70: Delivering Video on the Web | HTML 5 & Flash

Create Your Own YouTubeResources

http://www.onlamp.com/pub/a/php/2007/05/24/creating-mytube-with-flex-and-php.html?page=1

Page 71: Delivering Video on the Web | HTML 5 & Flash

QuickTime: Visual QuickStart Guide

• For Windows and Macintosh

• Judith Stern & Robert Lettieri

Resources

Page 73: Delivering Video on the Web | HTML 5 & Flash

http://www.telestream.net/episode/overview.htm

Page 74: Delivering Video on the Web | HTML 5 & Flash

http://www.telestream.net/flip4mac-wmv/overview.htm

Page 78: Delivering Video on the Web | HTML 5 & Flash

Screencasts 101 Mini-Session

www.jingproject.com

Page 82: Delivering Video on the Web | HTML 5 & Flash

http://www.flickr.com/photos/fraserspeirs/sets/72157623224262135/

Page 83: Delivering Video on the Web | HTML 5 & Flash

www.twitter.com

Page 85: Delivering Video on the Web | HTML 5 & Flash

Thank You

Nick Florosealworks interactive studios

[email protected]

twitter.com/NickFloro

Download the Presentation at:http://www.slideshare.net/nickfloro