from Hacker News

Rav1e, an AV1 encoder written in Rust and assembly

by mindfreeze on 6/13/20, 7:51 PM with 123 comments

  • by lukevp on 6/13/20, 8:49 PM

    For others like me who are curious and haven't heard of AV1, some main features:

    * Open & Royalty Free (no licensing required to use)

    * Backed by Mozilla, Google, Microsoft, Cisco, etc. [1]

    * Approximately 50% higher compression than x264 [1] and 30% higher than H.265 (HEVC) [2]

    * Supported in current versions of Chrome, Firefox, Opera, and Edge [3]

    * Slower encoders than HEVC, so not typically used for live streaming [2]

    [1]: https://en.wikipedia.org/wiki/AV1

    [2]: https://www.theoplayer.com/blog/av1-hevc-comparative-look-vi...

    [3]: https://caniuse.com/#feat=av1

  • by natemcintosh on 6/13/20, 9:03 PM

    "The fastest and safest AV1 encoder" but it's also 62.1% assembly? Is the assembly as safe as rust? I'm confused
  • by Flow on 6/13/20, 9:01 PM

    I see that Safari does not support this (yet).

    Might it be possible to compile this to wasm and decode it that way on the client?

  • by devwastaken on 6/13/20, 10:39 PM

    We really need focus on embedded GPU av1 as well. It's amazing how fast pure GPU transcoding is. H265 is supported well in modern GPU's and can transcode at dozens of times the speed. But av1 for some reason isn't getting the same treatment is seems.
  • by dang on 6/13/20, 9:54 PM

  • by kzrdude on 6/13/20, 9:01 PM

    How is there constantly so much compression ratio improvement in video codecs? New algorithms imrpove so much upon the old.
  • by Ptilopsis on 6/13/20, 8:49 PM

    With AV1 encoders I have to ask myself every time whether I should read the 1 as 'i' or as 'l'. Dav1d was still easy to guess, but here I really have a hard time.

    Apart from that, I am really glad to see how Rust is slowly making an appearance in such fundamental multimedia libraries.

  • by saagarjha on 6/13/20, 8:09 PM

    Any major projects using this yet?
  • by jimmar on 6/13/20, 11:48 PM

    The developers say it's the fastest, but does anybody have a link to benchmarks?
  • by LockAndLol on 6/14/20, 5:57 AM

    Is it worth using as a default encoder for home movie libraries? Or would it soebd the next decade encoding everything?
  • by loeg on 6/14/20, 1:17 AM

    Anyone know how the "fastest" claim stacks up against SVT-AV1?
  • by pkulak on 6/13/20, 8:18 PM

    Is it multithreaded???
  • by Erlangen on 6/13/20, 8:44 PM

    > The fastest and safest AV1 encoder.

    Is it faster than dav1d?

  • by Thaxll on 6/13/20, 9:30 PM

    "The fastest and safest AV1 encoder." quick search on unsafe: https://github.com/xiph/rav1e/search?q=unsafe&unscoped_q=uns...

    https://github.com/xiph/rav1e/issues/2378

    https://github.com/xiph/rav1e/issues/2310

    Does not seems safe at all, definitly not the "safest"encoder out there.