Intro to Compression: Audio and Video Optimization for Learning

84
Video & Audio [email protected] Twitter.com/NickFloro Introduction to Compressing Are you on Twitter? Why not? Join today and participate in the conference backchannel #mlearningdevcon Flash & HTML5

description

Learn how to compress audio and video for delivery to desktop and mobile devices today. Learn how to use HTML5 and Flash as well as best practices from editing, compression and delivery of content.

Transcript of Intro to Compression: Audio and Video Optimization for Learning

Page 1: Intro to Compression: Audio and Video Optimization for Learning

Video & Audio

[email protected]/NickFloro

Introduction to Compressing

Are you on Twitter? Why not?Join today and participate in the conference backchannel #mlearningdevcon

Flash & HTML5

Page 2: Intro to Compression: Audio and Video Optimization for Learning

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: Intro to Compression: Audio and Video Optimization for Learning

1991

Page 4: Intro to Compression: Audio and Video Optimization for Learning

1999

Page 5: Intro to Compression: Audio and Video Optimization for Learning
Page 6: Intro to Compression: Audio and Video Optimization for Learning
Page 7: Intro to Compression: Audio and Video Optimization for Learning
Page 8: Intro to Compression: Audio and Video Optimization for Learning

Capture to delivery and beyondThe Production Process

Authoring DeliveryVideo / Audio Assets Compression

Page 9: Intro to Compression: Audio and Video Optimization for Learning

QuickTime takes you from capture to delivery and beyondA Complete Solution

Delivery

Edit and Compose Playback

Capture Archive

Page 10: Intro to Compression: Audio and Video Optimization for Learning

ß

Page 11: Intro to Compression: Audio and Video Optimization for Learning
Page 12: Intro to Compression: Audio and Video Optimization for Learning

Standards Matter

MP3/AAC

Player

SurroundSoundCD

DigitalCameraDVDStereo

VideoCameraHDTV

Page 13: Intro to Compression: Audio and Video Optimization for Learning

Standards Are Everywhere

MPEG-1/MPEG-4

audio

MPEG-2RedBook JPEGAC-3FM DVNTSC/

PAL

Page 14: Intro to Compression: Audio and Video Optimization for Learning

The foundation for all digital mediaFamily of MPEG Standards

MPEG-1VHS Quality

1.5 Mbps1992

MPEG-2DVD Quality

6 Mbps1994

MPEG-4Wireless, Internet

Scalable1998

Page 15: Intro to Compression: Audio and Video Optimization for Learning

Video

Page 16: Intro to Compression: Audio and Video Optimization for Learning

• 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 17: Intro to Compression: Audio and Video Optimization for Learning

PixelsGuidelines for Compression

DV 720 x 486

720P 1280 x 720

HD 1080i 1920 x 1080

Page 18: Intro to Compression: Audio and Video Optimization for Learning

Content PlacementGuidelines for Compression

320 x 240

Page 19: Intro to Compression: Audio and Video Optimization for Learning

Selecting a SizeGuidelines for Compression

320 x 240

512 x 384

640 x 480

Page 20: Intro to Compression: Audio and Video Optimization for Learning
Page 21: Intro to Compression: Audio and Video Optimization for Learning
Page 22: Intro to Compression: Audio and Video Optimization for Learning
Page 23: Intro to Compression: Audio and Video Optimization for Learning
Page 24: Intro to Compression: Audio and Video Optimization for Learning
Page 25: Intro to Compression: Audio and Video Optimization for Learning

Frame RateGuidelines for Compression

29.97 fps

Page 26: Intro to Compression: Audio and Video Optimization for Learning

Frame RateGuidelines for Compression

29.97 fps 15 fps

Page 27: Intro to Compression: Audio and Video Optimization for Learning

Tips & Hints

Key Frames: 4 x fps

Guidelines for Compression

Page 28: Intro to Compression: Audio and Video Optimization for Learning

Guidelines for Compression2 Pass Variable Bit Rate

Page 29: Intro to Compression: Audio and Video Optimization for Learning

Guidelines for Compression2 Pass Variable Bit Rate

Page 30: Intro to Compression: Audio and Video Optimization for Learning

Tips & Hints

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

• Data Rate Target 800-1200 kbs

• 2 Pass Variable Bit Rate

• QuickTime: Sorenson 3 / H264

• Flash: Spark / On2 Pro / H264

Guidelines for Compression

WebM

Page 31: Intro to Compression: Audio and Video Optimization for Learning

Easy Access to VideoFlip $100 to $200

Page 32: Intro to Compression: Audio and Video Optimization for Learning

Smart Phones

Page 33: Intro to Compression: Audio and Video Optimization for Learning

Audio

