Slashdot Mirror


Google Rolls Out VP9 Encoding For YouTube

An anonymous reader writes: The YouTube engineering blog announced that they've begun encoding videos with Google's open VP9 codec. Their goal is to use the efficiency of VP9 to bring better quality video to people in low-bandwidth areas, and to spur uptake of 4K video in more developed areas. "[I]f your Internet connection used to only play up to 480p without buffering on YouTube, it can now play silky smooth 720p with VP9."

109 comments

  1. Re:Proprietary formats suck. by Jbcarpen · · Score: 5, Informative

    Er... VP9 is BSD license. I'd hardly call that proprietary. Sure, they may be the only ones using it yet. But I don't see that staying the case for long if it's actually a better format.

    --
    GENERATION 667: The first time you see this, copy it into your sig on any forum and add 1 to the generation
  2. So, h.265? by Anonymous Coward · · Score: 0

    I mean, that's impression I'm getting.

    Also is it just "there"? I mean, I don't see a button in chrome, to videos uploaded today get the new encoding and it's just invisible?

  3. Horrible artifacts by Anonymous Coward · · Score: 0, Interesting

    Yes, they've been streaming VP9 for months, and it still looks like absolute crap. https://imgur.com/4z27DdY

    1. Re:Horrible artifacts by Anonymous Coward · · Score: 0

      And was this encoded to VP9 from a raw images or some mpeg2 video?

    2. Re:Horrible artifacts by ldobehardcore · · Score: 4, Insightful

      That doesn't prove anything. It could have had all those ringing and mosquito noise artifacts when it was uploaded, and the vp9 could be completely transparent. Since we can't see the original file uploaded there's no telling how good or bad VP9 actually is. For all we know, that file could've been encoded in MJPEG then uploaded. Those ringing artifacts are pretty common with JPEG DCT type compression.

      --
      Hectice, baby, Mercator says hello to you
    3. Re:Horrible artifacts by Anonymous Coward · · Score: 0

      Granted, that specific screenshot doesn't show it, but it's easy to see whether there's a problem with Youtube's VP9 encoder by comparing the VP9 and H.264 streams they serve, with a tool like Keepvid for instance.

  4. Re:Proprietary formats suck. by Anonymous Coward · · Score: 1

    A complete failure. If all you wanted was a first post, you would have been better off just randomly typing keys, instead of revealing your complete ignorance.

  5. Re:Money by pseudofrog · · Score: 5, Insightful

    They're able to deliver a better product to their users at a lower cost.

    Wow what a bunch of monsters.

  6. Re:Proprietary formats suck. by Anonymous Coward · · Score: 1

    Youtube Center works perfectly fine to download off youtube.
    How about using an add-on that's actually being worked on?

  7. Yay by Anonymous Coward · · Score: 0

    Another video standard? Thanks DoubleClick... erm, I mean Google!

  8. Re:Money by bill_mcgonigle · · Score: 3, Interesting

    bandwidth costs Google money

    Bandwidth costs everybody money. The worse your options are, the more large bitrates cost, and those costs rise rapidly.

    --
    My God, it's Full of Source!
    OUTSIDE_IP=$(dig +short my.ip @outsideip.net)
  9. Re:Money by Anonymous Coward · · Score: 3, Interesting

    umm, you just affirmed capitalism as the greatest growth engine in the history of man. though i doubt you meant to.

  10. How Many Features? by bill_mcgonigle · · Score: 3, Interesting

    I was dismayed to click on the YouTube video editor today to be told I need a modern version of Flash to use it. I remember back to 2010 when YouTube was going to go all html5 within a year or two. It's amazing how the YouTube division can't afford to hire people to work on these things...

    --
    My God, it's Full of Source!
    OUTSIDE_IP=$(dig +short my.ip @outsideip.net)
    1. Re: How Many Features? by Anonymous Coward · · Score: 0

      You should totally ask for a refund.

  11. Re:Proprietary formats suck. by tlhIngan · · Score: 4, Informative

    Er... VP9 is BSD license. I'd hardly call that proprietary. Sure, they may be the only ones using it yet. But I don't see that staying the case for long if it's actually a better format.

    Compared to h.264, VP9 is MORE efficient. Remember, VP9 was actually a contender for "next gen" codecs - i.e., it was a contender for h.265 which is required to get 4K content without taking 4 times as much space.

    VP8 was the competitor to h.264, and it wasn't that great at it - in practically all metrics, h.264 beat VP8 handily.

    VP9 compared to h.265 was far more mixed, and it's possible that VP9 might actually make it as the next-gen codec given the troubles h.265 is having right now w.r.t. patent licensing.

    VP9 compared to h.264 is no contest - it is far more efficient - it's just like comparing h.265 with h.264 - h.265 is far more efficient and will get lower bitrates for the same quality.

    Of course, the primary problem is no one can hardware accelerate VP9 right now, so it's all CPU decoded. (h.265 decoders are *just* starting to emerge). So 720p decoding in CPU is probably achievable, but 1080p or 4K... not so much.

  12. Moar pixzulz! by Anonymous Coward · · Score: 0

    Seeing as how I make my living pushing pixels into your faces I should really be more excited about this, except FU YouTube. Yes, call me a hater, but having the latest and greatest meme piped into my home in a lowly 480P resolution is fine by me. Its not like we can resurrect Carl Sagan (sorry Mr. DeGrasse-Tyson) and produce something worthy of 4K resolution at the whim of our brazillianaire benefactors Page and Brin.

  13. VP9's place in the landscape by steveha · · Score: 4, Informative

    I'm not a codec expert. I'm just a dilettante, reading blog posts from time to time. I trust that if I screw anything up, someone will correct me.

    VP9 is superior to H.264. It's based on VP8, which is not as good as H.264, but it's roughly in the ballpark (meaning it's much better than H.262 used in MPEG-2). My guess is that VP9 probably isn't quite as good as H.265, but it is definitely in the ballpark.

    Google got VP8 by buying a company called On2. On2 claimed that their video coder was the best thing ever, better even than H.264, but now that people have seen the source code it's clear that was just puffery. (I guess VP8 is better than the "baseline profile" of H.264, but hardly anyone uses that; they use the more advanced features of H.264 which are better than the best VP8 can do.)

    Google paid over 100 million dollars for On2. I believe they did this mostly to get insurance for their YouTube business. YouTube really needs a good video coder: if the videos are terribly high in bandwidth, Google spends too much on the bandwidth and the customers have a bad experience (videos take forever to buffer on phones and/or look bad). But if H.264 is the only game in town, Google would be totally at the mercy of the patent owners. It was worth 100 million dollars to Google to hedge their bets and have a Plan B if the MPEG licensing guys ever tried to take advantage of Google's critical need for a really good video coder.

    After buying On2, Google was silent for almost a year. I believe that during that time, Google lawyers were poring over the VP6 code and making sure that nobody would win a patent infringement suit when Google released the code. Then they released the source code to VP8, and forever gave up any patent rights. VP8 is completely open source and unencumbered by patents.

    The general strategy of On2 seems to have been to read all the patents from coders like H.264, and then implement something similar, but different enough not to infringe. When VP8 was released, several people here on Slashdot opined that VP8 simply had to infringe on some patents, being as similar as it is to H.264. Well, it's years later now and the lawyers haven't gotten rich by suing Google yet. I think Google is in the clear.

    In fact, the MPEG Licensing Authority tried to put together a patent pool, with all the patents VP8 infringes. Over a year later, there were still no patents in the pool. Google made a one-time payment to MPEG-LA, and MPEG-LA gave Google a lifetime promise to not sue. Some here on Slashdot opined that this meant Google was admitting they had infringed on H.264 patents, but no; this was unconditional defeat for MPEG-LA, who got a little money but are not able to charge royalties or in any way control what anyone does with VP8.

    Now, here's the thing: VP8 was too late to win the war with H.264. All modern phones contain hardware acceleration for H.264, but likely not for VP8. But VP9 is not too late for the war with H.265; and I'm personally cheering for the BSD-licensed technology to win over the patent-encrusted technology.

    I'll still count it as a win if every phone ships with H.265 and VP9. I don't need H.265 to lose to be happy.

    The one thing that worries me a little bit was the recent story that someone is putting together a new patent pool, outside of MPEG-LA. The only sane reason I can imagine for this: MPEG-LA has agreed never to sue Google; maybe someone wants to sue Google and this is the first step.

    My guess is that Google lawyers didn't screw anything up, and Google would eventually win the court battle; but perhaps the FUD caused by a lawsuit would make the hardware manufacturers pass on VP9. By the time the court battle was over, H.265 would be the hardware standard the same way H.264 is now.

    I hope I'm just wrong about this last part. It could simply be that a few companies want to get more money from H.265.

    --
    lf(1): it's like ls(1) but sorts filenames by extension, tersely
    1. Re:VP9's place in the landscape by Anonymous Coward · · Score: 1

      It could simply be that a few companies want to get more money from H.265.

      I think it's this. The companies involved weren't satisfied with the licensing terms the MPEG LA had decided on so they formed a competing pool.

      Whatever their motivations, it's exactly these licensing complications that make it clear that the best way forward for video on the Web is to develop a high quality, royalty-free codec that everyone will implement. A video codec that gets standardized through the Internet Engineering Task Force is more likely to the implemented by the likes of Apple and Microsoft than codecs developed internally at Google. NetVC aims to achieve that.

    2. Re:VP9's place in the landscape by Kjella · · Score: 3, Interesting

      My guess is that Google lawyers didn't screw anything up, and Google would eventually win the court battle; but perhaps the FUD caused by a lawsuit would make the hardware manufacturers pass on VP9.

      I don't think even Google's lawyers could with certainty say they don't violate any obscure video patent somewhere. The GIF standard was torpedoed by a single patent, I'd be most surprised if there wasn't at least one shark in the water with a patent that VP9 violates, just waiting for it to get popular and to sue in East Texas for billions rather than play MPEG LAs game. Why be one of hundreds of sharks getting a nibble of the H.264 patents when you can be the one raking in all the VP9 patent royalties with a cut from every Android device sold?

      You don't need to be an evil mastermind to come up with that plan, just your average corporate scum which is why Google doesn't really want to commit. They want to use the VPx codecs to force reasonable H.264/H.265 license terms, but much like people waving around the threat to migrate to Linux they don't really want to jump into the unknown waters unless they have to. Is it FUD? Well, that depends on whether you believe there's a real chance of shark attack or not. Not every warning of danger is FUD.

      --
      Live today, because you never know what tomorrow brings
    3. Re:VP9's place in the landscape by Anonymous Coward · · Score: 2, Interesting
      I work at a medium sized online service that use video. My comments to this:

      I don't know of any neutral parties who have really tested this who consider VP9 to be "superior" to H.264. The two codecs have different strengths and weaknesses, but VP9 is definitely not a generation ahead of H.264 in performance. And nowhere near H.265 (which is why Google is busy developing VP10).

      VP8 being open source and not having any specific patent challenges yet is in now way a guarantee for VPx use not infringing on patents. Potential patent holders might very well just be waiting for the bigger payout. And, Google have not only failed to properly guarantee against patent issues for users of their codec, but have had to license some MPEG-LA patents for VPx.

      That said, H.264 is also a patent nightmare, and H.265 is looking to be even worse. We have used more time and legal cost on this than I care to think about, and even with an MPEG-LA/Vialicensing license you might have unknown patent obligations also with H.264/5. So, in my view VPx is preferable from a patent/license perspective, but not anywhere close to safe - which is why many in the industry would prefer the devil you know (better).

      The big problem with VP9, for us and many others, is the lack of hardware decoding on mobile devices. This is a must for performance vs power usage. It is starting to come, but I wish Google had been much more aggressive on this front.

    4. Re:VP9's place in the landscape by nadaou · · Score: 5, Interesting

      My guess is that VP9 probably isn't quite as good as H.265, but it is definitely in the ballpark.

      You'd be wrong about that actually. Monty's given it his usual expert and honest analysis, see one of his blog posts from late last year. Caveat: If you compare VP9 today vs. some tuned H.265 of the future the roles may reverse. Or not. Who knows that's just pure speculation and it's not like VP9 won't tune up either.

      But VP9 is not too late for the war with H.265

      In fact VP9 spec was finalized quarters before H.265, and Google has the ear and other anatomical bits of all the hardware manufactures in the Android world, so VP9 hardware support from the start is in very good shape.

      And what is never mentioned in the press releases is that VP9 and H.265 make their impressive bandwidth (or filesize) improvements at the cost of double the CPU needs. You do not want to be running these codecs without hardware support.

      The exciting stuff is Daala.

      --
      ~.~
      I'm a peripheral visionary.
    5. Re:VP9's place in the landscape by perryizgr8 · · Score: 1

      I'll still count it as a win if every phone ships with H.265 and VP9.

      Samsung Galaxy S6 has built-in hardware support for VP9, AFAIK. It is the first phone to have this.

      --
      Wealth is the gift that keeps on giving.
    6. Re:VP9's place in the landscape by Anonymous Coward · · Score: 0

      I used to work on video CODEC development.

      There usually isn't a 'best CODEC' - just not a yes or no subject. It depends on the media and the data rate target. There is also a subjective bit - the artifacts (they all cause artifacts - after spending so much time working on them, I can't help but see the artifacts first) can differ - and some types bother some people while others not so much.

    7. Re:VP9's place in the landscape by Karlt1 · · Score: 1

      In fact VP9 spec was finalized quarters before H.265, and Google has the ear and other anatomical bits of all the hardware manufactures in the Android world, so VP9 hardware support from the start is in very good shape.

      All of the hardware manufacturers in the Android world? Google has no control over half of the Android phones in the world -- those selling in China and India running AOSP.

      Ask Adobe how far anything on the web gets without Apple's support.

  14. Still waiting for SD. by Anonymous Coward · · Score: 0

    Oh wow. 480p I'm still waiting for Youtube to serve me content better than 360p. (The content-chooser has no other options. Just 'Auto' and '360p')

    I guess they want me to install that plug-in from Macromedia.

    1. Re:Still waiting for SD. by Anonymous Coward · · Score: 0

      I'm still waiting for Youtube to serve me content better than 360p.

      Which browser are you using? I'm using Firefox 38 beta on OS X and I get 1080p video in the HTML5 player on YouTube. Not all videos have a 1080p version available.

    2. Re:Still waiting for SD. by Anonymous Coward · · Score: 0

      Seamonkey, which should be roughly the same engine as what Firefox runs. This is on Windows.

      I've never seen an option better than 360p, on any video. Even the ones advertising 'HD'

    3. Re:Still waiting for SD. by Anonymous Coward · · Score: 0

      Seamonkey, which should be roughly the same engine as what Firefox runs. This is on Windows.

      Okay, I tried Firefox 38 beta on Windows XP (i.e. no H.264 support). I tried a music video and just got 360p VP8 WebM video. I then manually set "media.mediasource.webm.enabled" to True in about:config and I then got 1080p VP9 WebM video for the same music video and the YouTube HTML5 status page said I had MSE support and MSE+VP9 support. Maybe try the same setting in Seamonkey.

    4. Re:Still waiting for SD. by Anonymous Coward · · Score: 0

      Hmm

      This is what the html5 page looks like for me: http://imgur.com/826TafB

      I toggled the setting in about:config, restarted the browser. The page looks the same. The 'Request HTML5 player' button doesn't change anything as far as I can see.

      This is on Win2k3 aka WinXP 64-bit (sort of). Seamonkey 2.33.1 which is equivalent to Fx 36.0

      Maybe I should wait for 2.35 so I'm on the same version as you are?

    5. Re:Still waiting for SD. by Anonymous Coward · · Score: 0

      Sounds like it. A blog post from Mozilla developer Anthony Jones says it was first enabled in 37 beta. You could also check to see if the "media.mediasource.enabled" setting in about:config is true and turn it on if it isn't. MSE might not work right in your release though and so is disabled by default.

  15. Re:Proprietary formats suck. by SuricouRaven · · Score: 2

    In this field, patents are possibly more important. There are just so many of them, h264 needed a consortium to make cross-licensing deals possible.

  16. Re:Smooth playback at what cost by Anonymous Coward · · Score: 1

    I got confused by almost well written post and and I clicked on this shit. fuck you!

  17. Re: Proprietary formats suck. by Anonymous Coward · · Score: 0

    Any citations on this? From the real world tests I've seen vp9 is almost as good as h.264 in bitrate vs quality achieved. Which is fine, we would have chosen this for our project if it only had hardware support. It is nowhere near h
    265, which is why Google is working on vp10.

  18. HW decoder by Anonymous Coward · · Score: 0

    That's all that matters. Can mobile gadgets decode VP9? If not, it is doomed.

  19. Hasn't Google been doing that for a while now? by jma05 · · Score: 3, Interesting

    I use youtube-dl to download presentations from Youtube. I have been getting VP9 webms for months from Youtube. If you type youtube -F , you can see all the DASH webm streams, which are encoded by VP9. The non-DASH webms are VP8 videos. With youtube-dl, you can select the DASH video and audio streams and combine them with ffmpeg. The file sizes are indeed much better.

    Short Test Video:
    youtube-dl --prefer-ffmpeg -f 247+171 https://www.youtube.com/watch?...
    39 secs of this 720p clip comes out to 5.6 MB. With H264, it would 10.8 MB.

    The only problem I have is that I have to play them by dropping them in Firefox. I have not managed to get any of my desktop media players to get the codecs (Ubuntu 14.04). If any of you solved this, let me know.

    1. Re:Hasn't Google been doing that for a while now? by klui · · Score: 1

      I can't answer your question but the html5 player is much more efficient than the Flash player and I've set it as the default in Firefox. I find that a video would buffer more often using the Flash player compared to the html5 player.

      Does it mean the video has been encoded in VP9 if the nerd stats say DASH in Flash? The html5 stats say explicitly VP9.

    2. Re:Hasn't Google been doing that for a while now? by Anonymous Coward · · Score: 2, Interesting

      You could try VLC 3.0 nightly (http://nightlies.videolan.org/)

    3. Re:Hasn't Google been doing that for a while now? by ldobehardcore · · Score: 2

      I just downloaded the win32 binary of youtube-dl and the ffmpeg win32 binary, stuck them in a folder, opened a cmd.exe there, dumped that test commandline in your post, all in windows, then opened the resulting webm into VLC 2.1.5 for windows. Works like a charm. Maybe VLC would work for you on Ubuntu? Maybe the default distro channel in the package manager has an older proven-stable version of VLC? You might need to get a more recent package. There's also the chance that the x86_64 version of VLC might not decode VP9 properly while the 32 bit version might.... I don't mess around with 64 bit codecs for the most part because half the clients I'd use them in choke on 64 bit codecs. At least they do in windows.

      --
      Hectice, baby, Mercator says hello to you
    4. Re:Hasn't Google been doing that for a while now? by zekica · · Score: 1

      You could try adding ppa:mc3man/trusty-media. It worked for me.

    5. Re:Hasn't Google been doing that for a while now? by jma05 · · Score: 1

      > Does it mean the video has been encoded in VP9 if the nerd stats say DASH in Flash?

      Not all DASH streams are VP9. From what I have seen: The mp4 streams (DASH and non-DASH) are h264. webm DASH streams are VP9. webm non-DASH is VP8.

    6. Re:Hasn't Google been doing that for a while now? by jma05 · · Score: 1

      That worked. Thanks.

    7. Re:Hasn't Google been doing that for a while now? by Anonymous Coward · · Score: 0

      I have not managed to get any of my desktop media players to get the codecs

      What's wrong with mplayer -- considering you're using a cli script to download anyway? Works for me but I'm using arch, ubuntu may have a stale ffmpeg library.

    8. Re:Hasn't Google been doing that for a while now? by jma05 · · Score: 1

      I do indeed prefer mplayer over VLC since the CPU utilization is better. However, my mplayer does not do VP9. VLC nightly was suggested and it worked. But I would like to switch back to mplayer as soon as I can.

      I did update my ffmpeg. The one that comes with Trusty did not work with youtube-dl.

    9. Re:Hasn't Google been doing that for a while now? by jma05 · · Score: 1

      Yes, worked for me too. Thanks.

      "intergrate video in interface" isn't working though. Had the same problem with nightlies too.

  20. Re:Proprietary formats suck. by hairyfeet · · Score: 2

    Have they bothered to come up with a decent easy to use encoder/decoder? You look at every format that has taken off, from MPG 2 to DivX, MP3 to H.264 you have plenty of easy to use decoders that anybody can use to convert their files to the new format. WebM? Sorry but the tools suuuuuck, the few GUI encoders that support WebM make lousy conversions, hell even Handbrake has H.264 support, WebM? Nada.

    So if they want this format to take off? Then it has to be as easy or easier to use than the other formats. Lets hope they don't do like MSFT did with WMA/WMV and spend all their time only pushing it for their devices/services as they'll find out like MSFT that shit just won't fly.

    --
    ACs don't waste your time replying, your posts are never seen by me.
  21. Re:Proprietary formats suck. by Ingenium13 · · Score: 4, Informative

    The Snapdragon 805 and newer has hardware accelerated VP9 decode.

  22. Re:Proprietary formats suck. by short · · Score: 5, Informative

    4 years old i7-2620M: VP9 1080p takes at most 40% core (=20% CPU), 2160p takes at most 150% core (=75% CPU).
    https://www.youtube.com/watch?... formats 248 and 313 respectively.

  23. Re:Proprietary formats suck. by Anonymous Coward · · Score: 2, Informative

    Have they bothered to come up with a decent easy to use encoder/decoder?

    Well, here's a list. Some are free, some (like Sorenson Squeeze) cost money. VLC can also transcode to WebM. Handbrake does support VP8, but to a Matroska container (WebM is a subset of Matroska).

  24. Re:Proprietary formats suck. by Anonymous Coward · · Score: 0

    Right on brother. It's amusing how these web 3.0 kids seem to think that software decoding is nigh impossible.. I guess it comes from being immersed in a world of anemic mobile devices and slow scripting languages.. :-]

  25. Which CPU are you talkin about ? by DrYak · · Score: 4, Interesting

    So 720p decoding in CPU is probably achievable, but 1080p or 4K... not so much.

    Which CPU are you talking about?

    The huge power hungry multi-core x86_64, optionally assisted by massively parallel GPUs (running opencl) that sits on your desk ?
    well decoding high res video is a walk in the park.

    The small diminutive ARM designed to be as power efficient as possible that is in your pocket?
    much more problematic. it won't pack enough power for higher resolutions, and in the cases were it *DOES* manage to code the video real time, it's going to kill the batter really fast.

    The situation of VP9 isn't that different than H.265
    - desktops work well enough even without dedicated acceleration
    - smartphone are limited by the current lack of acceleration (well except the few latest phone which slowly start to get H265 hardware) due to CPU limits and battery life.

    --
    "Sufficiently advanced satire is indistinguishable from reality." - [Tips: 1DrYakQDKCQ6y52z6QbnkxHXAocMZJE61o ]
  26. No hardware decoding for VP9 by Anonymous Coward · · Score: 0

    Currently there is no hardware decoding. That means Intel i5 is easily MAXED OUT when watching simple Youtube video. Right now Youtube also forces you to use VP9, so it's real issue and you need to install plugin to avoid this with HTML5 player.

    1. Re:No hardware decoding for VP9 by jones_supa · · Score: 1

      Typically web players do not provide hardware acceleration for any codecs. Usually only the framebuffer is hardware accelerated.

    2. Re:No hardware decoding for VP9 by Anonymous Coward · · Score: 0

      That means Intel i5 is easily MAXED OUT when watching simple Youtube video.

      If you say so. I just played a 1080p VP9 video on YouTube fullscreen with Firefox 38 beta on Windows XP desktop which runs a dual core 2.4ghz Intel Core 2 6600. I have manually set the "media.mediasource.webm.enabled" option to true in Firefox's about:config in order to get VP9 video on YouTube. The lowest CPU usage I saw was about 25%, the highest about 62% and I'd say the average was about 35%. This system is about 8 years old. I think Intel released this processor model in July, 2006.

    3. Re:No hardware decoding for VP9 by Anonymous Coward · · Score: 0

      This has been untrue for years. With HTML5 video player, decoding is fully accelerated when using supported codec.

    4. Re:No hardware decoding for VP9 by Anonymous Coward · · Score: 0

      https://code.google.com/p/chromium/issues/detail?id=442047

    5. Re:No hardware decoding for VP9 by jones_supa · · Score: 1

      Proof?

    6. Re:No hardware decoding for VP9 by Anonymous Coward · · Score: 0

      Currently there is no hardware decoding. That means Intel i5 is easily MAXED OUT when watching simple Youtube video.

      With the amount of crappy Javascript code and Flash on modern web sites, and with poorly optimized browsers, one does not need to watch YouTube videos to max out an i5 or gigabytes of RAM with several tabs open.

  27. Re:Proprietary formats suck. by nadaou · · Score: 0

    gimmie a break, the command line encoder is fine. just cut and paste from the example in the VPx wiki page and you're in business.

    Should Handbrake have VPx + Opus support in additional containers out of the box? Hell yes. But until then the command line version works just fine.

    Fear of the CLI is just plain Gump-level stupid.

    --
    ~.~
    I'm a peripheral visionary.
  28. Darn you, Google! by damnbunni · · Score: 1

    Dangit. Just when I get YouTube working well on my Amiga using HTML5 and H.264. But it pushes the CPU right to the edge. I haven't got a snowball's chance with VP9.

    Not on an 800 MHz 603e equivalent, anyway.

    *shakes tiny fist*

    (My especially weird hobby hardware aside, the CPU requirement increase does kinda suck.)

  29. Re: Proprietary formats suck. by Anonymous Coward · · Score: 1

    The published data on this is all over the map. I've seen one paper that seems to claim that vp9 is, on balance, *worse* than h.264 - which, if you believe it, would imply that a whole bunch of very smart people at Google have spent several years wasting their time.

    On the other hand, there are a couple studies showing that vp9 and H.265 are roughly on par, with vp9 roughly 10% behind, which is thoroughly believable, and consistent with what Google themselves have been saying. For instance: http://eprints.qut.edu.au/81842/

    "The BjÃntegaard metric is used to calculate the bitrate saving achieved by the test
    encoders, based on the PSNR scores. As five bitrates were implemented in this study, a five-
    point BjÃntegaard calculation was carried out. The results of the BjÃntegaard metric, shown in
    Table 14, revealed the average bitrate saving that the VP9 and H.265/AVC encoders achieved,
    relative to H.264/AVC encoder. Depending on the types of video contents, the H.265/AVC
    and VP9 encoders are up to 63.8% and 73.1% more effective than the H.264/AVC encoder for
    720p and 1080p resolutions respectively. When spatial resolution increases, the performance
    edge of the H.265/AVC and VP9 encoders against H.264/AVC encoder will further increase.
    Regardless of the spatial resolutions, both the 4th generation video encoders, H.265/AVC
    and VP9, outperformed H.264/AVC by a wide visible margin. Table 15 provides the bitrate
    saving of the H.265/AVC encoder over the VP9 encoder. The H.265/AVC encoder achieved
    up to about 26% of bitrate saving relative to VP9. The bitrate saving achieved by the
    H.265/AVC encoder is about 5% to 6% higher than the VP9 encoder under 720p resolution,
    and 3% higher under 1080p resolution. However, the H.265/AVC encoder achieved a
    significantly higher bitrate saving than that of VP9 for content 1 and content 6, which both
    contain extreme motions as well as image details for both spatial resolutions."

  30. Re:Proprietary formats suck. by Anonymous Coward · · Score: 0

    My overclocked i5-2500k (4,4GHz) with a passmark score of ~8120 can barely get 10/15FPS from a H265 encoded video via software decoding. Yet the 4K YT video posted under this comment plays smooth with under 50% CPU utilization.

    I doubt I'll be upgrading my GPU two years from now. So unless there is some magical performance optimization for whatever libs power the H265 decoding, I'm practically sold on VP9 because it's the only nextgen codec that will play 4K without a necessary hardware upgrade.

  31. Re:Does it use the DCT by jones_supa · · Score: 1

    Nah. Polysynthesis Filterbank is the way to go.

  32. Flogging that horse by Maury+Markowitz · · Score: 1

    "it can now play silky smooth 720p with VP9.""

    Really? This is their selling point.

    It's dead, Jim. Time to join Buzz, Gears and the others.

  33. Re: Proprietary formats suck. by Anonymous Coward · · Score: 2

    The BjÃntegaard metric is used to calculate the bitrate saving achieved by the test
    encoders, based on the PSNR scores.

    The problem with a lot of these studies is that the metrics don't always work that well. For example, look at the image comparison on pages 26, 27 and 28 in the NetVC presentation. The first codec on page 27 has a better PSNR score than Daala on page 28, yet to me the image compressed by Daala looks better and has more detail.

    Daala's not ready yet but it's been proposed as the basis for the NetVC implementation. NetVC will probably end up being Daala merged with other contributions.

  34. Re:Proprietary formats suck. by Kjella · · Score: 1

    Of course, the primary problem is no one can hardware accelerate VP9 right now, so it's all CPU decoded. (h.265 decoders are *just* starting to emerge). So 720p decoding in CPU is probably achievable, but 1080p or 4K... not so much.

    For H.264, multithreading was an afterthought, I know HEVC has wavefront parallel processing that you can find a good illustration of here:

    http://www.parabolaresearch.co...

    If VP9 also has any similar features it should do fine on a multicore desktop, even if it lacks GPU support.

    --
    Live today, because you never know what tomorrow brings
  35. Re:Proprietary formats suck. by Bengie · · Score: 1

    On my Haswell quad, I'm seeing about 10%-15%(12% typical) for 1080p and 35%-55%(45% typical) for 4k, 0 dropped frames.

  36. Laches defense by tepples · · Score: 1

    I'd be most surprised if there wasn't at least one shark in the water with a patent that VP9 violates, just waiting for it to get popular

    Last time I checked, intentionally waiting for a patented process to become popular before suing was a good way to get your cause of action estopped by laches.

    1. Re:Laches defense by Anonymous Coward · · Score: 0

      That may be the strict legal interpretation but it is a time honored tradition in the tech industry and it has worked out in favor of the sharks over and over and over and over and over and over

    2. Re:Laches defense by Kjella · · Score: 1

      Not really, the doctrine of latches has two catches:
      1. It involves an unreasonable delay in filing a lawsuit, not in discovering infringement. If you hear a 50 year old song on the radio and go "Hey... my dad wrote that 51 years ago" you can sue today, unless there's a statue of limitations. On the other hand if it was because of the band breaking up and you disagree with the way the copyrights were divided, the doctrine of latches would apply because your dad should have filed suit 50 years ago. It might apply if you were on a standards board and didn't disclose relevant patents that went into the standard, but there's no law against sticking your head in the sand for a few years before discovering your patent is being infringed. And the patent act will normally grant you six years of back pay for past infringement, which overrides general doctrines.

      2. The other big limitation is that it only applies to damages from before the filing of the lawsuit, it will never negate the patent as a whole. So even if you're barred from recovering damages from earlier, which would be chump change anyway, from the moment it's filed the meter is running. And you could still be hit with an injunction to stop using the patented invention, basically it doesn't do anything to lessen the damage after you're caught with your foot in the bear trap. So the doctrine is really, really gimped when it comes to patents, it'll rarely if ever do you any good.

      --
      Live today, because you never know what tomorrow brings
    3. Re:Laches defense by tepples · · Score: 1

      If you hear a 50 year old song on the radio and go "Hey... my dad wrote that 51 years ago" you can sue today

      In a case like that, what steps should a songwriter reasonably have taken to avoid infringing copyright, or at least to avoid being bankrupted by an award of damages?

      there's no law against sticking your head in the sand for a few years before discovering your patent is being infringed

      But there's a big difference between that and "just waiting for it to get popular". The latter sort of implies that the patent holder has discovered the alleged infringement.

      The other big limitation is that it only applies to damages from before the filing of the lawsuit

      Once alleged infringers are made aware of alleged widespread infringement, expect a design-around to become adopted. PNG was a design-around for still GIF and turned out to be so much better that one rarely sees still GIF in use on sites built in the past decade. And the VP8 and VP9 codec designs are full of design-arounds for AVC and HEVC patents. The problem is that instead of seeking a uniform royalty arrangement like MPEG-LA and similar pools, some of these extortionists use NDAs to keep even the identities of the allegedly infringed patents a secret.

  37. Re:Proprietary formats suck. by Daniel+Hoffmann · · Score: 1

    You know if all youtube vids are being delivered in this encoding already? In my desktop I would want the new encoding, but on my phone while on wifi I would rather have the old one. Is there any flag to send so I can request one encoding or the other?

  38. Re:Proprietary formats suck. by short · · Score: 1

    On my 16-core (32 HT) Haswell the CPU usage is also negligible. But the goal of my past was to show it plays fine even on an ancient hardware.

  39. Re:Proprietary formats suck. by master_kaos · · Score: 1

    interesting. 24 inch monitor I cant tell the difference between 1440p and 2160p in that video. I do notice an ever slight small difference between 1080p and 1440p but so minor if you had 2 images side by side I probably wouldnt be able to tell you which was which. Ill have to try it on my higher res 27" screen at home.

  40. Re:Money by Anonymous Coward · · Score: 0

    bandwidth costs Google money, thus by using a more efficient codec to reduce the amount of data they have to transmit, they save money

    Others have addressed just how silly your statement is, even if true. But, in fact, it's not true. Bandwidth doesn't really cost Google money. Google bought up enormous amounts of dark fiber after the dot com bust and now operates one of the biggest wide area private networks on the planet (perhaps the biggest) stretching all over the world. Network operators at that level don't pay for bandwidth outside of their networks, they sign peering agreements with other major players, agreeing to accept the other's traffic in exchange for theirs.

    Bandwidth is essentially free for Google, or at least it's all sunk cost, money already spent -- and it was cheap. Recoding billions of hours of video in VP9 (in addition to other formats already used), however, will cost Google money.

    Not that this is altruism on Google's part. Google does make money from YouTube and the better the experience of the users, the more YouTube usage will continue to climb, and the more money Google will make from it. So, yes, by providing a better experience to its users, Google will make more money. Horrors!

  41. Re:Proprietary formats suck. by Anonymous Coward · · Score: 0

    The problem isn't the video codec, but the fact they split the video and audio streams for 480p and 1080p, requiring detection and fetching code adaptations, and the use of an external tool like ffmpeg to merge the two streams (requiring more cross-compatibility work).

    YouTube Video and Audio Downloader was the first commonly-used addon I found which supported this new system. It's a featured addon. The GUI is weird, but there is a one-click feature, and it works nicely.

    Video DownloadHelper took a long time to support this change, including because the developers wanted to rework the addon completely at the same time, but they've released their version 5 recently, and while the GUI is a little weird too, they say they used the new official addon GUI API, so I suppose I'll have to get used to it... There were still a few issues with the first release (they had to rush it out for Firefox 36 which broke download on YouTube -maybe that's actually the only thing you are talking about? in this case it seems it comes from Firefox, not Google...), but I see they've now released version 5.1.2 which was supposed to fix quite a few things, so hopefully I'll be able to use it again as my main video download extension (the one above only does YouTube, and I need this for many more websites...).

  42. Re:Money by Anonymous Coward · · Score: 0

    Google does make money from YouTube and the better the experience of the users, the more YouTube usage will continue to climb, and the more money Google will make from it. So, yes, by providing a better experience to its users, Google will make more money.

    The H.264 royalties required for subscription and particular for title-by-title video are also a factor. VP9, of course, has no such royalties.

  43. Re:Proprietary formats suck. by ArcadeMan · · Score: 1

    I'm still using a 2.4GHz Core 2 Duo. Your 4-year-old CPU may be "ancient" to you but it's still way more powerful than what the average user has.

  44. Re: Proprietary formats suck. by Maury+Markowitz · · Score: 1

    > Any citations on this?

    There's lots. I think the most trustworthy would be this one:

    http://infoscience.epfl.ch/record/200925/files/article-vp9-submited-v2.pdf

    It used some pretty clever techniques to measure perceived differences, rather than theoretical. H.265/HVEC won very slightly at very high definition, and increasingly won as the bandwidth was reduced. VP9 was "competitive" only at the highest quality settings. At lower settings, VP9 did increasingly poorly, until it was worse than H.264/AVC. VP9 outperformed HVEC on a single data point, for all the other 269 data points HVEC was varyingly degrees of better.

    A quote says it all:

    "Substantial quality improvements of HEVC coding algorithm in relation to AVC and VP9 are visible especially for lower bit-rates."

    > which, if you believe it, would imply that a whole bunch of very smart people at Google have spent several years wasting their time.

    Or that a whole bunch of very smart people *over the entire planet Earth* collectively outperformed a smaller number of very smart people at Google.

  45. Re:Proprietary formats suck. by Anonymous Coward · · Score: 0

    Google will own your soul, and you will open your wallets.

    Guess that depends on how often you find yourself sucking Google's dick.

    You know what they say about all your eggs in one basket.

  46. Re:Proprietary formats suck. by Anonymous Coward · · Score: 0

    Just use youtube-dl...

  47. Re:Proprietary formats suck. by SeaFox · · Score: 1

    Nothing new to see here people. Just a repeat of an earlier discussion.

  48. Re: Proprietary formats suck. by Anonymous Coward · · Score: 0

    Did someone use a CLI to win over the girl you wanted or something? Why the irrational hatred?

  49. Re:Money by Noah+Haders · · Score: 1

    they're able to deliver _the same_ product to their users at lower cost (to them).

  50. Re:Proprietary formats suck. by sexconker · · Score: 1

    If you want to group them, then:

    VP9 competes with (and loses to) h.264.
    VP10 will compete with (and lose to) h.265.

    h.265 is "current gen". h.264 is "last gen".
    Wedge in VP9 and 10 wherever you want.

    You can easily play 4K h.264 files via CPU decoding if they're encoded sanely.
    You can fail to play 1080p h.264 files via CPU or GPU decoding if they're encoded crazily.

  51. Re:Proprietary formats suck. by Anonymous Coward · · Score: 0

    I'm still using a 2.4GHz Core 2 Duo.

    Me too. 1080p VP9 HTML video works well for me in Firefox 38 beta.

  52. Re:Proprietary formats suck. by Anonymous Coward · · Score: 2, Interesting

    refusal to compete has made Lunix (which is a fitting title as its run by loonies) so low on every metric other than servers

    Linux is probably the most installed and most widely used operating system in the world. It's in servers, routers, smart TVs, mobile phones, tablets, etc. It's massively successful.

    name any major sites OTHER than Google that supports WebM?

    Okay, I've disabled H.264 support in Firefox 38 beta. Let's try some sites and see what works!

    Microsoft's Channel 9 supports WebM and works.

    Yahoo Screen supports WebM and works.

    Yahoo Music supports WebM and works.

    Revision 3 supports WebM and works.

    Wikipedia supports WebM and works.

    Name any hardware OEMs supporting WebM acceleration?

    Well, here's a list. It features names like Intel, Broadcom, Qualcomm, Rockchip, Nvidia, Samsung and so on.

  53. Re:Proprietary formats suck. by WhoBeDaPlaya · · Score: 1

    Might be possible. I CPU decode pretty danged near everything at the moment in order to take advantage of custom DShow filters in ffdshow.

  54. Re:Proprietary formats suck. by Anonymous Coward · · Score: 0

    same reason it's on routers, tablets, or "Smart TV's" - money due to ZERO cost

    Ah, so Linux is a highly competitive option.

    Go away bullshit artist. Your crap lies have shit themselves out long ago.

    You seem to be quite lonely and I sympathize with your life situation. Have you considered cognitive behavior therapy? You may find it helpful.

  55. Re:Proprietary formats suck. by Anonymous Coward · · Score: 0

    That's great. How well do tablets and smartphones do? What is the impact on battery life for your typical 2 year old laptop?

  56. Re:Proprietary formats suck. by Anonymous Coward · · Score: 0

    It only keeps per unit costs down. It's not 'better' (it's worse, look at driver support vs. Windows). Take your own advice as far as shrinks and what have you. It sounds as if you have experience there at least.

  57. Dead horse it is.... by Anonymous Coward · · Score: 0

    Considering that both Intel and nVidia implemented hardware decoders for h265 and nVidia has even a hardware encoder (in GTX960), I think that VP9 might have lost the battle already.

  58. Re:Proprietary formats suck. by Anonymous Coward · · Score: 0

    Yeah, it's a shame that VP9 isn't supported by any hardware and is thus incapable of being 3D accelerated. It's all got to be done in software on the CPU, which is just lame.

    Drive space is dirt cheap, so I can afford the extra space for h.264 encoded videos, knowing that they will playback silky smooth and without touching my CPU which can be used to run other demanding tasks while I watch.

  59. Re:Proprietary formats suck. by Anonymous Coward · · Score: 0

    Nobody gives a shit about telephone chips.

    You let me know when Google gets Nvidia and AMD on board with hardware encode/decode for VP9 in an actual GPU.