News for hackers. Stuff that matters.
Re:Thor – A Project to Hammer Out a Royalty Free Video Codec by yjm on Tuesday August 11, 2015 @01:23PM (#10042783)
i wonder how many orders of magnitude slower this one will be compared to x264. vp8/9 was like 9x slower last time i checked
Re:Thor – A Project to Hammer Out a Royalty Free Video Codec by TD-Linux on Tuesday August 11, 2015 @01:51PM (#10043034)
It is currently quite a bit slower, but the goal is to make a codec fast enough for real time communication use.

VP9 is still about 9x slower than x264, but yields the same quality at half the bitrate. You can set VP9 to run a lot faster, but you'll lose some of the bitrate advantages. Still, VP9 is practical for a lot of applications, such as Youtube.

Re:Thor – A Project to Hammer Out a Royalty Free Video Codec by mappu on Tuesday August 11, 2015 @03:37PM (#10043757)
VP9 producing the same quality as x264 at half the bitrate is hard to believe. Do you have a citation? Which `--preset` for x264 are you basing this on?
Re:Thor – A Project to Hammer Out a Royalty Free Video Codec by TD-Linux on Tuesday August 11, 2015 @04:14PM (#10044034)
It's based on --best for VP9 1.4.0 and placebo for x264. Generally improvement tends to be from 30-50%, based on the quality target and content (the lower the bitrate, the greater the improvement). I have objective metrics which test this at http://arewecompressedyet.com/.

If you're more of a visual person, you can take a look at some images here, compressed to 60KB: https://people.xiph.org/~tdaede/pcs2015_vp9_vs_x264/0.25/

Certainly libvpx still has a lot of optimization and tuning work left to do. But there's only so much x264 can do with a 15 year old bitstream format.

Re:Thor – A Project to Hammer Out a Royalty Free Video Codec by aw3c2 on Tuesday August 11, 2015 @05:22PM (#10044491)
Those example images are of really low quality video. Usually people who care about image quality do not care about that. Can you show some ~720p 5mb/s x264 versus 3-4mb/s VP9 samples?
Re:Thor – A Project to Hammer Out a Royalty Free Video Codec by indolering on Wednesday August 12, 2015 @03:52PM (#10050196)
Low resolution samples are the norm, I think it's because low resolution makes it so you can see how the compression algorithm works. If you a high resolution comparison, you would need to zoom in to see the difference anyway. There are, of course, compression artifacts that are readily apparent even in high-resolution (chain link fences, transparent wipes, etc) but I suspect that they are in the minority.
Re:Thor – A Project to Hammer Out a Royalty Free Video Codec by bitmapbrother on Tuesday August 11, 2015 @02:59PM (#10043521)
VP9 being 9x slower than x264 is hard to believe. Do you have a citation?
Re:Thor – A Project to Hammer Out a Royalty Free Video Codec by mappu on Tuesday August 11, 2015 @03:45PM (#10043817)
"VP9 encoding (using libvpx) is horrendously slow – like, 50x slower than VP8/x264 encoding. This means that encoding a 3-minute 1080p clip takes several days on a high-end machine. ... libvpx multithreading [encoding] performance is deplorable. It gains virtually nothing."[1]

1. https://blogs.gnome.org/rbultje/2014/02/22/the-worlds-fastes... n.b. x264 comparisons were taken with `--preset veryslow` which understates x264's potential performance by an order of magnitude. From the same link: "it can be fast, and it can beat x264, but it can’t do both at the same time."

Re:Thor – A Project to Hammer Out a Royalty Free Video Codec by TD-Linux on Tuesday August 11, 2015 @04:24PM (#10044111)
This is old. libvpx 1.4.0 is a lot faster now and has multithreading. On my i7-4900MQ laptop, I get about 3fps encoding 1080p content. Still very slow, but 24 minutes for a 3 minute clip, not days.
Re:Thor – A Project to Hammer Out a Royalty Free Video Codec by Sir_Cmpwn on Tuesday August 11, 2015 @03:37PM (#10043759)
I can anecdotally agree with him. I ran a service that did a lot of media encoding and VP9 is very, very slow to encode.
Re:Thor – A Project to Hammer Out a Royalty Free Video Codec by DarkLinkXXXX on Tuesday August 11, 2015 @04:04PM (#10043968)
Could that be due to lack of hardware support?
Re:Thor – A Project to Hammer Out a Royalty Free Video Codec by TD-Linux on Tuesday August 11, 2015 @04:16PM (#10044044)
No, generally encoding is done in software. It's just because VP9 is a much more complex format with many more different coding possibilities to search. It also hasn't been around as long as x264 to be hyper-optimized.
Re:Thor – A Project to Hammer Out a Royalty Free Video Codec by astrange on Tuesday August 11, 2015 @04:29PM (#10044153)
There are probably some issues with missing SIMD, but no further hardware support would be helpful.

It's purely an implementation issue - you don't get software as good as x264 just by paying for it.

Re:Thor – A Project to Hammer Out a Royalty Free Video Codec by mappu on Tuesday August 11, 2015 @04:30PM (#10044169)
Comparing x264 to hardware-accelerated encoders (QuickSync, NVENC, VCE), the speed/quality/bitrate tradeoff is massively in favour of the cpu-only x264. So i think hardware encoding could help VP9, but it's not a magic bullet (unless your CPU is busy with other work simultaneously).