Menu
Sign In Search Podcasts Libraries Charts People & Topics Add Podcast API Blog Pricing

Kieran Kunhya

πŸ‘€ Speaker
1922 total appearances

Appearances Over Time

Podcast Appearances

Lex Fridman Podcast
#496 – FFmpeg: The Incredible Technology Behind Video on the Internet

Because in most of the modern broadcasting services, you can pause and you can go on.

Lex Fridman Podcast
#496 – FFmpeg: The Incredible Technology Behind Video on the Internet

But when you're sending live streaming, whether it's broadcast or live for streaming services, which are live, this is much more difficult because you need to

Lex Fridman Podcast
#496 – FFmpeg: The Incredible Technology Behind Video on the Internet

encode in real time.

Lex Fridman Podcast
#496 – FFmpeg: The Incredible Technology Behind Video on the Internet

When you go on a satellite, you have a specific size of the link, right?

Lex Fridman Podcast
#496 – FFmpeg: The Incredible Technology Behind Video on the Internet

You cannot have a burst of bandwidth even for a second, right?

Lex Fridman Podcast
#496 – FFmpeg: The Incredible Technology Behind Video on the Internet

Because you don't have the space for that in your total file.

Lex Fridman Podcast
#496 – FFmpeg: The Incredible Technology Behind Video on the Internet

However, there is different types of challenges, which are interesting challenges, but I think they are less complex than the one we've seen with late 90s and early 2000s about broadcasting and streaming through satellite.

Lex Fridman Podcast
#496 – FFmpeg: The Incredible Technology Behind Video on the Internet

In the streaming world, what you have is what we call adaptive streaming, because the difficulty, and it's not really a video problem, it's mostly a CDN problem, is that you might have too many people watching the same thing at the same time, and it's a congestion of the network.

Lex Fridman Podcast
#496 – FFmpeg: The Incredible Technology Behind Video on the Internet

So your player has difficulty downloading things fast enough to play them.

Lex Fridman Podcast
#496 – FFmpeg: The Incredible Technology Behind Video on the Internet

So what happens is that locally, the player is going to

Lex Fridman Podcast
#496 – FFmpeg: The Incredible Technology Behind Video on the Internet

read a lower resolution of it.

Lex Fridman Podcast
#496 – FFmpeg: The Incredible Technology Behind Video on the Internet

But there are some very clever algorithms to do that, but most of it is quite basic, to be honest.

Lex Fridman Podcast
#496 – FFmpeg: The Incredible Technology Behind Video on the Internet

Even on the buffering side, it's pretty basic.

Lex Fridman Podcast
#496 – FFmpeg: The Incredible Technology Behind Video on the Internet

Yeah, you start to download a segment, what we call a segment, and then you time, right?

Lex Fridman Podcast
#496 – FFmpeg: The Incredible Technology Behind Video on the Internet

And if it takes more than 50% of the time to download the segment, you go down to, right?

Lex Fridman Podcast
#496 – FFmpeg: The Incredible Technology Behind Video on the Internet

And the difficulty is more about when do you go up in bandwidth, in quality.

Lex Fridman Podcast
#496 – FFmpeg: The Incredible Technology Behind Video on the Internet

This is not very complex to do.

Lex Fridman Podcast
#496 – FFmpeg: The Incredible Technology Behind Video on the Internet

When you encode, you're going to encode seven resolutions, right?

Lex Fridman Podcast
#496 – FFmpeg: The Incredible Technology Behind Video on the Internet

And you're going to give the bitrate.

Lex Fridman Podcast
#496 – FFmpeg: The Incredible Technology Behind Video on the Internet

The difficulty is to have your encoder give the same bitrate, but it's not as strict as it used to be.