Slashdot Mirror


Netflix To Re-Encode Entire 1 Petabyte Video Catalogue In 2016 To Save Bandwidth (variety.com)

An anonymous reader writes: Netflix has spent four years developing a new and more efficient video-encoding process that can shave off 20% in terms of space and bandwidth without reducing the quality of streamed video. With streaming video accounting for 70% of broadband use, the saving is much-needed, although the advent of 4K streaming, higher frame rates and HDR are likely to account for it all soon after. Netflix video algorithms manager Anne Aaron explained to Variety that certain types of video benefit little from the one-size-fits-all compression approach that Netflix has been using until now: "You shouldn't allocate the same amount of bits for My Little Pony as for The Avengers."

40 of 285 comments (clear)

  1. My little pony by Eunuchswear · · Score: 5, Funny

    "You shouldn't allocate the same amount of bits for My Little Pony as for The Avengers."

    So they're dropping the resolution for The Avengers?

    --
    Watch this Heartland Institute video
    1. Re:My little pony by radiumsoup · · Score: 2

      damn, mod points just ran out. Best first post in a long, long time :D

    2. Re:My little pony by Anonymous Coward · · Score: 3, Funny

      Absolutely. I need to see every little pony in all its unpixelated, 4K glory.

      Wait... that didn't come out right.

    3. Re:My little pony by Anonymous Coward · · Score: 2, Funny

      4-year-olds? I love that show, dude. Don't pixelate the pony, bro!

      Compression ruins the glistening of the glitter and the graceful flowing of manes during brisk gallops.
           

    4. Re:My little pony by Kagato · · Score: 5, Interesting

      On a serious note, animated content is much harder for the 8-bit encoding. It's the hard edges with high contrast cell shading. You get a lot more compression artifacts than a typical movie. You can resolve this by using 10-bit encoding, but there's a lot of Netflix devices with embedding video codecs. They really can't change, and almost none of the chipsets out there support 10-bit decoding. So that leaves option two, which is to increase the bitrate.

    5. Re:My little pony by subk · · Score: 2

      animated content is much harder for the 8-bit encoding. It's the hard edges with high contrast cell shading.

      Nonsense. Animation is optimized for compression.. It's already dithered to a limited color set! Whole swathes of pixels get the same value. Sure, you might be able to SEE the compression.. But it is a breeze for the hardware, and bitrates can be dramatically reduced compared to the baseband 4-2-2 video.

      --
      Now, if you'll excuse me, I have backups to corrupt.
    6. Re:My little pony by marcansoft · · Score: 4, Informative

      That animated content benefits from 10-bit encoding is true. That has less to do with hard edges and more to do with banding artifacts on flat shaded areas - TFA actually goes into that, mentioning soft focus and fog as producing hard-to-encode gradients, the same kind of gradients present in many kinds of animation and which would benefit from using 10-bit mode. Hard edges do tend to be hard to encode with typical video codecs too (but 10-bit probably won't help you there).

      However, My Little Pony isn't a particularly good example, because it's full of completely flat areas that are trivial to encode. It might take a higher quality setting than you might expect to look crisp, but at the end of the day, you're going to be spending fewer bits per frame on it than on The Avengers. Animation has its own set of encoding tradeoffs/challenges (which is why good encoders have presets tuned for animation).

    7. Re:My little pony by Anonymous Coward · · Score: 3, Interesting

      I recode a lot of video (don't ask), and in my experience, animation is a lot easier on the resulting files for the same quality. The absolute worst you can do if you want small high quality files is "film grain", whether it is from a bad source or artificially added for artistic reasons. Second worst is a badly compressed source with lots of artifacts. Then there's video with lots of small objects moving across a detailed background. The hard contrasts at the edges of cell shaded videos are only problematic if you don't have a good quality source, i.e. if your source already has lots of compression artifacts.

  2. Another year, another video codec... by Viol8 · · Score: 4, Interesting

    Shaving 20% off seems pretty optimistic to me. Unless they've suddenly discovered some whole new realm of compression mathematics I'd be surprised if thats anything more than a peak compression in some rare edge cases.

    1. Re:Another year, another video codec... by hawguy · · Score: 5, Interesting

      Shaving 20% off seems pretty optimistic to me. Unless they've suddenly discovered some whole new realm of compression mathematics I'd be surprised if thats anything more than a peak compression in some rare edge cases.

      Sounds more like as a part of re-compression, they are going to drop the bitrate (and video quality?) for videos that don't "need" it:

      certain types of video benefit little from the one-size-fits-all compression approach that Netflix has been using until now: "You shouldn't allocate the same amount of bits for My Little Pony as for The Avengers."

    2. Re:Another year, another video codec... by c0d3g33k · · Score: 4, Insightful

      I suspect that by the time of this announcement they have already done the testing, so have a good idea of how much they can optimize. From the article, it's more about optimizing compression parameters to fit the source material rather than taking a one-size-fits-all approach.

    3. Re:Another year, another video codec... by magarity · · Score: 2

      Sounds more like as a part of re-compression, they are going to drop the bitrate (and video quality?) for videos that don't "need" it:

      Is it the bitrate that's being changed? I took the part about Pony vs Avengers to mean animation vs live action are better compressed by completely different algorythms.

    4. Re:Another year, another video codec... by Anonymous Coward · · Score: 5, Informative

      The article is actually in English, you know.

      "The new system will encode from the raw source material more intelligently, considering whether or not the material itself can really benefit from higher bit-rates, or whether identical quality can be maintained with less space and bandwidth."

    5. Re:Another year, another video codec... by JackieBrown · · Score: 3, Interesting

      I am in the process of moving my fiancee's dvd/bluray collection to my server and putting her physical copies in storage. Using Handbrake, switching from x264 to x265 saves me at lease 10 % on dvd sources and closer to 30+% on the bluray sources.

    6. Re:Another year, another video codec... by bagofbeans · · Score: 3, Interesting

      I remember ripping my CD collection to ogg, only have to do it again years later to flac when space got cheaper. The ogg was fine, but not a good source for re-encoding to another format such as mp3.

      If I was going to rip movies, I'd keep the original streams. You'll never spare the time again to re-rip, even if you you think now that you will.

    7. Re:Another year, another video codec... by omnichad · · Score: 2, Informative

      Re-compressing BD kind of defeats the whole point of bothering with BD. Plus you magnify the aforementioned decode support issues.

      I disagree there. They have 50GB to fill and they're going to use as much as they can and likely CBR. If you use Handbrake with CRF at 18 or so, you're not going to see a difference, and you're going to save a bit on hardware if you have a large collection to rip.

      But when ripping TV content where several episodes are crammed onto one disc, compare the output to the original. You may have made a larger file.

      As for DTS-MA, you could probably extract DTS core and still have way better than DVD audio. For no explainable reason, I preserve the full DTS-MA.

    8. Re:Another year, another video codec... by CelticWhisper · · Score: 2

      You shouldn't. "NAS" drives, at least as they come from WD, are just Greens with TLER so they don't drop out of RAID. If you're not RAIDing, or if you're doing software RAID with MDADM or ZFS, shouldn't matter what you use. Even with hardware RAID, it really only matters if you're doing parity RAID. 1 or 10 won't care.

      --
      Help protect civil rights from abuse by the TSA - visit TSA News Blog.
      http://www.tsanewsblog.com
  3. 90's sat tech by silas_moeckel · · Score: 2

    Back in the MPEG2 Sat days they regularly used different bit rates depending on content talking heads very little compared to full out for sports and action movies. An actual knowledgeable encoding tech can do wonders, higher quality source material can also do wonders.

    --
    No sir I dont like it.
    1. Re:90's sat tech by c0d3g33k · · Score: 3, Interesting

      Netflix probably aren't too keen on the idea of paying people to puzzle over what compression would best suit each and every item in their 1-Petabyte video library.

      The summary says they spent four years developing the new approach. I suspect that paying people to puzzle over (in layman's terms: do research) how to improve the encoding across their Petabyte video library was exactly what they did.

  4. Multipass by bjb_admin · · Score: 2

    Almost sounds to me like they have switched to multiple pass encoding, rather than a fixed quality/bandwidth setting.

    "The new system will encode from the raw source material more intelligently, considering whether or not the material itself can really benefit from higher bit-rates, or whether identical quality can be maintained with less space and bandwidth."

  5. Repetition by Impy+the+Impiuos+Imp · · Score: 4, Insightful

    They can save about 500% of my bandwidth by just letting me perma-download Family Guy, American Dad, and Buffy, which I keep watching over and over and over again.

    --
    (-1: Post disagrees with my already-settled worldview) is not a valid mod option.
    1. Re:Repetition by c0d3g33k · · Score: 3, Funny

      They can save about 500% of my bandwidth by just letting me perma-download Family Guy, American Dad, and Buffy, which I keep watching over and over and over again.

      Look into something called "Boxed Sets".

    2. Re:Repetition by OzPeter · · Score: 3, Funny

      Look into something called "Boxed Sets".

      So then .. looks like I'll have to buy the white album .. again.

      --
      I am Slashdot. Are you Slashdot as well?
    3. Re:Repetition by jedidiah · · Score: 2

      If you really care about what you're watching and you're planning on watching it again, it really makes much more sense to just get the boxed set. Rip or not but you will still have it after it disappears from Netflix.

      Plus you won't have to worry about the quality of the stream you're getting from Netflix or any other shenanigans they might pull with the original content.

      You don't have to have the entire run of 200 series on your media server. So the HTPC option doesn't need to be too complicated. '-)

      --
      A Pirate and a Puritan look the same on a balance sheet.
  6. Re:Neat... but why? by c0d3g33k · · Score: 5, Insightful

    What problem is this trying to address?

    Saving on bandwidth costs?
    Providing a better streaming experience for customers on poor or throttled connections?
    Storage space savings?
    Getting the satisfaction of doing something better because why not?

  7. class action suit by sunking2 · · Score: 5, Funny

    As a My Little Pony enthusiast who pays the same per month as everyone else I demand the same quality as the Avengers.

    1. Re:class action suit by Kjella · · Score: 3, Funny

      Are you sure you haven't agreed to a binding arbitration agreement? >:-)

      --
      Live today, because you never know what tomorrow brings
    2. Re:class action suit by Tablizer · · Score: 2

      Pony haters will hate.

  8. What we need is the death of "bandwidth caps" by nerdyalien · · Score: 2, Interesting

    I watch YouTube a lot, on average about 2-3 hours a day. As of late, I live in a country where there is a bandwidth cap of 40 GB/month. And I have no option but to YouTube at 144p to avoid extra bandwidth charges.

    I applaud all efforts by tech companies to reduce bandwidth usage (and not to forget, making inter-webs more exciting). Then again, none of those efforts matter, if bandwidth caps are forcing consumers to use internet like back in 90s.

    1. Re:What we need is the death of "bandwidth caps" by Anonymous Coward · · Score: 2, Interesting

      GB limited bandwidth caps only serve to show the ISP is third tier at best. They obviously don't buy internet bandwidth in any normal fashion.

      Why? A 40 GB cap just serves to tell people "Only use it for an hour or two at peak times when it is the most congested!". Now you need really fat pipes that sit unused most of the day.

      A proper method to limit usage that will actually save the ISP money would be to figure out your 95th percentile peak hours (You know, the same way you're billed by the first tier providers you're supposed to be buying bandwidth from...) and cap usage during that time. Let's say those hours are 7 - 9 pm. You get 40 GB total usage during that time, and if you step outside of your cap you're either billed extra or your internet turns off from 7-9.

      Outside of those peak hours, your usage is unlimited. You want to decrease your peak hours and increase your non-peak hours to balance the network and make the best use of the bandwidth you have.

      Now let's think of the "abuser", the one who does 1.6 TB a month at 5 mbits (I've been there!). If your peak hours are 7-9 pm, and at all other times your traffic is low enough that another 5 mbit doesn't max our your pipes, that abuser is only causing trouble for 3 hours a day. The rest of the data is inconsequential to running your business. By pricing your services properly, that abuser now becomes a good customer. They adjust their internet usage in just a small way (ending downloads for 3 hours a day, reducing their consumption to 1.4 TB) and everyone else wins (the internet goes 5 mbits faster during those congestion times); and you get to keep them as a paying customer that is now a profitable customer.

      Why ISPs keep doing this dumb thing of telling those customers to leave, I don't know. That heavy user is typically the one family and friends ask which ISP to use. You think they're going to recommend one that worked to kick them off the network? Especially when a mutually beneficial solution was easy to implement?

      And yes, if you are Netflix, you can work your application around peak hours. There is no reason why Netflix couldn't precache content it knows you are interested in during the least used hours of the day. Now you magically have 0 mbits usage from 7-9 pm. It's the ISPs own fault for having an idiotic business model, especially since they resell service from top tier ISPs that are willing to explain the proper business model to them. For free. Ugh...

    2. Re:What we need is the death of "bandwidth caps" by 93+Escort+Wagon · · Score: 2

      I hear everything's up to date in Kansas City - they've gone about as far as they can go.

      --
      #DeleteChrome
  9. Netflix's catalog is already shrinking by NotDrWho · · Score: 3, Funny

    With all their efforts concentrated on their original series, it seems like their movie and TV offerings already shrink every month already, without any compression.

    --
    SJW's don't eliminate discrimination. They just expropriate it for themselves.
  10. Re:Neat... but why? by loony · · Score: 5, Insightful

    Three words: Comcast data cap...

    Peter.

  11. Re:Neat... but why? by Junta · · Score: 2, Interesting

    Actually I doubt they'd reduce the color precision from 24 bit (it's not 32 bit).

    In fact, content with lots of synthetic content can sometimes be smaller by being 30 bit instead of 24 bit (think how often synthetic content puts in gradients, with 24 bit those gradients are more dithered than 30 bit, and the compression algorithms struggle a bit more with what appears to be 'noisy' content from dithering compared to less noisy undithered content).

    Of course this is using general purpose algorithms that are used for both animated and photorealistic alike. There may be some gains in theory from a codec focused exclusively on animated content, but in practice no one seems to think it's worth the trouble to pursue.

    --
    XML is like violence. If it doesn't solve the problem, use more.
  12. Re:Neat... but why? by c0d3g33k · · Score: 2

    What problem is this trying to address?

    Saving on bandwidth costs?
    Providing a better streaming experience for customers on poor or throttled connections?
    Storage space savings?

    So nothing that's REALLY important then?

    So what would something REALLY important be?

  13. Re:Neat... but why? by Junta · · Score: 2

    Maybe better implementations of existing algorithms, but they have to tread carefully about new algorithms.

    I assume today they use H264 and the re-encode would just be newer implementation of H264 encode/different settings than they used before.

    They could get more from jumping to HEVC, but netflix is on crap tons of smart TVs and such.

    Of course that's not to say they transcode to HEVC and client advertises whether it's H264 or HEVC and netflix just keeps both H264 and HEVC live on their CDN, if capacity is no big deal.

    It's obvious it saves bandwidth, and if Netflix were having someone manually babysit instances of a transcoder that would be ridiculous. Every transcoder is automation friendly and assuming they've done it all right it's a matter of kicking off a massive parallel job to chew on the library using their idle capacity. It's a common thing to do when you have low priority workload and gobs of servers. Now if they are having people hand review the result of the transcode for video quality issues that would be expensive, but I doubt they would. They would cherry pick a few representative scenes of content and verify their batch job looks good and fire away. Then they would rely upon user issue reports to catch anything they may have missed.

    --
    XML is like violence. If it doesn't solve the problem, use more.
  14. Re:Neat... but why? by cdrudge · · Score: 2

    Improved sarcasm enhancement

  15. Re:Neat... but why? by Mariner28 · · Score: 2

    So can someone tell me how this doesn't violate Net Neutrality rules? Video streamed from Comcast's own source properties doesn't count towards data caps, yet watching the same movie from Netflix does? And Netflix has their own caching servers installed directly inside Comcast's distribution network? WTF?

    --
    "A little misunderstanding? Galileo and the Pope had a little misunderstanding."
  16. Re:Neat... but why? by omnichad · · Score: 2

    Haven't been to Dollar General lately, have you? They've been selling off the majority of their DVDs and not replacing damaged ones. I have movies that have been on my queue for years that are now (permanently) unavailable. I had a big backlog and now I don't really have a way to watch them - they're certainly not available for streaming. And they already put rental stores out of business. I would literally have to buy some of these movies to watch them.

  17. Re:How's 4K streaming ever going to happen? by Anubis+IV · · Score: 2

    4K is not going to happen unless [...]

    It seems a bit odd to suggest it can't happen when 4K streaming is already happening. The main selling point of Netflix's top streaming tier is that it grants you access to their "Ultra HD" (i.e. 4K) catalog. YouTube has had 4K support since late 2013 and has quietly been adding support for even higher resolutions in the last two years. You can already find content available at resolutions as high as 8K (e.g. this video). One of the production houses I follow on YouTube makes most of their animated content available at 4K and is moving more and more of their live action content over to 4K as they get more 4K cameras into the hands of their teams.

    And the pipes are already good enough. Netflix's 4K content only requires a sustained 25 Mbps connection, which is orders of magnitude more common in US households than 4K TVs are.

    Comcast, TWC, et al. are certainly deserving of a good raking over the coals, but when it comes to their ability to deliver 4K streaming capability...well, that bar is actually pretty low, and they've pretty much already met it. 25 Mbps plans are not particularly difficult to come by in most of the US, though I'm quite aware that some regions are woefully underserved and that prices for those plans remain unjustifiably high. For instance, the area where I live (Bryan/College Station, Texas, smack dab in the middle between Houston, Dallas, San Antonio, and Austin) is officially classified as a metropolitan area, but Internet plans here cost 34x that of peer cities not too long ago (that "34x" is sadly not a typo), simply because we don't have any adjacent urban centers.