How Netflix Reduced 20% Streaming Costs With a Clever Encoding Trick

Поделиться
HTML-код
  • Опубликовано: 23 янв 2025

Комментарии • 84

  • @redesignuxui
    @redesignuxui  Месяц назад +18

    I made a discord server for us where I can share UX/UI tips, potential job connections, frontend knowledge and talk to all you guys! I’d love to get to know all of you and become friends :)
    discord.gg/QFuTudvccw

  • @cs8712
    @cs8712 Месяц назад +168

    netflix: *reduces streaming costs 20%*
    also netflix: *increases streaming costs by 20%*

  • @bits360wastaken
    @bits360wastaken Месяц назад +105

    TLDR: They used the av1 codec with crf instead of constant bitrate, the video didnt even mention the av1 part. You can do this on your own computer for free with handbrake or not enough av1 encodes. Your welcome.

    • @Ori-lp2fm
      @Ori-lp2fm 18 дней назад

      More a fan of FASTFLIX

  • @th3h0tpegla35
    @th3h0tpegla35 22 дня назад +16

    The clever trick in question: serving only 720p for anyone who is not using their proprietary app, even if the user is paying for 4K.

  • @drexw9
    @drexw9 26 дней назад +31

    0:42 "One hundred eighty P." *Closes video*

  • @dampfwatze
    @dampfwatze Месяц назад +218

    Isn't that the same as setting the -crf flag on ffmpeg??

    • @MrScoffins
      @MrScoffins Месяц назад +48

      Exactly what I was thinking. Been doing this for years with my own video encoding.

    • @zacker150
      @zacker150 Месяц назад +55

      Not quit. Netflix is doing the equivalent of finding the optimal ffmpeg parameters for each title.

    • @CrushedAsian255
      @CrushedAsian255 Месяц назад +5

      Also -pass

    • @jmtradbr
      @jmtradbr Месяц назад +18

      They need to look more complicated than it seems so they don't look cheap.

    • @lokomen9
      @lokomen9 Месяц назад +27

      No - a lets say 18 crf, can result in VMAF 98 and VMAF 92 - where 98 is indistingusable from source and 92 is shit.
      You cannot just use "x" crf
      Some scenes might be 92 and others 98, with same CRF
      So what netflix does, is split the video into scenes, encode those for "x" vmaf like 95, so its encoded by quality, not static params.
      It is similar to using av1an's target-quality setting :)

  • @ArturoEspinosaAldama
    @ArturoEspinosaAldama Месяц назад +52

    hahaha, the "temporal complexity"... just slap some complexity graph from the Wikipedias or google images, no matter if it is a totally different topic (algorithm complexity). It's so funny when visual cues end up being totally distracting for being so bad or poorly selected. Kind of makes one think that the authors don't really know much, or didn't investigate too well...

  • @dokerb3d60
    @dokerb3d60 Месяц назад +9

    wow amazing, what a geniuses! tweaking encoding settings is truly groundbreaking achievement. no one ever did this!

  • @ShiftSad
    @ShiftSad Месяц назад +27

    Take a shot everytime she said 1080p at 1.5mb/s

    • @Rubysh88
      @Rubysh88 19 дней назад +2

      I really dislike how they repeat the same thing/point multiple times...

    • @Furzide
      @Furzide 13 дней назад

      Hella annoying I thought the video was on loop

  • @laktionof
    @laktionof Месяц назад +38

    From this video I remembered that for stand-ups and cartoons in 1080p about 1.5 Mbps is enough

  • @Petch85
    @Petch85 Месяц назад +46

    I would expect that netflix are using dedicated encoder hardware. The encoders build into modern GPUs can encode video much more efficiently and much faster than CPU cores.

    • @EduardoEscarez
      @EduardoEscarez Месяц назад +22

      Video on demand doesn't need fast encoding because there can be months between the end of production and its delivery; so it is possible to prioritize fine tuning and conversion to as many targets (device, screen size, bandwidth) as possible and then deliver the files to the CDN/PoP networks before the release date.
      Live video is different and more tricky, because you want the optimizations but without adding too much delay, so it's more restrictive.

    • @Rsonny
      @Rsonny Месяц назад +1

      ​@@EduardoEscarez Hmm perhaps that's why there were so many complaints with the Mike Tyson vs Jake Paul fight stream.

    • @kazedcat
      @kazedcat Месяц назад +4

      Hardware encoders are fast but they are not the best in bandwidth optimization. For maximum compression efficiency two pass software encoding do much better.

  • @subatomicmolecules
    @subatomicmolecules 20 дней назад +3

    Also Netflix : has the worst 1080p quality of any service

  • @RandomGeometryDashStuff
    @RandomGeometryDashStuff Месяц назад +19

    08:41 > as Netflix's Library grows the encoding workload increases
    do you mean number of movies added per week grows?
    encoding workload doesn't need to increase if total amount of movies increases but number added per week stays same

  • @yejemoleg9821
    @yejemoleg9821 Месяц назад +34

    i need more of this in my feed and way more less brain rot

    • @Rsonny
      @Rsonny Месяц назад +6

      Keep watching more of this and your feed will fix itself

  • @jondycz
    @jondycz Месяц назад +8

    5:59 - meant to say mbits

  • @yassine-sa
    @yassine-sa 18 дней назад +1

    4:00 my thoughts right now is to try variable bitrate throughout the content instead of making it constant for some given title, even in marvel movies there are a lot of scenes that are quite static and don't need the bitrate action scenes need

  • @Jwellsuhhuh
    @Jwellsuhhuh Месяц назад +3

    CBR is so old no one uses it. It’s only used sometimes when encoding needs to be extremely fast such as shooting slo mo or screen capturing/live streaming at high resolution and fps. VBR has always been used for online digital media.

  • @alexdefoc6919
    @alexdefoc6919 Месяц назад +5

    Interesting is the fact that i ussually subscribe not to watch more videos but to support the person. This video came on my feed and i was curious. Glad to have some vids already recomended that is from a person i subscribed to. :))

  • @lewisitor
    @lewisitor Месяц назад +3

    Everything was okay, till it was tested during the Tyson vs Paul match last November 2024.😅😅😅

  • @stepanzpevak
    @stepanzpevak 26 дней назад +2

    0:41 Learn numbers... Closing video

  • @theohallenius8882
    @theohallenius8882 17 дней назад

    They realized they can charge everyone for 4K but give them 1080p

  • @Daxicek
    @Daxicek Месяц назад +5

    How does this channel have only 18k subscribers? Your videos are amazing! 👍

  • @RandomGeometryDashStuff
    @RandomGeometryDashStuff Месяц назад +2

    08:14 did they put cpu with more cores in server and run {number of cores} encoders?

  • @ajdz1840
    @ajdz1840 24 дня назад

    This video convinced me Netflix deliberately designs their menus to make it hard to decide what to watch so as to save them bandwidth

    • @DavidKen878
      @DavidKen878 19 дней назад

      How does the design of a menu make it hard to decide what to watch?

  • @meamyr
    @meamyr Месяц назад +1

    idk why, but your videos are SO interesting

  • @djordje1999
    @djordje1999 20 дней назад

    We need faster global network.. Everything is faster nowdays: SSD, CPU, refrashrate just network stays kinda same...

  • @Monkeymario.
    @Monkeymario. Месяц назад +1

    Maybe RUclips should do what Netflix is doing to save on costs and buy more storage. Unless if there is a reason they shouldn't (if so, tell me why) or they are already doing it (if so, tell me they are).

    • @KabelkowyJoe
      @KabelkowyJoe Месяц назад

      Netflix invented nothing this video is pure bs what was described is defacto standard fo 2 pass encoding ever sinve first mpeg4 codec was introduced DivX 20 years ago or more,

    • @DavidKen878
      @DavidKen878 19 дней назад

      @@KabelkowyJoeYou realize you said that to a kid who has zero idea what you're talking about right? 😂

  • @jurgennicht4626
    @jurgennicht4626 Месяц назад +1

    I thought VBR is supposed to automatically optimize bitrate?

    • @EduardoEscarez
      @EduardoEscarez Месяц назад +2

      It does, but conventional algorithms are designed to address different kinds of videos and scenarios, so they can be ineffective to some degree. What Netflix does is using their software to pinpoint the most efficient optimization strategy possible because it has enough time between the end of production and the delivery of content to do it.

  • @XCOJO
    @XCOJO Месяц назад

    Great Videos have been around since the beginning

  • @mutuka
    @mutuka Месяц назад +5

    Netflix didn't really democratize 4K content, 4K still costs extra for the user as the Netflix Premium plan is required. The standard plan is limited to 1080p.
    Good video though, as is lowering bandwidth requirements🙂

  • @User9681e
    @User9681e Месяц назад

    It does compromise quality and I can notice it with pirating bluerays and comparing with webdl (Netflix quality)

  • @NFvidoJagg2
    @NFvidoJagg2 Месяц назад

    Now we just need prime's reaction to this

  • @prathamesh4293
    @prathamesh4293 Месяц назад +1

    20k 7days

  • @DIoxide-ck8uy
    @DIoxide-ck8uy 19 дней назад

    And streaming quality is way worse then bluray and 4K bluray 😂😂

  • @njpme
    @njpme Месяц назад +1

    How they couldn't do this with the Tyson vs Paul fight? 🤔

    • @agoogleuser1916
      @agoogleuser1916 Месяц назад +2

      Thats why youtube is considered as a miracle

    • @Rsonny
      @Rsonny Месяц назад +1

      It was live, that's the reason it sucked. This system is hyper-optimised for Video -on-Demand content

    • @njpme
      @njpme Месяц назад

      @@Rsonny they had months to prepare for it. If RUclips can do it and Peacock can do the World Cup and Olympics, I don't see the excuse here.

    • @PrograError
      @PrograError Месяц назад

      @@njpme that's where the issue comes from... the brains ain't where it is... they are specialised in on-demand stuff...

  • @mukulrstar
    @mukulrstar Месяц назад

    Hey, just wondering, are you Indian? I have been watching your videos for a few days now, they seem good.

  • @regisegek4675
    @regisegek4675 Месяц назад

    DVB or broadcasting is better tough : )

  • @digitalsparky
    @digitalsparky Месяц назад

    Was their clever encoding trick just to stop making and distributing quality shows? coz it worked...

  • @yachidan
    @yachidan Месяц назад

    Thank you for great content

  • @michaelseanchang
    @michaelseanchang Месяц назад

    anything but let people download the content. and no one wants to download on their phone.

    • @DavidKen878
      @DavidKen878 19 дней назад

      Based on your subscriptions, I would think you would be smart enough to know that's not their fault.

    • @michaelseanchang
      @michaelseanchang 17 дней назад

      @DavidKen878 i know they have pressures, to drm, but their competition is torrents. desktop client with drm on downloads would be quite nifty.

  • @SevenDeMagnus
    @SevenDeMagnus Месяц назад

    Cool, Elon's DOGE can apply this.
    God bless.

  • @ByteBite101
    @ByteBite101 Месяц назад +1

    🔥

  • @jamess1787
    @jamess1787 Месяц назад

    You did a PHENOMENAL job with this one. SUBBED

  • @simplemechanics246
    @simplemechanics246 Месяц назад +5

    This pure BS. They do not need anything like that because they have on every country the local storage servers. This is beneficial for them and local service providers. So, compression story is pure BS

    • @dputra
      @dputra Месяц назад +4

      CDN still cost money wherever they are. They might encode the videos in a central data center, say USA, then they distribute the encoded files to datacenters across the globe.
      Streaming services isn't cheap to operate. Every megabytes of storage and bandwidth saved will compounds to hundred thousands, if not millions, of dollars very easily.

    • @jamess1787
      @jamess1787 Месяц назад +3

      This guy has no idea how things work.
      Optimizing bandwidth usage is a no brainier. If you can reduce your usage you can provide more with less. Instead of having 40Gbps uplink, you can now get away with 20Gbps.
      Using less for more customers while not sacrificing quality makes the most sense for storage.
      I did live video transcoding at a former job, so this is right up the alley.
      I've been 6" away from one of their CDN nodes 3 server+storage. Her references are for a "typical" high bandwidth CDN node; no idea about savings, but the maintenance and server cost seems to math.

    • @bits360wastaken
      @bits360wastaken Месяц назад

      Storage is free. Bandwidth is not. They need a LOT of bandwidth, enough to send many movies many times over. This is expensive. Lowering the amount of bandwidth they need to send a video also lowers the amount of bandwidth they need to pay for to send that video.