10 ms·
AV1 Video Codec
- deadmutex 5y agoWhat is new here?
- jonny_eh 5y agoI assume it's because this hit the front page: https://news.ycombinator.com/item?id=31317989 https://news.ycombinator.com/item?id=31317989
- mawise 5y agoGiven that discussion around licensing, what's the licensing story around AV1?
- lynguist 5y ago> non-sublicensable, perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable According to its license which is very short and can be read here: https://code.videolan.org/videolan/dav1d/-/blob/master/doc/PATENTS https://code.videolan.org/videolan/dav1d/-/blob/master/doc/P...
- deleted 5y ago[deleted]
- boatsie 5y agoThat is the license by the creators but does not mean other companies/individuals won’t claim that it infringes on their patents. So if you adopt it, you’re still likely to be accused of infringing their patents.
- phkahler 5y agoThat's a hypothetical legal issue, not an actual one. Also, the companies involved in AV1 did their best to avoid that pitfall in development and have also shown a willingness to go after patent trolls who might try to pull something.
- glowingly 5y agohttps://www.streamingmedia.com/Articles/ReadArticle.aspx?ArticleID=139636&msclkid=44592194d00c11ec86f3ba7a3682d566 https://www.streamingmedia.com/Articles/ReadArticle.aspx?Art... https://www.sisvel.com/blog/audio-video-coding-decoding/sisvel-announces-first-licensees-of-av1-vp9-patent-pools?msclkid=4459a9b8d00c11ecb11d45f5f7b04ed7 https://www.sisvel.com/blog/audio-video-coding-decoding/sisv... It became a real legal issue before the first consumer AV1 hardware was ever launched.
- deleted 5y ago[deleted]
- pornel 5y agoThat link is confusing, because it's not a license by dav1d creators, but a copy of the official AOMedia license: https://aomedia.org/license/patent-license/ https://aomedia.org/license/patent-license/ and it's backed by these companies: https://aomedia.org/membership/members/ https://aomedia.org/membership/members/
- Dylan16807 5y agoThat's true of every license ever. You can treat it as implied.
- yjftsjthsd-h 5y agoWhat's the state of encoding? I'd like to try moving some videos to AV1, but I'm not willing to wait... IIRC, it was literally days of encode time for minutes of video last time I tried.
- kasabali 5y agoAFAIK state of the art is using fast presets of SVT-AV1, combined with Av1an [0] for parallelism. [0] https://github.com/master-of-zen/Av1an https://github.com/master-of-zen/Av1an
- lynguist 5y agoSee here for performance benchmarks on dav1d (av1 e̶n̶c̶o̶d̶e̶r̶): https://openbenchmarking.org/test/pts/dav1d#results https://openbenchmarking.org/test/pts/dav1d#results Edit: It’s false! This is just a decoder, not an encoder! I just learned it. Here is the link for the performance benchmarks for SVT-AV1, the most popular encoder as I just learned: https://openbenchmarking.org/test/pts/svt-av1 https://openbenchmarking.org/test/pts/svt-av1
- cogman10 5y agodav1d is an av1 decoder
- ______-_-______ 5y agoWe just need to hold out hope for the release of dav1e
- causality0 5y agoI'm all for people forging ahead on AV1, but I'm not personally bothering with it yet. Most of my library is currently in HEVC and I'm not going to switch until I don't even have to think about whether all my equipment supports hardware AV1 decoding.
- pkulak 5y agoThe more stuff you store away in a format that you can't decode for free, the worse off you're gonna be, trust me. I recently started self-hosting my family's photos and videos, and the HEVC and HEIF stuff was a huge pain in my ass to deal with. Lucky for me everything before 2016 was untainted, any no one had yet bothered to turn on 4k-60p on any of their phones (making transcoding on my poor NAS's CPU nearly impossible), or I'd have been in real trouble.
- SemanticStrengh 5y agoThe world bloats storage by 50% which harm user experience and ecology. That's a lot of regress while all it take is one symbolic dollar for a lifetime license..
- nine_k 5y agoFor a lifetime licence for a binary blob, or for code you can compile as you move to a new hardware platform?
- ubercow13 5y agoWhat have binary blobs got to do with it?
- nine_k 5y agoAre you legally allowed to distribute an open-source implementation? For last, say, 25 years I've seen many parties trying to hamper that, even in non-commercial setting (e.g. the original mp3 format encoder). If they don't, good!
- stingraycharles 5y agoI find it incredibly difficult to find out from this site what exactly differentiates AV1 from, say, x264/5. The introduction appears to only be a legal disclaimer?
- brigade 5y agoRelative to VP9, https://arxiv.org/pdf/2008.06091.pdf https://arxiv.org/pdf/2008.06091.pdf is a good reference. The technical details on the official AOM site are pretty much just the raw specs and code.
- paulmd 5y agoThis is fantastic, do you have one of these for VP9, H265, and H264 perchance?
- cillian64 5y agoFor starters, x264/x265 are software video encoders, h264/h265 are the respective standards. AV1 is a standard, libaom is the reference software encoder. H264 and h265 are patent encumbered, so depending what you are doing you need to pay royalties to use them. You are free to use AV1 with paying any royalties. Also, AV1 can deliver better quality video at the same bitrate compared to h264/h265 (at the expense of encoding time). This makes it useful for things like netflix where they can put lots of effort into encoding something once and then reap the bandwidth reduction reward for each person who watches it.
- boatsie 5y agoThis isn’t quite right. While AV1 is “open”, patent holders have still claimed patents covering aspects of it. So there are still issues with trying to use/distribute it as those patent holders can still claim infringement. Linux is another example of this.
- threeseed 5y ago> H264 and h265 are patent encumbered Same as AV1 [1]. > use AV1 with paying any royalties Same as H.264/5 for almost all normal usage. https://www.streamingmediaglobal.com/Articles/ReadArticle.aspx?ArticleID=139634 https://www.streamingmediaglobal.com/Articles/ReadArticle.as...
- sakex 5y agoIs it possible that AV1 will reach the encoding speeds of h264/h265?
- deleted 5y ago[deleted]
- out_of_protocol 5y agoYes https://people.videolan.org/~unlord/SVT-AV1_BD-rate.png https://people.videolan.org/~unlord/SVT-AV1_BD-rate.png
- CharlesW 5y agoNo, all else being equal. AV1 is more complex to encode and decode than HEVC/H.265, which is the tradeoff for higher efficiency. Yes, in the sense that some AV1 codec implementations will be faster than some HEVC/H.265 implementations.
- Cadwhisker 5y agoI think a more relevant front page link/summary would be that the open-source AV-1 codec has reached the v1.0.0 milestone (18 days ago). https://github.com/AOMediaCodec/SVT-AV1/releases/tag/v1.0.0 https://github.com/AOMediaCodec/SVT-AV1/releases/tag/v1.0.0
- Jap2-0 5y agoFor clarity: this is one encoder, not the codec itself.
- theandrewbailey 5y agoAV1 v1 happened 4 years ago, not 18 days ago. SVT is Intel's AV1 encoder. https://aomedia.googlesource.com/aom/+/refs/tags/v1.0.0 https://aomedia.googlesource.com/aom/+/refs/tags/v1.0.0 https://github.com/AOMediaCodec/av1-spec/releases/tag/v1.0.0 https://github.com/AOMediaCodec/av1-spec/releases/tag/v1.0.0
- ZeroGravitas 5y agoComplicating matters slightly more, the AOM recently adopted the SVT codebase as their official implementation for future work. Though obviously other encoders (and decoders) are available for the AV1 format. I think for individual encode enthusiasts the old libaom codebase is still the goto, but if you are Facebook or Netflix you probably want to be looking at SVT-AV1.
- sli 5y agoFunny seeing this here. I was playing with ffmpeg settings earlier and decided to encode a game highlight with AV1. It's only 20 seconds and seven hours later, it's just about done. I'm certain I can twiddle more settings to make it faster, but at this point I can't give in to the slow speed. Only ~21 frames to go!
- userbinator 5y agoI've only played with some of the earlier codecs and studied them in detail, but I wonder what exactly makes it so slow? Is it basically doing a lot of bruteforcing to find the best way to compress each frame?
- adgjlsfhk1 5y agoyes.
- someemptyspace 5y agoThe ffmpeg page for AV1[1] seems to recommend the SVT-AV1 encoder. Using the SVT-AV1 encoder and -crf 17 I was able to get an 8x encoding speed (about 250 FPS) with a very basic set of options similar to this: ffmpeg -i input.mp4 -c:a copy -c:v libsvtav1 -crf 17 svtav1_test.mp4 Hopefully using the SVT-AV1 encoder helps speed up your encoding. [1]: https://trac.ffmpeg.org/wiki/Encode/AV1 https://trac.ffmpeg.org/wiki/Encode/AV1
- btdmaster 5y agoSee also the documentation. [1] [1] https://github.com/AOMediaCodec/SVT-AV1/blob/v1.0.0/Docs/Ffmpeg.md https://github.com/AOMediaCodec/SVT-AV1/blob/v1.0.0/Docs/Ffm...
- espadrine 5y agoI concur, both options help a lot. I noticed that the ffmpeg packages are sometimes a bit outdated, yielding a gigantic gap between what the stock ffmpeg can do, and what a freshly compiled one does. Also, having more cores helps a lot with SVT-AV1.
- asddubs 5y agoAV1 is great, and I'm excited about it, but for my purposes I'm even more excited about avif. I hope apple adds support to their OSes soon (which in turn means safari supporting it)
- theandrewbailey 5y agoI'm pretty excited for it. I encoded my blog's images to AVIF a year or two ago, and redid them a few weeks ago. (I use <picture> to allow browsers to choose which format to get.) JPEG XL looks pretty good, too, but current browser support is a flag in Chrome. I wonder if they can squeeze better quality out of low filesizes (0.3~0.6 bits per pixel) to compete better with AVIF.
- c0wb0yc0d3r 5y agoWhat would be a good way to go about testing this codec? Isn't video conversation a lossy activity? Would I have to start by re-ripping Blu-ray discs to negate loss in quality? My usual playback targets are almost exclusively a web browser or Chromecast, so storing media in formats that would allow for more direct play opportunities would be fantastic.
- tomxor 5y agoKeep in mind that even your blue-ray disc is highly lossy compressed. Almost every source you can get your hands on will be lossy compressed - unless you generate your own - but even then, most consumer devices don't even allow recording into lossless formats. Uncompressed video is mind bogglingly huge.