15
submitted 4 days ago* (last edited 4 days ago) by Donatello@lemmy.ml to c/firefox@lemmy.ml

cross-posted from: https://lemmy.ml/post/22627659

Hi,

I have a couples of AV1 videos that I would like to display on a html page.

I've tried

<video controls preload="none">
    <source src="FooBar.mp4">
</video>

but it trow back

I've tried first with MKV container as it's listed on the wikipedia page.

but this is not listed on the mozilla page https://developer.mozilla.org/en-US/docs/Web/Media/Formats/Video_codecs 🤔

Confusing.. as I found also this in the firefox release note:

Firefox 97 and later versions support AV1 video in the MKV container.

So WTF !?

I've tried also

<video controls preload="none">
    <source src="FooBar.mp4" type="video/webm; codecs='av01.0.08M.08'">
</video>

but that change nothing...

Any ideas ?

Thanks.

you are viewing a single comment's thread
view the rest of the comments
[-] Donatello@lemmy.ml 4 points 4 days ago

OK, I made work the mp4 container

So in all my trial , I have introduce en error in the video path /path/path/FooBar.mp4 as those test where taking place under Windows this time, the front / was making the file unreachable, "funny" in the console no error about that, but about codec that is not found..... O_o

MP4

it worked with

...
<source src="path/FooBar.mp4" type="video/mp4">
...
<!-- so without specifying the codec, at least -->
MKV

I've tried everything so far, I didn't managed to make it work :/ so it seem that finally Firefox do not support MKV with AV1

this post was submitted on 18 Nov 2024
15 points (94.1% liked)

Firefox

17302 readers
26 users here now

A place to discuss the news and latest developments on the open-source browser Firefox

founded 4 years ago
MODERATORS