Top Banner
Cloud Computing and Online Video Rex Chung Founder of Ankoder (Rorcraft Limited)
31
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Cloud Computing Online Video

Cloud Computing and Online Video

Rex ChungFounder of Ankoder

(Rorcraft Limited)

Page 2: Cloud Computing Online Video

Some History

• Studied High School & Computer Engineering Degree in Sydney.

• Started developing HTML in 96.

• My first job in the web industry in 2001.

• Started Rorcraft in Oct 06.

• Started Ankoder in Dec 07.

Page 3: Cloud Computing Online Video

What is Cloud Computing?

Page 4: Cloud Computing Online Video

What is Cloud Computing?

Page 5: Cloud Computing Online Video

It can mean many things.

• Originate from network diagrams

• Marks a new era of computing

• Marketing Jargon (similar to web2.0)

Page 6: Cloud Computing Online Video

Computing Eras

• Mainframe (centralised) - 60s-70s

• PC (decentralised) - 80s-90s

• Internet Cloud Computing (centralised) - today.

Page 7: Cloud Computing Online Video

• No local software

• No local hardware, only access devices

• Everything through the internet cloud

Page 8: Cloud Computing Online Video

Is it SaaS?

• SaaS - Software as a Service (Gmail, Google Docs)

• PaaS - Platform as a Service (APIs)

• HaaS - Hardware as a Service (Amazon)

Difference is vague

Page 9: Cloud Computing Online Video

Is it Scale on Demand?

• Yes, but Amazon’s EC2 is not automatic.

• Google Apps Engine is automatic.

• Trade off between automation and flexibility

Page 10: Cloud Computing Online Video

Traditional way of scaling

• Buy Hardware

• Buy routers, load balancers, firewall

• NAS Network Attached Storage

• Database Cluster or Master/Slave

• High Availability (IP redirect)

Page 11: Cloud Computing Online Video

Virtualisation

• Xen - http://www.xen.org/

• open source industry standard for virtualization

• Dedicated Servers =>Virtual Private Server

• Enterprise implement their own virtualised infrastructure

Page 12: Cloud Computing Online Video

Amazon’s Web Services

• S3 = Simple Storage System

• EC2 = Elastic Cloud Computing (Elastic = Scale up and down)

• SQS = Simple Queue System

• SimpleDB = Key-Value Database

Page 13: Cloud Computing Online Video

Google Apps Engine

• Run time environment - currently Python only.

• Auto scaling (no preset load)

• BigTable - distributed database system.

Page 14: Cloud Computing Online Video

BigTable

• Based on Google’s own distributed file system

• Data Redundancy (Fault tolerant)

• Served from memory.

• Open source implementation:Hadoop - distributed file systemHBase - database on top of Hadoop

Page 15: Cloud Computing Online Video

Videos...

• Problem 1: Too many formats

• Containers:avi, asf, mp4, ogg, flv, mov, 3gp

• Codecs:mpeg-2, wmv, divx, h.264, theora, quicktime, sorenson

Page 16: Cloud Computing Online Video

Videos...

• Problem 2: Too many sizes and devices

• Full HD, HD, HD Ready, Apple TV, web, laptop, netbook, ipod/iphone, portable media devices, mobiles

• Different bitrate, frame rate.

Page 17: Cloud Computing Online Video

Most popular

• Flash: Flv (sorenson), MP4 (h.264)

• Mobile: 3GP ( MP2 or MP4)

• Firefox 3.1: Theora (open source)

Page 18: Cloud Computing Online Video

Video Conversion...

• Problem 3: Transcoding is CPU intensive and takes alot of time

• What if you need to transcode 100 videos at the same time?

• If each video takes 5mins, that’s 500mins! (8hrs+)

Page 19: Cloud Computing Online Video

Ankoder: Solving the problem

• Leverage computing power from Amazon on demand.

• Platform as a Service

• Reliability

• Scalability

• At no upfront cost.

Page 20: Cloud Computing Online Video

Our target clients

• Videos are not part of their core business.

• Large user base, high volume video upload.

• Some examples:- online auctions- educational, tutorials- online dating- yellow pages (alibaba, openrice etc)

Page 21: Cloud Computing Online Video

How we do it?

AnkoderAPI

SQS

S3

Transcodeworker

Transcodeworker...

e.g.Yellow Pages

Page 22: Cloud Computing Online Video

How we do it?

AnkoderAPI

SQS

S3

Transcodeworker

Transcodeworker...

e.g.Yellow Pages

Page 23: Cloud Computing Online Video

How we do it?

AnkoderAPI

SQS

S3

Transcodeworker

Transcodeworker...

e.g.Yellow Pages

Page 24: Cloud Computing Online Video

How we do it?

AnkoderAPI

SQS

S3

Transcodeworker

Transcodeworker...

e.g.Yellow Pages

Page 25: Cloud Computing Online Video

How we do it?

AnkoderAPI

SQS

S3

Transcodeworker

Transcodeworker...

e.g.Yellow Pages

Page 26: Cloud Computing Online Video

How we do it?

AnkoderAPI

SQS

S3

Transcodeworker

Transcodeworker...

e.g.Yellow Pages

Page 27: Cloud Computing Online Video

How we do it?

AnkoderAPI

SQS

S3

Transcodeworker

Transcodeworker...

e.g.Yellow Pages

Page 28: Cloud Computing Online Video

How we do it?

AnkoderAPI

SQS

S3

Transcodeworker

Transcodeworker...

e.g.Yellow Pages

Page 29: Cloud Computing Online Video

How we transcode.

• FFmpeg - open source tool

• Flvtool2, MP4Box, ffmpeg2theora

• Quality = bitrate : resolution : frame rate

Page 30: Cloud Computing Online Video

Next steps

• Real time video transcode

• Analytics - tracking video usage

• Ad network - serving relevant ads to video

• Video Streaming - seek to begin