Page 34: Intro to Compression: Audio and Video Optimization for Learning

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 35: Intro to Compression: Audio and Video Optimization for Learning

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 36: Intro to Compression: Audio and Video Optimization for Learning

Stereo or MonoGuidelines for Compression

Page 38: Intro to Compression: Audio and Video Optimization for Learning

• 11mb 16bit 44khz Stereo

• 2.8mb 16bit 22khz Mono

• 500k MP3 64k 44khz Mono

Compressing Audio60 Seconds

Page 39: Intro to Compression: Audio and Video Optimization for Learning

Compressing Audio60 Minutes

30mb660mb60 minutes Compressed MP3 Audio

60 minutes of Uncompressed Audio

Page 40: Intro to Compression: Audio and Video Optimization for Learning
Page 41: Intro to Compression: Audio and Video Optimization for Learning

Podcasts on the GoAudioBoo & iPhone

Page 42: Intro to Compression: Audio and Video Optimization for Learning

Tips & Hints

• 16 bit Mono 22 khz

• MP3 64kbit/s Mono 22khz

Guidelines for Compression

Page 43: Intro to Compression: Audio and Video Optimization for Learning

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 44: Intro to Compression: Audio and Video Optimization for Learning

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 45: Intro to Compression: Audio and Video Optimization for Learning

New Form FactorsDelivering Content Everywhere

Page 46: Intro to Compression: Audio and Video Optimization for Learning

Select a format for deliveryFlash vs HTML5

Flash H264 / Google WebMMPEG 4

Page 47: Intro to Compression: Audio and Video Optimization for Learning

Fast StartWeb Delivery: HTTP Streaming

Development Standard Web Server

Clients

Page 48: Intro to Compression: Audio and Video Optimization for Learning
Page 49: Intro to Compression: Audio and Video Optimization for Learning
Page 50: Intro to Compression: Audio and Video Optimization for Learning
Page 51: Intro to Compression: Audio and Video Optimization for Learning

QuickTime Streaming ServerWeb Delivery: RTP/RTSP Streaming

Development Streaming Server Client

Web Server

Page 52: Intro to Compression: Audio and Video Optimization for Learning

QuickTime Pro

Sorenson Squeeze

Telestream Episode

Final Cut Pro

Flash

Compressing Content

Page 53: Intro to Compression: Audio and Video Optimization for Learning

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 54: Intro to Compression: Audio and Video Optimization for Learning

HandBrakeOpenSource for Mac/Win/Linux

• MPEG-4• H.264

Page 55: Intro to Compression: Audio and Video Optimization for Learning

One Tool for Everything

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

Telestream Episode

Page 56: Intro to Compression: Audio and Video Optimization for Learning

Authoring & Delivery

• Flash SWF• Flash FLV

Flash CS5

Page 57: Intro to Compression: Audio and Video Optimization for Learning

NLE

• Batch• QuickTime• Effects• Filters• Tools

Final Cut

Page 58: Intro to Compression: Audio and Video Optimization for Learning

Video Compression

Flash

Page 59: Intro to Compression: Audio and Video Optimization for Learning

<!-- 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 60: Intro to Compression: Audio and Video Optimization for Learning

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

Page 61: Intro to Compression: Audio and Video Optimization for Learning

HTML 5 OptionsVideo Compression

Flash H264MPEG 4

Ogg Theora WebM

Page 62: Intro to Compression: Audio and Video Optimization for Learning

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

Embedding Video

Page 63: Intro to Compression: Audio and Video Optimization for Learning

<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 64: Intro to Compression: Audio and Video Optimization for Learning

Resources

Page 65: Intro to Compression: Audio and Video Optimization for Learning

Compression for Great Video and Audio, Master Tips and Common Sense

Page 67: Intro to Compression: Audio and Video Optimization for Learning

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

Page 70: Intro to Compression: Audio and Video Optimization for Learning

Screencasts 101 Mini-Session

www.jingproject.com

Page 72: Intro to Compression: Audio and Video Optimization for Learning
Page 73: Intro to Compression: Audio and Video Optimization for Learning
Page 74: Intro to Compression: Audio and Video Optimization for Learning
Page 75: Intro to Compression: Audio and Video Optimization for Learning
Page 76: Intro to Compression: Audio and Video Optimization for Learning
Page 80: Intro to Compression: Audio and Video Optimization for Learning

www.twitter.com

Page 82: Intro to Compression: Audio and Video Optimization for Learning

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

Page 83: Intro to Compression: Audio and Video Optimization for Learning

www.launchcycle.com

Page 84: Intro to Compression: Audio and Video Optimization for Learning

Thank You

Nick Florosealworks interactive studios

[email protected]

twitter.com/NickFloro

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