際際滷

際際滷Share a Scribd company logo
Cloud Computing and
    Online Video
         Rex Chung
     Founder of Ankoder
      (Rorcraft Limited)
Some History
 Studied High School & Computer
  Engineering Degree in Sydney.
 Started developing HTML in 96.
 My 鍖rst job in the web industry in 2001.
 Started Rorcraft in Oct 06.
 Started Ankoder in Dec 07.
What is Cloud
 Computing?
What is Cloud
 Computing?
It can mean many
          things.

 Originate from network diagrams
 Marks a new era of computing
 Marketing Jargon (similar to web2.0)
Computing Eras

 Mainframe (centralised) - 60s-70s
 PC (decentralised) - 80s-90s
 Internet Cloud Computing (centralised) -
  today.
 No local software
 No local hardware, only access devices
 Everything through the internet cloud
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
Is it Scale on Demand?

 Yes, but Amazons EC2 is not automatic.
 Google Apps Engine is automatic.
 Trade off between automation and
  鍖exibility
Traditional way of
          scaling
 Buy Hardware
 Buy routers, load balancers, 鍖rewall
 NAS Network Attached Storage
 Database Cluster or Master/Slave
 High Availability (IP redirect)
Virtualisation
 Xen - http://www.xen.org/
 open source industry standard for
  virtualization
 Dedicated Servers =>Virtual Private Server
 Enterprise implement their own virtualised
  infrastructure
Amazons Web Services

 S3 = Simple Storage System
 EC2 = Elastic Cloud Computing (Elastic =
  Scale up and down)
 SQS = Simple Queue System
 SimpleDB = Key-Value Database
Google Apps Engine

 Run time environment - currently Python
  only.
 Auto scaling (no preset load)
 BigTable - distributed database system.
BigTable
 Based on Googles own distributed 鍖le
  system
 Data Redundancy (Fault tolerant)
 Served from memory.
 Open source implementation:
  Hadoop - distributed 鍖le system
  HBase - database on top of Hadoop
Videos...

 Problem 1: Too many formats
 Containers:
  avi, asf, mp4, ogg, 鍖v, mov, 3gp
 Codecs:
  mpeg-2, wmv, divx, h.264, theora,
  quicktime, sorenson
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.
Most popular

 Flash: Flv (sorenson), MP4 (h.264)
 Mobile: 3GP ( MP2 or MP4)
 Firefox 3.1: Theora (open source)
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, thats 500mins!
  (8hrs+)
Ankoder: Solving the
      problem
 Leverage computing power from Amazon
  on demand.
 Platform as a Service
 Reliability
 Scalability
 At no upfront cost.
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)
How we do it?
 e.g.
Yellow
Pages
                 Transcode          Transcode
                              ...
                  worker             worker



 Ankoder
   API
           SQS


                         S3
How we do it?
 e.g.
Yellow
Pages
                 Transcode          Transcode
                              ...
                  worker             worker



 Ankoder
   API
           SQS


                         S3
How we do it?
 e.g.
Yellow
Pages
                 Transcode          Transcode
                              ...
                  worker             worker



 Ankoder
   API
           SQS


                         S3
How we do it?
 e.g.
Yellow
Pages
                 Transcode          Transcode
                              ...
                  worker             worker



 Ankoder
   API
           SQS


                         S3
How we do it?
 e.g.
Yellow
Pages
                 Transcode          Transcode
                              ...
                  worker             worker



 Ankoder
   API
           SQS


                         S3
How we do it?
 e.g.
Yellow
Pages
                 Transcode          Transcode
                              ...
                  worker             worker



 Ankoder
   API
           SQS


                         S3
How we do it?
 e.g.
Yellow
Pages
                 Transcode          Transcode
                              ...
                  worker             worker



 Ankoder
   API
           SQS


                         S3
How we do it?
 e.g.
Yellow
Pages
                 Transcode          Transcode
                              ...
                  worker             worker



 Ankoder
   API
           SQS


                         S3
How we transcode.

 FFmpeg - open source tool
 Flvtool2, MP4Box, ffmpeg2theora
 Quality = bitrate : resolution : frame rate
