On-demand real time transcoding

Zoltán Németh
Zoltán NémethSenior Engineering Manager at IBM Watson Media, Budapest Lab (former Ustream)
ON-DEMAND TRANSCODING
Németh Zoltán, Backend Lead Engineer, Ustream

We. Are.
NOW PLAYING

ON-DEMAND TRANSCODING

1

May 02, 2012

.
A PROBLÉMA
 Mindenféle eszközről broadcastolnak
mindenféle codec, felbontás, bitráta
használatával
 Egyes eszközök (főleg iOS) ennek csak
egy szűk részhalmazát képesek lejátszani
NOW PLAYING

ON-DEMAND TRANSCODING

2

May 02, 2012
A MEGOLDÁS
 Konvertáljuk a live streamet olyanra amit a
kliens le tud játszani, jellemzően H264-re
 Ehhez real time kell minden frame-t
dekódolni és újra kódolni
 Ha iOS akkor szegmentálni is kell a HTTP
streaminghez
NOW PLAYING

ON-DEMAND TRANSCODING

3

May 02, 2012
A FOLYAMAT

NOW PLAYING

ON-DEMAND TRANSCODING

4

May 02, 2012
AZ RTMP TRANSCODER
 C-ben írt RTMP kliens alkalmazás, FMSről tölti a streamet és oda is broadcastolja
vissza az új verziót
 Legtöbb ismert video és audio codec-et
képes dekódolni
 Preset-ek alapján csinálja az encodingot
NOW PLAYING

ON-DEMAND TRANSCODING

5

May 02, 2012
JELENLEGI HELYZET
 Minden iOS lejátszás
 Android esetében ha a felbontás / bitráta
túl nagy
 Csúcsidőben kb 800 stream

NOW PLAYING

ON-DEMAND TRANSCODING

6

May 02, 2012
KÖVETKEZŐ LÉPÉS
 GPU alapú transcoder gépekkel kevesebb
szerverrel több stream transcodeolható
 A megoldás már kész, hamarosan
bevetjük éles üzemben is

NOW PLAYING

ON-DEMAND TRANSCODING

7

May 02, 2012
KÉRDÉSEK?
syntaxerror@ustream.tv
We. Are.
NOW PLAYING

ON-DEMAND TRANSCODING

8

May 02, 2012

.
1 of 8

Recommended

Building our own CDN by
Building our own CDNBuilding our own CDN
Building our own CDNZoltán Németh
2K views25 slides
Understanding DPDK by
Understanding DPDKUnderstanding DPDK
Understanding DPDKDenys Haryachyy
102.5K views42 slides
Reveal The Secrets of Your Videos by
Reveal The Secrets of Your VideosReveal The Secrets of Your Videos
Reveal The Secrets of Your VideosZoltán Németh
88 views30 slides
Voxxed Days Belgrade 2017 - How not to do DevOps by
Voxxed Days Belgrade 2017 - How not to do DevOpsVoxxed Days Belgrade 2017 - How not to do DevOps
Voxxed Days Belgrade 2017 - How not to do DevOpsZoltán Németh
391 views25 slides
Scalable service architectures @ VDB16 by
Scalable service architectures @ VDB16Scalable service architectures @ VDB16
Scalable service architectures @ VDB16Zoltán Németh
506 views26 slides
Scalable service architectures @ BWS16 by
Scalable service architectures @ BWS16Scalable service architectures @ BWS16
Scalable service architectures @ BWS16Zoltán Németh
495 views22 slides

More Related Content

Featured

ChatGPT and the Future of Work - Clark Boyd by
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
27.1K views69 slides
Getting into the tech field. what next by
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
6.4K views22 slides
Google's Just Not That Into You: Understanding Core Updates & Search Intent by
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
6.8K views99 slides
How to have difficult conversations by
How to have difficult conversations How to have difficult conversations
How to have difficult conversations Rajiv Jayarajah, MAppComm, ACC
5.5K views19 slides
Introduction to Data Science by
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data ScienceChristy Abraham Joy
82.5K views51 slides
Time Management & Productivity - Best Practices by
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
169.8K views42 slides

