AV1 / Opus where we can. But H264 is far better supported. For example, Safari doesn't include a software AV1 decoder. So AV1 videos only work in safari on M3 or later laptops, and iPhone 15 or later phones.
Safari, or better, macOS and iOS include a software AV1 decoder (libdav1d), but it's used only to decode avif, and to generate file previews in Finder.
* VP9 where AV1 is not available (default YouTube codec, almost universally hardware-supported). Also universally supported .webm is vp9+opus - which mostly used as modern .gif
From what I can find, seems opus only supports audio. ogg also has a video format (ogv), odd it is suggested ogg was superseded by opus. Maybe I am missing something ?
Ogg is the container, Vorbis is the audio codec, and colloquially people just called Vorbis-encoded audio "ogg" because of the ogg container.
Vorbis was hit-or-miss. In some cases it did better on same or lower bitrate than MP3 encoded by LAME, in some cases worse. It also suffered an entirely new category of "chirpy/tweety" artefacts similar to what MP3 exhibits at very low bitrates, but with Vorbis they showed up even at nominal bitrates during certain complex spectral patterns. I was a vocal proponent of Vorbis back when it surfaced, but soon changed stance when realizing how unreliable it was quality-wise.
> and colloquially people just called Vorbis-encoded audio "ogg" because of the ogg container.
I would bet that the primary reason wasn't the container format, which nobody really cares about and most users wouldn't have been aware of, but rather the fact that the file extension was '.ogg'.
> You can comfortably play AV1 video in software on your phone
Maybe for about 15 minutes before your battery is drained to 20%. I'm not aware of any software video decoder at all that won't unacceptably heat up your phone and kill your battery.
“Access Advance and Avanci have published rates for a pool asserting content royalties across AVC, HEVC, VP9, VVC, and AV1 that could push major platforms toward nine-figure annual exposure.”
Yes, they've made claims on AV1, claims that have never been tested in court.
You need to understand that these are parasitic businesses. They didn't develop AV1. They didn't contribute to AV1. But they will make any claim they think they can get away with.
Show me the court case they've won that validates their claims on AV1.
AV1 was created by a consortium of some of the biggest tech companies in the world, and "all technology was vetted in a rigorous patent review process before being integrated into the final spec."[0]
On the other side, you've got patent trolls who are upset that their shitty business model is coming to an end. They're just being loud as they're losing.
H264 is the compatibility king.
https://caniuse.com/av1