Compressing Media for Mobile and Desktop Delivery with HTML5

73
Nick Floro [email protected] @NickFloro Compressing Media for mobile & desktop delivery HTML5 | Media Formats

description

In this session, a comprehensive introduction to video and audio compression, you’ll learn the best delivery standards for optimizing content delivery to mobile and desktop devices; the session will provide an overview of everything you need to know about editing, preparing, and delivering the highest-quality video and audio to your audience. We’ll discuss techniques and interactivity that can be added, as well as the latest standards and how you can take advantage of open-source, free compression tools, as well as the latest applications for getting the smallest file sizes and the highest quality.

Transcript of Compressing Media for Mobile and Desktop Delivery with HTML5

Page 1: Compressing Media for Mobile and Desktop Delivery with HTML5

Nick [email protected]@NickFloro

Compressing Mediafor mobile & desktop delivery

HTML5 | Media Formats

Page 2: Compressing Media for Mobile and Desktop Delivery with HTML5

A file that tells a device what kind of media to present and when to present it.

• Video• Audio• Text• Interactivity• Tracks

Media

Page 3: Compressing Media for Mobile and Desktop Delivery with HTML5

1991

Page 4: Compressing Media for Mobile and Desktop Delivery with HTML5

1999

Page 5: Compressing Media for Mobile and Desktop Delivery with HTML5

Pixel Doubling

Page 6: Compressing Media for Mobile and Desktop Delivery with HTML5

Pixel Doubling

Page 7: Compressing Media for Mobile and Desktop Delivery with HTML5
Page 8: Compressing Media for Mobile and Desktop Delivery with HTML5
Page 9: Compressing Media for Mobile and Desktop Delivery with HTML5

Capture to delivery and beyondThe Production Process

Video / Audio Assets Compression Authoring Delivery

Page 10: Compressing Media for Mobile and Desktop Delivery with HTML5

Capture to delivery and beyondQuickTime

Delivery

Edit and Compose Playback

Capture Archive

Page 11: Compressing Media for Mobile and Desktop Delivery with HTML5

ß

Page 12: Compressing Media for Mobile and Desktop Delivery with HTML5
Page 13: Compressing Media for Mobile and Desktop Delivery with HTML5

Standards Matter

MP3/AAC

Player

SurroundSoundCD

DigitalCameraDVDStereo

VideoCameraHDTV

Phone Tablet

Page 14: Compressing Media for Mobile and Desktop Delivery with HTML5

Standards Are Everywhere

MPEG-1/MPEG-4

audio

MPEG-2RedBook JPEGAC-3FM DVNTSC/

PAL

Phone Tablet

Page 15: Compressing Media for Mobile and Desktop Delivery with HTML5

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 16: Compressing Media for Mobile and Desktop Delivery with HTML5

Video

Page 17: Compressing Media for Mobile and Desktop Delivery with HTML5

• HD 1920 x 1080 = 600mb

• Compressed = 450k to 7.8mb

MPEG-4: The MPEG for the Internet1 Minute of Content

Page 18: Compressing Media for Mobile and Desktop Delivery with HTML5

• HD 1920 x 1080 = 35gb

• Compressed = 480mb

MPEG-4: The MPEG for the Internet60 Minutes of Content

Page 19: Compressing Media for Mobile and Desktop Delivery with HTML5

HD 1080i 1920 x 1080

PixelsGuidelines for Compression

SD 720P 720 x 480

Page 20: Compressing Media for Mobile and Desktop Delivery with HTML5

HD 1080i 1920 x 1080

Selecting a SizeGuidelines for Compression

384 x 216480 x 270

640 x 360

Page 21: Compressing Media for Mobile and Desktop Delivery with HTML5

Content PlacementGuidelines for Compression

384 x 216

Page 22: Compressing Media for Mobile and Desktop Delivery with HTML5
Page 23: Compressing Media for Mobile and Desktop Delivery with HTML5
Page 24: Compressing Media for Mobile and Desktop Delivery with HTML5
Page 25: Compressing Media for Mobile and Desktop Delivery with HTML5
Page 26: Compressing Media for Mobile and Desktop Delivery with HTML5
Page 27: Compressing Media for Mobile and Desktop Delivery with HTML5

Frame RateGuidelines for Compression

29.97 fps

Page 28: Compressing Media for Mobile and Desktop Delivery with HTML5

29.97 fps 15 fps

Frame RateGuidelines for Compression

Page 29: Compressing Media for Mobile and Desktop Delivery with HTML5

Tips & Hints

Key Frames: 4 x fps

Guidelines for Compression

Page 30: Compressing Media for Mobile and Desktop Delivery with HTML5

Guidelines for CompressionAverage Data Rate Target 800-1200 kbs

Page 31: Compressing Media for Mobile and Desktop Delivery with HTML5

Guidelines for Compression2 Pass Variable Bit Rate

Page 32: Compressing Media for Mobile and Desktop Delivery with HTML5

