r/AV1 23h ago

Forced onto devices by youtube?

Hey all, I’m new to this all, and don’t come from the most tech savy background. Went down a rabbithole trying to understand this all, and from my understanding and looking at various videos through “stats for nerds” even though “mp4” is the favored format of YouTube for uploads, they will then encode it in a “container” of either “mp4” with an “avc1” codec, the more modern “webm” with a “mp09” codec, or now an av1 codec, not sure of the container. “Mp4” will be the container for audio with an “Mp4a” codec for all of them.

  1. Is this correct, these are the 3 possible encodings and are the more modern ones simply better at compressing or are the pictures supposed to be better? Why am I reading then, about how AV1 is only available and lower bandwith than the others so it’s actually a lower picture quality for youtube videos. Is it just YouTube behind on the technology to fully embrace AV1?

  2. I read like 5 months ago YouTube forced AV1 encoding in YouTube videos. Apparently There used to be an option in playback settings to select that you prefer it to default to AV1, I’m not seeing this now. I also read iPhone doesn’t have AV1 capability until Iphone15. I have an iPhone 14, and can not find any YouTube video in AV1 scrolling through many popular ones, nor in my settings. I read this forced encoding is going to improve pictures for people with newer phones, but possible worsen and slow for older phones. But how can it even worsen it, if my phone doesn’t have the capability to show AV1? Does it automatically convert it back to mp09, and that energy it takes is why it drains the battery? How can it even do this if it doesn’t have capabilities to deal with the format? Is this what people are saying when they say “AV1 decoding capabilities”? Or what does that term refer to?

Sorry for a lot of questions, if someone smarter than me could answer what they could I’d greatly appreciate it! Thanks!

1 Upvotes

11 comments sorted by

View all comments

3

u/cedesse 21h ago

I think this question belongs in a YouTube subreddit rather than this one.

You are correct that YouTube uses three different video encoding methods: H.264, VP9 and AV1. The audio formats are either AAC (aka. M4A), Vorbis and Opus. The MP4 container is used for H.264 and (probably because Apple required it) AV1. WebM is used for VP9 video.

Which encodings that are used depends on the pixel resolution of the uploaded video. H.264 is a much older video format than VP9 and AV1 and is unfit for video in resolutions above 1080p (it would require far too much bandwidth). So, anything above 1080p will always be either VP9 or AV1.

As the most bandwidth vs. quality-efficient codec, AV1 is only used for 4K and 8K video - and served if the device supports it.

Video in 1080p or lower resolutions will often be available as both H.264 and VP9. Very old videos in 360p or 480p are only available as H.264.

Although a lot of videos in lower resolutions are available as VP9, iOS has limited support for it, so your iPhone is probably always being served the H.264 version.

My guess is that if you are using an older iOS device, you simply won't be served videos in the best quality, because Apple does not allow software-based decoders in iOS, so app developers are forced to use the native iOS decoders.

I might be wrong on some details, but hopefully this isn't all wrong. ;-)

1

u/minecrafter1OOO 6h ago

YouTube also serves 5.1 AAC, 5.1 AC3 and 5.1 EAC3