a fun way to learn video transcoding with amazon cloud
DESCRIPTION
This interactive presentation tells the story of Video Transcoding. It starts with what video transcoding is, followed by how exactly video transcoding process works. Then the story ventures towards how Amazon Web Services does Video Transcoding and what happens on the cloud in the background while a video is transcoded. Finally the story ends by telling how NETFLIX transitioned from Inhouse to Cloud for its Transcoding to multiple video formats.TRANSCRIPT
![Page 2: A Fun Way to Learn Video Transcoding with Amazon Cloud](https://reader033.vdocuments.us/reader033/viewer/2022061201/5479994cb4795963098b47e7/html5/thumbnails/2.jpg)
OOPS !!
Were you Expecting
an overview
or an agenda slide ?
A want to listen to a Story.
A Sense of humour.
Well, to Enjoy this Presentation all you need is
Meet the Stars -
![Page 4: A Fun Way to Learn Video Transcoding with Amazon Cloud](https://reader033.vdocuments.us/reader033/viewer/2022061201/5479994cb4795963098b47e7/html5/thumbnails/4.jpg)
Say you have a Website
Hosting lots of videos
You want everyone to See World Wide
On Mobiles, PCs, Tablets & more
Ideally you would want
your audience
using different Platforms
and Devices to
have a seamless
User Experience
![Page 5: A Fun Way to Learn Video Transcoding with Amazon Cloud](https://reader033.vdocuments.us/reader033/viewer/2022061201/5479994cb4795963098b47e7/html5/thumbnails/5.jpg)
Now, every Video File is first created in a particular High Resolution format,
But, How would devices on various platforms Render it ?
![Page 6: A Fun Way to Learn Video Transcoding with Amazon Cloud](https://reader033.vdocuments.us/reader033/viewer/2022061201/5479994cb4795963098b47e7/html5/thumbnails/6.jpg)
What if ...
You could convert your videos into all these rendering formats
Well that’s Transcoding!
Transcoding means
conversion of your video files into different
formats so that they can be viewed on
different devices and platforms
seamlessly
![Page 7: A Fun Way to Learn Video Transcoding with Amazon Cloud](https://reader033.vdocuments.us/reader033/viewer/2022061201/5479994cb4795963098b47e7/html5/thumbnails/7.jpg)
So How does Transcoding Work ?
We need to know what a video file contains...
Meta Data
Audio Track
Video Track
Subtitle Track + + + =
[ Encoded using Codecs ]
Raw File
![Page 8: A Fun Way to Learn Video Transcoding with Amazon Cloud](https://reader033.vdocuments.us/reader033/viewer/2022061201/5479994cb4795963098b47e7/html5/thumbnails/8.jpg)
Different Tracks are Extracted (Decoded)
First
AUDIO VIDEO SUBTITLE
1
From this Raw File
Initially your files
are extracted to
all constituent
tracks
![Page 9: A Fun Way to Learn Video Transcoding with Amazon Cloud](https://reader033.vdocuments.us/reader033/viewer/2022061201/5479994cb4795963098b47e7/html5/thumbnails/9.jpg)
Different Tracks are Extracted (Decoded)
Next
Transcoding & Filtering
2
1
Tracks are Filtered (for noise, scale, dimensions & sharpening)
&
Transcoded (one audio chunk, then video chuck,
then next audio & so on)
to new formats
1
1
AUDIO VIDEO SUBTITLE
![Page 10: A Fun Way to Learn Video Transcoding with Amazon Cloud](https://reader033.vdocuments.us/reader033/viewer/2022061201/5479994cb4795963098b47e7/html5/thumbnails/10.jpg)
Different Tracks are Extracted (Decoded)
Finally
Video in New Formats
1
3
After Transcoding & Filtering, your Tracks
are multiplexed
or interleaved back to one File Format,
ready for Distribution
1
1
Transcoding & Filtering
AUDIO VIDEO SUBTITLE
2
Tracks Encoded back & multiplexed
![Page 11: A Fun Way to Learn Video Transcoding with Amazon Cloud](https://reader033.vdocuments.us/reader033/viewer/2022061201/5479994cb4795963098b47e7/html5/thumbnails/11.jpg)
Now that you
know how video transcoding works...
Lets see how Amazon Web Services (AWS) does Video Transcoding
Amazon Elastic Transcoder
![Page 12: A Fun Way to Learn Video Transcoding with Amazon Cloud](https://reader033.vdocuments.us/reader033/viewer/2022061201/5479994cb4795963098b47e7/html5/thumbnails/12.jpg)
But First,
lets get to know the basic AWS Elements involved in Transcoding
IAM
EC2
SNS
S3
![Page 13: A Fun Way to Learn Video Transcoding with Amazon Cloud](https://reader033.vdocuments.us/reader033/viewer/2022061201/5479994cb4795963098b47e7/html5/thumbnails/13.jpg)
Helps you Assign Computing Instances on the Amazon Cloud for your various operations.
EC2
Elastic Compute Capacity
1
![Page 14: A Fun Way to Learn Video Transcoding with Amazon Cloud](https://reader033.vdocuments.us/reader033/viewer/2022061201/5479994cb4795963098b47e7/html5/thumbnails/14.jpg)
S3 Helps you
Store & Retrieve Content from The Amazon Cloud Simple Storage
Service
2
![Page 15: A Fun Way to Learn Video Transcoding with Amazon Cloud](https://reader033.vdocuments.us/reader033/viewer/2022061201/5479994cb4795963098b47e7/html5/thumbnails/15.jpg)
Notifies you of the progress of your on going
job queues
SNS
3
Simple Notification Service
![Page 16: A Fun Way to Learn Video Transcoding with Amazon Cloud](https://reader033.vdocuments.us/reader033/viewer/2022061201/5479994cb4795963098b47e7/html5/thumbnails/16.jpg)
IAM Allows you
to set access rights for your data
Identity & Access Management
4
![Page 17: A Fun Way to Learn Video Transcoding with Amazon Cloud](https://reader033.vdocuments.us/reader033/viewer/2022061201/5479994cb4795963098b47e7/html5/thumbnails/17.jpg)
You need to have your files first on S3 buckets.
So How does Elastic Transcoder
operate ?
Now, define your input & output S3 buckets that will contain the transcoded content.
You can upload data
onto your S3 buckets from AWS console.
![Page 18: A Fun Way to Learn Video Transcoding with Amazon Cloud](https://reader033.vdocuments.us/reader033/viewer/2022061201/5479994cb4795963098b47e7/html5/thumbnails/18.jpg)
S3
S3
Now, Select a Transcoding Pipeline, and
Define
Transcoding Jobs, i.e. the files you want to transcode.
Input Bucket
Transcoding Pipeline
Output Bucket
Job 1
Job 3
Job 2 Jobs in queue
![Page 20: A Fun Way to Learn Video Transcoding with Amazon Cloud](https://reader033.vdocuments.us/reader033/viewer/2022061201/5479994cb4795963098b47e7/html5/thumbnails/20.jpg)
Wait Up !
With AWS you get added
Benefits
Set Multiple
Transcoding pipelines based on priority of Jobs, simultaneously.
![Page 21: A Fun Way to Learn Video Transcoding with Amazon Cloud](https://reader033.vdocuments.us/reader033/viewer/2022061201/5479994cb4795963098b47e7/html5/thumbnails/21.jpg)
With AWS you get added
Benefits
Get Variety of transcoding pre sets available on AWS.
![Page 23: A Fun Way to Learn Video Transcoding with Amazon Cloud](https://reader033.vdocuments.us/reader033/viewer/2022061201/5479994cb4795963098b47e7/html5/thumbnails/23.jpg)
With AWS you get added
Benefits
Transcode videos
either from AWS console or
configured APIs.
![Page 24: A Fun Way to Learn Video Transcoding with Amazon Cloud](https://reader033.vdocuments.us/reader033/viewer/2022061201/5479994cb4795963098b47e7/html5/thumbnails/24.jpg)
With AWS you get added
Benefits
Get 20MBs of transcoding
FREE every month.
Now Experiment with all the new formats !
![Page 25: A Fun Way to Learn Video Transcoding with Amazon Cloud](https://reader033.vdocuments.us/reader033/viewer/2022061201/5479994cb4795963098b47e7/html5/thumbnails/25.jpg)
With AWS you get added
Benefits
Pay as you go pricing with elastic, scalable & on demand benefits of the Cloud.
![Page 26: A Fun Way to Learn Video Transcoding with Amazon Cloud](https://reader033.vdocuments.us/reader033/viewer/2022061201/5479994cb4795963098b47e7/html5/thumbnails/26.jpg)
But there’s
MORE !!!
With AWS &
BlazeClan you can...
Distribute your content World Wide using Amazon
CloudFront
![Page 27: A Fun Way to Learn Video Transcoding with Amazon Cloud](https://reader033.vdocuments.us/reader033/viewer/2022061201/5479994cb4795963098b47e7/html5/thumbnails/27.jpg)
But there’s
MORE !!!
With AWS &
BlazeClan you can...
Analyse when, what, where & how your content was viewed worldwide using Our
Cloudlytics
![Page 28: A Fun Way to Learn Video Transcoding with Amazon Cloud](https://reader033.vdocuments.us/reader033/viewer/2022061201/5479994cb4795963098b47e7/html5/thumbnails/28.jpg)
While your Videos are
Transcoded...
What happens in
the background
on
Amazon Cloud
![Page 29: A Fun Way to Learn Video Transcoding with Amazon Cloud](https://reader033.vdocuments.us/reader033/viewer/2022061201/5479994cb4795963098b47e7/html5/thumbnails/29.jpg)
Initially a certain number of transcoding jobs
are processed on priority basis by EC2
instances
Jobs
EC2
![Page 30: A Fun Way to Learn Video Transcoding with Amazon Cloud](https://reader033.vdocuments.us/reader033/viewer/2022061201/5479994cb4795963098b47e7/html5/thumbnails/30.jpg)
Jobs require more compute capacity ??
What If ...
Or more number of jobs are queued because of on demand requirements ??
![Page 32: A Fun Way to Learn Video Transcoding with Amazon Cloud](https://reader033.vdocuments.us/reader033/viewer/2022061201/5479994cb4795963098b47e7/html5/thumbnails/32.jpg)
Alarms Trigger an Auto Scaling policy indicating that more number of EC2 instances need to be deployed, and instantly the required Compute Capacity is made ready.
Alarms Triggered
EC2 Auto Scaling
![Page 35: A Fun Way to Learn Video Transcoding with Amazon Cloud](https://reader033.vdocuments.us/reader033/viewer/2022061201/5479994cb4795963098b47e7/html5/thumbnails/35.jpg)
You all must have
watched movies online on NETFLIX right ?
This video Streaming company, initially rented
content on DVD’s till 2006/07,
When .....
![Page 36: A Fun Way to Learn Video Transcoding with Amazon Cloud](https://reader033.vdocuments.us/reader033/viewer/2022061201/5479994cb4795963098b47e7/html5/thumbnails/36.jpg)
They realized,
there was Too Much Content !
So they used GPU Based encoding Hardware to handle the load.
![Page 37: A Fun Way to Learn Video Transcoding with Amazon Cloud](https://reader033.vdocuments.us/reader033/viewer/2022061201/5479994cb4795963098b47e7/html5/thumbnails/37.jpg)
But in 2008, with
increasing number of
video formats...
Barriers to launch new
video players for MAC & PCs
And, Finally the launch of a video player for XBOX, failing to launch
full content catalogues
Their in house Infrastructure
could not handle the Load !
![Page 39: A Fun Way to Learn Video Transcoding with Amazon Cloud](https://reader033.vdocuments.us/reader033/viewer/2022061201/5479994cb4795963098b47e7/html5/thumbnails/39.jpg)
In 2009, NETFLIX was able to launch a new video player for Sony Play Station 3
Successfully !
In 2010, the successful
Apple Ipad’s video player launch also marked the success on
Cloud!!
![Page 40: A Fun Way to Learn Video Transcoding with Amazon Cloud](https://reader033.vdocuments.us/reader033/viewer/2022061201/5479994cb4795963098b47e7/html5/thumbnails/40.jpg)
For more on NETFLIX’s Journey to Cloud & Video Transcoding
Visit Our Blogs
![Page 41: A Fun Way to Learn Video Transcoding with Amazon Cloud](https://reader033.vdocuments.us/reader033/viewer/2022061201/5479994cb4795963098b47e7/html5/thumbnails/41.jpg)
In A Nut Shell we Learnt
What is Transcoding ?
How It works ?
How Videos are Transcoded on
AWS
How NETFLIX benefited
![Page 42: A Fun Way to Learn Video Transcoding with Amazon Cloud](https://reader033.vdocuments.us/reader033/viewer/2022061201/5479994cb4795963098b47e7/html5/thumbnails/42.jpg)
Thanks for Watching
Follow Us On :
Our Blog : http://blog.blazeclan.com/