Guidelines for Compression2 Pass Variable Bit Rate

Page 33: Compressing Media for Mobile and Desktop Delivery with HTML5

Tips & Hints

Compression– Frame Rate: 15 fps– Key Frames: 4 x fps– Average Data Rate Target 800-1200 kbs– 2 Pass Variable Bit Rate

QuickTime: H264 / Sorenson 3

Flash: H264 / Spark / WebM On2 Pro

Guidelines for Compression

Page 34: Compressing Media for Mobile and Desktop Delivery with HTML5

Smart Phones

Page 35: Compressing Media for Mobile and Desktop Delivery with HTML5

Audio

Page 36: Compressing Media for Mobile and Desktop Delivery with HTML5

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 37: Compressing Media for Mobile and Desktop Delivery with HTML5

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 38: Compressing Media for Mobile and Desktop Delivery with HTML5

Stereo or MonoGuidelines for Compression

Page 40: Compressing Media for Mobile and Desktop Delivery with HTML5

• 11mb 16bit 44khz Stereo

• 2.8mb 16bit 22khz Mono

• 500k MP3 64k 44khz Mono

Compressing Audio60 Seconds

Page 41: Compressing Media for Mobile and Desktop Delivery with HTML5

Compressing Audio60 Minutes

30mb660mb60 minutes Compressed MP3 Audio

60 minutes of Uncompressed Audio

Page 42: Compressing Media for Mobile and Desktop Delivery with HTML5
Page 43: Compressing Media for Mobile and Desktop Delivery with HTML5

Podcasts on the GoAudioBoo & iPhone

Page 44: Compressing Media for Mobile and Desktop Delivery with HTML5

Built-in Recorder

Page 45: Compressing Media for Mobile and Desktop Delivery with HTML5

Tips & Hints

• 16 bit Mono 22 khz

• MP3 64kbit/s Mono 22khz

Guidelines for Compression

Page 46: Compressing Media for Mobile and Desktop Delivery with HTML5

Setting up a StudioCosts

Computer $899 Software $595 Camera / Studio $1,470

Adobe Premiere or Final Cut $300

Boris Chroma FX $295

HD Video $400 32gb Video SD $25

Green Screen $200

Lavalier Microphone $295Tripod $125

Flood Lighting $395

Apple iMac $1,099

MacBook $899

Page 47: Compressing Media for Mobile and Desktop Delivery with HTML5

New Form FactorsDelivering Content Everywhere

Page 48: Compressing Media for Mobile and Desktop Delivery with HTML5

WebMGoogle

H264 | MPEG 4Apple | Microsoft

mp4

Formats to choose from:Select a format for delivery

Page 49: Compressing Media for Mobile and Desktop Delivery with HTML5

WebMGoogle

H264 | MPEG 4Apple | Microsoft

mp4

Formats to choose from:Select a format for delivery

Page 50: Compressing Media for Mobile and Desktop Delivery with HTML5

Fast StartWeb Delivery: HTTP Streaming

Development Web Server | LMS | CMS

Clients

Page 51: Compressing Media for Mobile and Desktop Delivery with HTML5
Page 52: Compressing Media for Mobile and Desktop Delivery with HTML5

Pixel Doubling

Page 53: Compressing Media for Mobile and Desktop Delivery with HTML5

Pixel Doubling

Page 54: Compressing Media for Mobile and Desktop Delivery with HTML5

CDNContent Delivery Networks

DevelopmentEast Coast Client

West Coast Europe

Web Server | LMS | CMS

Page 55: Compressing Media for Mobile and Desktop Delivery with HTML5

QuickTime Pro

Sorenson Squeeze

Telestream Episode

Final Cut Pro

Flash

Handbrake

Compressing Content

Page 56: Compressing Media for Mobile and Desktop Delivery with HTML5

HandBrakeOpenSource for Mac/Win/Linux

• MPEG-4• H.264

Page 57: Compressing Media for Mobile and Desktop Delivery with HTML5

One Tool for Everything

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

Telestream Episode

Page 58: Compressing Media for Mobile and Desktop Delivery with HTML5

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

Page 59: Compressing Media for Mobile and Desktop Delivery with HTML5

<video controls><source src="foo.webM" 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 60: Compressing Media for Mobile and Desktop Delivery with HTML5

ResourcesTo help you grow.

Page 62: Compressing Media for Mobile and Desktop Delivery with HTML5

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

Page 63: Compressing Media for Mobile and Desktop Delivery with HTML5

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

Page 66: Compressing Media for Mobile and Desktop Delivery with HTML5

MP4 last 2 versions

jwplayer.com/html5/

Page 70: Compressing Media for Mobile and Desktop Delivery with HTML5

www.twitter.com

Page 72: Compressing Media for Mobile and Desktop Delivery with HTML5

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

Page 73: Compressing Media for Mobile and Desktop Delivery with HTML5

Thank You

Nick Florosealworks interactive studios

[email protected]

twitter.com/NickFloro

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