SlideShare una empresa de Scribd logo
1 de 8
Descargar para leer sin conexión
Rethinking Large Video Files
         in the Cloud
          STRATEGIES FOR ELIMINATING BANDWIDTH
                      BOTTLENECKS




About Zencoder
Zencoder is the largest and fastest cloud-based encoding service in the world.  
Its products enable content providers to quickly transcode and publish video to
consumers on virtually any Internet connected device, including web, mobile, and TV.

To learn more about Zencoder, visit http://zencoder.com
or contact us at info@zencoder.com
Eliminating Bandwidth Bottlenecks
Bandwidth is a problem for high-bitrate video. Cloud-based transcoding has enormous
advantages over on-premise transcoding: better ROI, faster speeds, and massive
scalability. But professional video content is often stored at 30-100 Mbps (or more),
resulting in very large files. Conventional wisdom holds that these files are too large to
transfer over the public Internet.

                            Figure 1. Common professional video formats.

Format                         Bitrate        Size (per hour)       Transfer time (lossy TCP)[1]
DNxHD 36                       36 Mbps        15.8 GB               1.65 hours
ProRes 422, SD PAL             41 Mbps        18.0 GB               1.88 hours
AVC Intra 100                  100 Mbps       43.9 GB               4.59 hours
DNxHD 220                      220 Mbps       96.7 GB               10.09 hours
ProRes 4444 HD                 330 Mbps       145.0 GB              15.14 hours
[1]   Actual TCP transfer at 21.8 Mbps over a 1000 Mbps connection with 10ms delay and 0.1% packet loss.


This problem becomes even worse when considering the size of an entire content
library. If a publisher creates two hours of high bitrate 50 Mbps video each day, they will
have a library of 32,000 GB after two years. What happens if it becomes necessary to
transcode the entire library for a new mobile device or a new resolution? Even though a
scalable transcoding system can transcode 32,000 GB of content in just a few hours,
moving that content over the public internet at 100 Mbps would take over 30 days.

Fortunately, there are solutions to these problems, and major media organizations like
Netflix and PBS are embracing cloud-based services. In this chapter of 12 Patterns of
High Volume Video Encoding, we will discuss four techniques used by major publishers
to eliminate these bandwidth bottlenecks and efficiently transcode video in the cloud.




                                                   -1-
1. Store video content close to video processing
The easiest way to eliminate bandwidth bottlenecks is to locate hosting and transcoding
together. For example, if your transcoding system is run on Amazon EC2, and you
archive your video with Amazon S3, you have free, near-instant transfer between
storage and processing. (This isn't always possible, so if your storage and transcoding
are in separate places, the next point will help.)

                             Fig 2. Time to Transfer 45 GB of Video
                                               (in hours)



           TCP                                                                         4.59




         Cloud        0.10


         Transfer time of 1 hour of 100 Mbit/s video. TCP achieves 22 Mbit/s transfer over a
         1 Gbit/s line in typical network conditions (10ms delay, 0.1% packet loss). In-cloud
         transfer represents tested speeds of 1 Gbit/s between Amazon S3 and Zencoder.



     To eliminate bandwidth bottlenecks, store video close to transcoding.




                                                -2-
2. Use accelerated file transfer
When transferring files over long distances, standard TCP transfer protocols like FTP
and HTTP under-utilize bandwidth significantly. For example, a 100 Mbps connection
may actually only transfer 10 Mbps over TCP, given a small amount of latency and
packet loss. This is due to the structure of the TCP protocol, which scales back
bandwidth utilization when it thinks the network is over-utilized. This is useful for general
internet traffic, because it ensures that everyone has fair access to limited bandwidth.
But it is counter-productive when transferring large files over a dedicated connection.
When it is necessary to transfer high-bitrate content over the Internet, use accelerated
file transfer technology. Aspera and other providers offer UDP-based transfer protocols,
which perform significantly better than TCP over most network conditions.
If Aspera or other UDP-based file transfer technologies aren’t an option, consider
transferring files via multiple TCP connections to make up for some of the inefficiencies
of TCP.

                               Fig 3. Time to Transfer 45 GB of Video
                                                 (in hours)


             TCP                                                                       4.59




          Aspera        0.20



         Transfer time of 1 hour of 100 Mbit/s video. TCP achieves 22 Mbit/s transfer over a
         1 Gbit/s line in typical network conditions (10ms delay, 0.1% packet loss). Aspera
         achieves 509 Mbit/s transfer over the same network conditions.


      To maximize bandwidth utilization, use file transfer technologies like
      Aspera, UDP, or multiple TCP connections.




                                                -3-