Featured(20)

ChatGPT and the Future of Work - Clark Boyd by 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 Boyd27.1K views
Getting into the tech field. what next by Tessa Mero
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
Tessa Mero6.4K views
Google's Just Not That Into You: Understanding Core Updates & Search Intent by Lily Ray
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
Lily Ray6.8K views
Time Management & Productivity - Best Practices by Vit Horky
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
Vit Horky169.8K views
The six step guide to practical project management by MindGenius
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
MindGenius36.7K views
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright... by RachelPearson36
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...
RachelPearson3612.7K views
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present... by Applitools
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...
Applitools55.5K views
12 Ways to Increase Your Influence at Work by GetSmarter
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
GetSmarter401.7K views
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G... by DevGAMM Conference
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
DevGAMM Conference3.6K views
Barbie - Brand Strategy Presentation by Erica Santiago
Barbie - Brand Strategy PresentationBarbie - Brand Strategy Presentation
Barbie - Brand Strategy Presentation
Erica Santiago25.1K views
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well by Saba Software
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them wellGood Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Saba Software25.3K views
Introduction to C Programming Language by Simplilearn
Introduction to C Programming LanguageIntroduction to C Programming Language
Introduction to C Programming Language
Simplilearn8.4K views
The Pixar Way: 37 Quotes on Developing and Maintaining a Creative Company (fr... by Palo Alto Software
The Pixar Way: 37 Quotes on Developing and Maintaining a Creative Company (fr...The Pixar Way: 37 Quotes on Developing and Maintaining a Creative Company (fr...
The Pixar Way: 37 Quotes on Developing and Maintaining a Creative Company (fr...
Palo Alto Software88.4K views
9 Tips for a Work-free Vacation by Weekdone.com
9 Tips for a Work-free Vacation9 Tips for a Work-free Vacation
9 Tips for a Work-free Vacation
Weekdone.com7.2K views
How to Map Your Future by SlideShop.com
How to Map Your FutureHow to Map Your Future
How to Map Your Future
SlideShop.com275.1K views

On-demand real time transcoding

  • 1. ON-DEMAND TRANSCODING Németh Zoltán, Backend Lead Engineer, Ustream We. Are. NOW PLAYING ON-DEMAND TRANSCODING 1 May 02, 2012 .
  • 2. A PROBLÉMA  Mindenféle eszközről broadcastolnak mindenféle codec, felbontás, bitráta használatával  Egyes eszközök (főleg iOS) ennek csak egy szűk részhalmazát képesek lejátszani NOW PLAYING ON-DEMAND TRANSCODING 2 May 02, 2012
  • 3. A MEGOLDÁS  Konvertáljuk a live streamet olyanra amit a kliens le tud játszani, jellemzően H264-re  Ehhez real time kell minden frame-t dekódolni és újra kódolni  Ha iOS akkor szegmentálni is kell a HTTP streaminghez NOW PLAYING ON-DEMAND TRANSCODING 3 May 02, 2012
  • 4. A FOLYAMAT NOW PLAYING ON-DEMAND TRANSCODING 4 May 02, 2012
  • 5. AZ RTMP TRANSCODER  C-ben írt RTMP kliens alkalmazás, FMSről tölti a streamet és oda is broadcastolja vissza az új verziót  Legtöbb ismert video és audio codec-et képes dekódolni  Preset-ek alapján csinálja az encodingot NOW PLAYING ON-DEMAND TRANSCODING 5 May 02, 2012
  • 6. JELENLEGI HELYZET  Minden iOS lejátszás  Android esetében ha a felbontás / bitráta túl nagy  Csúcsidőben kb 800 stream NOW PLAYING ON-DEMAND TRANSCODING 6 May 02, 2012
  • 7. KÖVETKEZŐ LÉPÉS  GPU alapú transcoder gépekkel kevesebb szerverrel több stream transcodeolható  A megoldás már kész, hamarosan bevetjük éles üzemben is NOW PLAYING ON-DEMAND TRANSCODING 7 May 02, 2012