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

What I call north-east, north-west, and so on, right?

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

But that's eight directions.

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

Then you can do more directions.

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

You can do 16 or 69 or 128, right?

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

You can... And every time your encoder is going to spend more time to see, oh, well, these blocks is exactly this one.

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

And those type of tools that you can bring.

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

And the encoder needs to check which of the tools are going to compress you better.

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

And so...

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

I guess that AV1 encoding is two order of magnitudes more than H.264 in terms of CPU cycle, right?

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

Order of magnitudes, right?

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

But also, it's the fact that you encode once and you have hundreds of millions of users, right?

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

So, for example, YouTube, a very good example.

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

YouTube encodes almost everything in H.264, but the popular video gets re-encoded in AV1 because...

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

It costs more, of course, to encode, but you encode once and you send that to millions, right?

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

So it's a trade-off between encoding time and complexity and CPU usage on the server side and on the client side.

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

Because at the end, if you're distributing a video to hundreds of thousands of people and the size is half of the other, then it's better.

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

It's better for your batteries, better for your modem, et cetera, et cetera.

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

So you can cut, so you can do cuts.

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

This is what we call intra-only codecs, right?

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

So I'm going to explain quickly what is IPB frames.