3. Transfer once, encode many
For video to be viewable on multiple devices over various connection speeds,
different video resolutions, bitrates, and codecs are needed. Many web and
mobile publishers create 10-20 versions of each file. So when doing high-volume
encoding, it is important that a file is only transferred once, and each transcode is
then performed in parallel.
When using this approach, you can effectively divide the transfer time by the
number of encodes to determine the net transfer time. For example, if transfer
takes 6 minutes, but you perform 10 transcodes in the cloud, the net transfer
required for each transcode is only 36 seconds.

                               Fig 4. Time to Transfer and Encode 10 Outputs
                                                         (in hours)

        On-premise (serial)




       Cloud (TCP, parallel)




    Cloud (Aspera, parallel)


                                 0            1.25           2.50           3.75            5.00


                         Transfer time                       Encoding time

      Transfer and encoding time of 10 outputs of 1 Hour 50 Mbit/s video at 2x realtime encoding speed.



     To achieve maximum efficiency, transfer a high quality file to the cloud
     only once, and then perform multiple encodes in parallel.




                                                -4-
4. Syndicate from the cloud after transcoding
Whether you transcode in the cloud or on-premise, some bandwith is required. In one
case, a high-bitrate mezzanine file is sent to the cloud for transcoding. In the other
case, when transcoding on-premise, several transcoded files are sent directly to a CDN,
publishing platform, or to partners like iTunes or Hulu. Both cases require outbound
bandwidth, and in many cases, syndicating from the cloud requires less overall
bandwidth than syndicating from an on-premise system.
For example, it is not uncommon for broadcast video to be syndicated at high bitrates. If
a broadcaster uses a 100 Mbps mezzanine format, and then syndicates that content to
five partners at 50 Mbps, it is clearly more efficient to only send the original file out of
the network for transcoding, and let the transcoding system handle the other transfers.
       Scenario A: high-bitrate syndication
       • Input file: 100 Mbps
       • Syndicated output: ∑(50 + 50 + 50 + 50 + 50) = 250 Mbps
In this scenario, 150 Mbps of egress bandwidth is saved by syndicating content from
the cloud.


Fig 5. Comparing Bandwidth Requirements of On-Premise and Cloud
                           Encoding




                                           -5-
Not everyone syndicates high-bitrate content, of course. But even when encoding low-
bitrate web and mobile video, multiple small files adds up. The example below shows
actual bitrates recommended for a major OTT video device, encoded to 10 bitrates, for
both MP4 and HTTP Live Streaming.
       Scenario B: low-bitrate syndication
       • Input file: 50 Mbps
       • Syndicated output: ∑(9 + 6 + 4.5 + 3.4 + 2.25 + 1.5 + 1.1 + 0.75 + 0.55 + 0.35 + 9
        + 6 + 4.5 + 3.4 + 2.25 + 1.5 + 1.1 + 0.75 + 0.55 + 0.35) = 58.8 Mbps


Even in this scenario, sending a 50 Mbps file to the cloud requires less overall
bandwidth than transcoding internally and delivering all 20 formats separately; and the
original is maintained in the cloud for subsequent transcoding.


       To save transfer bandwidth, syndicate content from external encoding
       system.


Conclusion
While transferring high-bitrate video can be a challenge, the correct approach to cloud
transcoding can mitigate these problems. High volume publishers should follow these
four basic guidelines:
   ‣    Store content in the cloud
   ‣    Use accelerated file transfer technology
   ‣    Ingest each file once to a parallel cloud transcoding system
   ‣    Syndicate directly from the cloud
By implementing these recommendations, media companies of all types can offload
video processing to the cloud, and realize the benefits of scale, flexibility, and ROI
provided by cloud transcoding.




                                            -6-
Appendix: Bandwidth Growth
There is one important fundamental driver that is helping to solve the bandwidth
problem: cheaper and wider bandwidth. Neilsen's Law of Internet Bandwidth has
tracked accurately from 1983 to the present, and states that high-end Internet
connection speeds will increase by 50% per year. Video bitrates are growing at a slower
rate, and so sending high-bitrate content over the Internet will become less of a problem
over time.


     Fig 6. Average Internet Connectivity and Sample Streaming Bitrates




