Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

AV1 codecs string for type attribute of source HTML5 video element

Tags:

html

video

It is quite unclear at the moment what exact type attribute value should be defined for codecs string to make AV1 work in Chromium based browsers. When I put it like that on top of sources (video files without sound track)

type='video/webm; codecs="av1"'

Chrome still refuses to play av1 and picks vp9 to playback that is below

type='video/webm; codecs="vp9"'

Although if I remove codecs string entirely Chrome will play AV1 just fine.

So the question is: What codecs string value should be defined for AV1?

like image 387
vptest Avatar asked Sep 11 '25 21:09

vptest


1 Answers

Here is the correct type according this article about using AV1:

<source type="video/webm; codecs=av01.0.05M.08">
like image 157
Andrey Sitnik Avatar answered Sep 13 '25 09:09

Andrey Sitnik