Next steps

 Real time video transcode
 Analytics - tracking video usage
 Ad network - serving relevant ads to video
 Video Streaming - seek to begin
Questions

 Contact:
  Rex Chung
  http://www.ankoder.com
  rex@rorcraft.com
 Personal:
  http://www.rexchung.com

More Related Content

Cloud Computing Online Video

  • 1. Cloud Computing and Online Video Rex Chung Founder of Ankoder (Rorcraft Limited)
  • 2. Some History Studied High School & Computer Engineering Degree in Sydney. Started developing HTML in 96. My 鍖rst job in the web industry in 2001. Started Rorcraft in Oct 06. Started Ankoder in Dec 07.
  • 3. What is Cloud Computing?
  • 4. What is Cloud Computing?
  • 5. It can mean many things. Originate from network diagrams Marks a new era of computing Marketing Jargon (similar to web2.0)
  • 6. Computing Eras Mainframe (centralised) - 60s-70s PC (decentralised) - 80s-90s Internet Cloud Computing (centralised) - today.
  • 7. No local software No local hardware, only access devices Everything through the internet cloud
  • 8. 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
  • 9. Is it Scale on Demand? Yes, but Amazons EC2 is not automatic. Google Apps Engine is automatic. Trade off between automation and 鍖exibility
  • 10. Traditional way of scaling Buy Hardware Buy routers, load balancers, 鍖rewall NAS Network Attached Storage Database Cluster or Master/Slave High Availability (IP redirect)
  • 11. Virtualisation Xen - http://www.xen.org/ open source industry standard for virtualization Dedicated Servers =>Virtual Private Server Enterprise implement their own virtualised infrastructure
  • 12. Amazons Web Services S3 = Simple Storage System EC2 = Elastic Cloud Computing (Elastic = Scale up and down) SQS = Simple Queue System SimpleDB = Key-Value Database
  • 13. Google Apps Engine Run time environment - currently Python only. Auto scaling (no preset load) BigTable - distributed database system.
  • 14. BigTable Based on Googles own distributed 鍖le system Data Redundancy (Fault tolerant) Served from memory. Open source implementation: Hadoop - distributed 鍖le system HBase - database on top of Hadoop
  • 15. Videos... Problem 1: Too many formats Containers: avi, asf, mp4, ogg, 鍖v, mov, 3gp Codecs: mpeg-2, wmv, divx, h.264, theora, quicktime, sorenson
  • 16. 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.
  • 17. Most popular Flash: Flv (sorenson), MP4 (h.264) Mobile: 3GP ( MP2 or MP4) Firefox 3.1: Theora (open source)
  • 18. 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, thats 500mins! (8hrs+)
  • 19. Ankoder: Solving the problem Leverage computing power from Amazon on demand. Platform as a Service Reliability Scalability At no upfront cost.
  • 20. 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)
  • 21. How we do it? e.g. Yellow Pages Transcode Transcode ... worker worker Ankoder API SQS S3
  • 22. How we do it? e.g. Yellow Pages Transcode Transcode ... worker worker Ankoder API SQS S3
  • 23. How we do it? e.g. Yellow Pages Transcode Transcode ... worker worker Ankoder API SQS S3
  • 24. How we do it? e.g. Yellow Pages Transcode Transcode ... worker worker Ankoder API SQS S3
  • 25. How we do it? e.g. Yellow Pages Transcode Transcode ... worker worker Ankoder API SQS S3
  • 26. How we do it? e.g. Yellow Pages Transcode Transcode ... worker worker Ankoder API SQS S3
  • 27. How we do it? e.g. Yellow Pages Transcode Transcode ... worker worker Ankoder API SQS S3
  • 28. How we do it? e.g. Yellow Pages Transcode Transcode ... worker worker Ankoder API SQS S3
  • 29. How we transcode. FFmpeg - open source tool Flvtool2, MP4Box, ffmpeg2theora Quality = bitrate : resolution : frame rate
  • 30. Next steps Real time video transcode Analytics - tracking video usage Ad network - serving relevant ads to video Video Streaming - seek to begin
  • 31. Questions Contact: Rex Chung http://www.ankoder.com rex@rorcraft.com Personal: http://www.rexchung.com