News for hackers. Stuff that matters.
Re:A Sneak Peek Comparison of x264, x265, and libvpx by clouddrover on Monday August 29, 2016 @09:49PM (#12386875)
The worst thing about H.265 is the patent licensing situation. There are two separate patent pools and you need a license from both:

1. http://www.streamingmedia.com/Articles/Editorial/Featured-Ar...

2. http://www.mpegla.com/main/programs/HEVC/Pages/Intro.aspx

3. https://www.hevcadvance.com/

It's much simpler and easier to use formats which are licensed under royalty-free terms, which is what VP9 offers now and what AV1 will also offer in future:

1. https://en.wikipedia.org/wiki/VP9

2. https://en.wikipedia.org/wiki/AOMedia_Video_1

To me the important result from Netflix's test is that VP9 is better than H.264, almost as good as H.265, and absent the patent licensing problems. I think the simpler licensing makes VP9 the better choice today and AV1 the best choice in the future.

Re:A Sneak Peek Comparison of x264, x265, and libvpx by jjcm on Monday August 29, 2016 @09:59PM (#12386921)
Realistically it will probably come down to what's implemented in hardware. Youtube's 4k video in chrome is really a terrible experience when you don't have hardware acceleration for vp8. It pegs your CPU at nearly 100% and god help you if you're viewing a 4k 60fps video.

Luckily it looks like most hardware manufacturers are getting on board with VP9 these days, but the current support for encoding at least is abysmal: https://en.wikipedia.org/wiki/VP9#Hardware_encoding.2Fdecodi...

Re:A Sneak Peek Comparison of x264, x265, and libvpx by clouddrover on Tuesday August 30, 2016 @02:30AM (#12387928)
Browser support is the most important factor for web video. H.265 currently has no browser support but VP9 is supported by Firefox, Chrome, Microsoft Edge, Opera, Vivaldi, etc.
Re:A Sneak Peek Comparison of x264, x265, and libvpx by oarsinsync on Tuesday August 30, 2016 @03:08AM (#12388082)
Odds on Safari ever supporting VP9? Especially since Apple are already using HEVC/H.265?
Re:A Sneak Peek Comparison of x264, x265, and libvpx by clouddrover on Tuesday August 30, 2016 @03:38AM (#12388183)
I'd say there's a reasonable chance, and if not VP9 then definitely AV1. The next version of macOS and iOS supports WebP (a still image format based on VP8) so the VP8/VP9/AV1 family has a foot in the door:

1. http://www.cnet.com/news/apple-ios-macos-tests-googles-webp-...

2. https://developers.google.com/speed/webp/

Re:A Sneak Peek Comparison of x264, x265, and libvpx by nightcracker on Tuesday August 30, 2016 @06:49AM (#12388869)
What makes you think that 4k 60fps is even possible without hardware acceleration? That's 12.7 Gbps output bandwidth (assuming true color), barely possible even using just memcpy, let alone decoding.
Re:A Sneak Peek Comparison of x264, x265, and libvpx by abainbridge on Tuesday August 30, 2016 @06:29PM (#12394482)
Interesting point. However, just to be pedantic, if memory bandwidth were the only bottleneck, you'd expect video decoding to generate output faster than memcpy, since it wouldn't have to read as much :-)

My Intel NUC cost me £300 in January and is therefore a fairly low-end machine. It has 307 Gbps of memory bandwidth (2 slots of DDR4-2400). It's surprising how big that number is on a cheap machine today.

I'd love to see a profile of where the CPU time goes in a modern CPU-only video decoder. I guess I could get off my arse and do the profiling myself instead of posting this. Anyway, my guess is that the processor speed is the bottleneck, not the memory bandwidth.

Re:A Sneak Peek Comparison of x264, x265, and libvpx by RBO2 on Tuesday August 30, 2016 @03:24AM (#12388129)
That's mostly partial acceleration. Chips now support a lot of codecs. And aside H264/AVC chips makers cannot afford to use so much hardware surface for codecs that are not so popular.
Re:A Sneak Peek Comparison of x264, x265, and libvpx by AstralStorm on Monday August 29, 2016 @11:30PM (#12387321)
You must be talking about either a wimpy laptop CPU, a cellphone or a tablet.

Old desktop Sandy Bridge does 4k 60 FPS decoding with no problems, as long as output can sustain it. And integrated GPU does not. You need quite a lot of bandwidth to sustain that much image data.

Re:A Sneak Peek Comparison of x264, x265, and libvpx by mixedCase on Tuesday August 30, 2016 @12:54AM (#12387627)
>You must be talking about either a wimpy laptop CPU, a cellphone or a tablet.

Surely margin-of-error-sized markets to ignore them that easily.

Re:A Sneak Peek Comparison of x264, x265, and libvpx by RBO2 on Tuesday August 30, 2016 @03:25AM (#12388138)
Unfortunately these codecs still have a few important issues (http://www.gpac-licensing.com/2016/07/12/vp9-av1-bitstream-f...). I wish AV1 can fix those but they want to go for such a tight timeline...
Re:A Sneak Peek Comparison of x264, x265, and libvpx by brigade on Tuesday August 30, 2016 @03:49AM (#12388219)
It's always weird to read codec commentary from broadcast people; their world and concerns are just so alien to me. I also rather wonder what he considers a raw bytestream that HEVC has and VP9 doesn't...

Anyway, I guess the only major concern from him is the DCT overflow? I mean, for the extra precision, even HEVC has increased from 16-bit intermediates in the newer profiles. I think Daala's transforms would solve his issues with VP9's, I'd imagine they're being considered.

Re:A Sneak Peek Comparison of x264, x265, and libvpx by stephenr on Tuesday August 30, 2016 @08:45AM (#12389486)
You forgot to mention the skeleton in the closet on vp9's license terms.

It is patent encumbered, by Google owned patents, but they allow free use, so long as you promise to never sue them for patent infringement.

Given how many pies they have their fingers in, that seems like a pretty big catch.