But it isn’t enough to wait for internet bandwidth to improve. The right architecture,
covered in the body of this document, is still required to efficiently transcode high bitrate
content and large libraries.




                                            -7-

Más contenido relacionado

Último

Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 

Último (20)

Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 

Destacado

How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Applitools
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at WorkGetSmarter
 

Destacado (20)

How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 

Rethinking Large Video Files in the Cloud: Strategies for Eliminating Bandwidth Bottlenecks

  • 1. Rethinking Large Video Files in the Cloud STRATEGIES FOR ELIMINATING BANDWIDTH BOTTLENECKS About Zencoder Zencoder is the largest and fastest cloud-based encoding service in the world.   Its products enable content providers to quickly transcode and publish video to consumers on virtually any Internet connected device, including web, mobile, and TV. To learn more about Zencoder, visit http://zencoder.com or contact us at info@zencoder.com
  • 2. Eliminating Bandwidth Bottlenecks Bandwidth is a problem for high-bitrate video. Cloud-based transcoding has enormous advantages over on-premise transcoding: better ROI, faster speeds, and massive scalability. But professional video content is often stored at 30-100 Mbps (or more), resulting in very large files. Conventional wisdom holds that these files are too large to transfer over the public Internet. Figure 1. Common professional video formats. Format Bitrate Size (per hour) Transfer time (lossy TCP)[1] DNxHD 36 36 Mbps 15.8 GB 1.65 hours ProRes 422, SD PAL 41 Mbps 18.0 GB 1.88 hours AVC Intra 100 100 Mbps 43.9 GB 4.59 hours DNxHD 220 220 Mbps 96.7 GB 10.09 hours ProRes 4444 HD 330 Mbps 145.0 GB 15.14 hours [1] Actual TCP transfer at 21.8 Mbps over a 1000 Mbps connection with 10ms delay and 0.1% packet loss. This problem becomes even worse when considering the size of an entire content library. If a publisher creates two hours of high bitrate 50 Mbps video each day, they will have a library of 32,000 GB after two years. What happens if it becomes necessary to transcode the entire library for a new mobile device or a new resolution? Even though a scalable transcoding system can transcode 32,000 GB of content in just a few hours, moving that content over the public internet at 100 Mbps would take over 30 days. Fortunately, there are solutions to these problems, and major media organizations like Netflix and PBS are embracing cloud-based services. In this chapter of 12 Patterns of High Volume Video Encoding, we will discuss four techniques used by major publishers to eliminate these bandwidth bottlenecks and efficiently transcode video in the cloud. -1-
  • 3. 1. Store video content close to video processing The easiest way to eliminate bandwidth bottlenecks is to locate hosting and transcoding together. For example, if your transcoding system is run on Amazon EC2, and you archive your video with Amazon S3, you have free, near-instant transfer between storage and processing. (This isn't always possible, so if your storage and transcoding are in separate places, the next point will help.) Fig 2. Time to Transfer 45 GB of Video (in hours) TCP 4.59 Cloud 0.10 Transfer time of 1 hour of 100 Mbit/s video. TCP achieves 22 Mbit/s transfer over a 1 Gbit/s line in typical network conditions (10ms delay, 0.1% packet loss). In-cloud transfer represents tested speeds of 1 Gbit/s between Amazon S3 and Zencoder. To eliminate bandwidth bottlenecks, store video close to transcoding. -2-
  • 4. 2. Use accelerated file transfer When transferring files over long distances, standard TCP transfer protocols like FTP and HTTP under-utilize bandwidth significantly. For example, a 100 Mbps connection may actually only transfer 10 Mbps over TCP, given a small amount of latency and packet loss. This is due to the structure of the TCP protocol, which scales back bandwidth utilization when it thinks the network is over-utilized. This is useful for general internet traffic, because it ensures that everyone has fair access to limited bandwidth. But it is counter-productive when transferring large files over a dedicated connection. When it is necessary to transfer high-bitrate content over the Internet, use accelerated file transfer technology. Aspera and other providers offer UDP-based transfer protocols, which perform significantly better than TCP over most network conditions. If Aspera or other UDP-based file transfer technologies aren’t an option, consider transferring files via multiple TCP connections to make up for some of the inefficiencies of TCP. Fig 3. Time to Transfer 45 GB of Video (in hours) TCP 4.59 Aspera 0.20 Transfer time of 1 hour of 100 Mbit/s video. TCP achieves 22 Mbit/s transfer over a 1 Gbit/s line in typical network conditions (10ms delay, 0.1% packet loss). Aspera achieves 509 Mbit/s transfer over the same network conditions. To maximize bandwidth utilization, use file transfer technologies like Aspera, UDP, or multiple TCP connections. -3-
  • 5. 3. Transfer once, encode many For video to be viewable on multiple devices over various connection speeds, different video resolutions, bitrates, and codecs are needed. Many web and mobile publishers create 10-20 versions of each file. So when doing high-volume encoding, it is important that a file is only transferred once, and each transcode is then performed in parallel. When using this approach, you can effectively divide the transfer time by the number of encodes to determine the net transfer time. For example, if transfer takes 6 minutes, but you perform 10 transcodes in the cloud, the net transfer required for each transcode is only 36 seconds. Fig 4. Time to Transfer and Encode 10 Outputs (in hours) On-premise (serial) Cloud (TCP, parallel) Cloud (Aspera, parallel) 0 1.25 2.50 3.75 5.00 Transfer time Encoding time Transfer and encoding time of 10 outputs of 1 Hour 50 Mbit/s video at 2x realtime encoding speed. To achieve maximum efficiency, transfer a high quality file to the cloud only once, and then perform multiple encodes in parallel. -4-
  • 6. 4. Syndicate from the cloud after transcoding Whether you transcode in the cloud or on-premise, some bandwith is required. In one case, a high-bitrate mezzanine file is sent to the cloud for transcoding. In the other case, when transcoding on-premise, several transcoded files are sent directly to a CDN, publishing platform, or to partners like iTunes or Hulu. Both cases require outbound bandwidth, and in many cases, syndicating from the cloud requires less overall bandwidth than syndicating from an on-premise system. For example, it is not uncommon for broadcast video to be syndicated at high bitrates. If a broadcaster uses a 100 Mbps mezzanine format, and then syndicates that content to five partners at 50 Mbps, it is clearly more efficient to only send the original file out of the network for transcoding, and let the transcoding system handle the other transfers. Scenario A: high-bitrate syndication • Input file: 100 Mbps • Syndicated output: ∑(50 + 50 + 50 + 50 + 50) = 250 Mbps In this scenario, 150 Mbps of egress bandwidth is saved by syndicating content from the cloud. Fig 5. Comparing Bandwidth Requirements of On-Premise and Cloud Encoding -5-
  • 7. Not everyone syndicates high-bitrate content, of course. But even when encoding low- bitrate web and mobile video, multiple small files adds up. The example below shows actual bitrates recommended for a major OTT video device, encoded to 10 bitrates, for both MP4 and HTTP Live Streaming. Scenario B: low-bitrate syndication • Input file: 50 Mbps • Syndicated output: ∑(9 + 6 + 4.5 + 3.4 + 2.25 + 1.5 + 1.1 + 0.75 + 0.55 + 0.35 + 9 + 6 + 4.5 + 3.4 + 2.25 + 1.5 + 1.1 + 0.75 + 0.55 + 0.35) = 58.8 Mbps Even in this scenario, sending a 50 Mbps file to the cloud requires less overall bandwidth than transcoding internally and delivering all 20 formats separately; and the original is maintained in the cloud for subsequent transcoding. To save transfer bandwidth, syndicate content from external encoding system. Conclusion While transferring high-bitrate video can be a challenge, the correct approach to cloud transcoding can mitigate these problems. High volume publishers should follow these four basic guidelines: ‣ Store content in the cloud ‣ Use accelerated file transfer technology ‣ Ingest each file once to a parallel cloud transcoding system ‣ Syndicate directly from the cloud By implementing these recommendations, media companies of all types can offload video processing to the cloud, and realize the benefits of scale, flexibility, and ROI provided by cloud transcoding. -6-
  • 8. Appendix: Bandwidth Growth There is one important fundamental driver that is helping to solve the bandwidth problem: cheaper and wider bandwidth. Neilsen's Law of Internet Bandwidth has tracked accurately from 1983 to the present, and states that high-end Internet connection speeds will increase by 50% per year. Video bitrates are growing at a slower rate, and so sending high-bitrate content over the Internet will become less of a problem over time. Fig 6. Average Internet Connectivity and Sample Streaming Bitrates But it isn’t enough to wait for internet bandwidth to improve. The right architecture, covered in the body of this document, is still required to efficiently transcode high bitrate content and large libraries. -7-