Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AV1 support #19734

Open
RinCat opened this issue Nov 4, 2022 · 5 comments
Open

AV1 support #19734

RinCat opened this issue Nov 4, 2022 · 5 comments

Comments

@RinCat
Copy link

RinCat commented Nov 4, 2022

Steps to reproduce the problem

  1. Upload a AV1 video file
  2. Try to play the uploaded video

Expected behaviour

The video file should be pass-through or convert to mp4

Actual behaviour

The video become audio only

Detailed description

No response

Specifications

Mastodon v3.5.3

@RinCat RinCat added the bug Something isn't working label Nov 4, 2022
@leo60228
Copy link
Contributor

leo60228 commented Nov 8, 2022

Does your browser support AV1? Are you uploading it as .mp4 or .webm?

@RinCat
Copy link
Author

RinCat commented Nov 8, 2022

Does your browser support AV1? Are you uploading it as .mp4 or .webm?

Yes, my browser support it, and most browsers support it https://caniuse.com/?search=AV1

The video uploaded as webm. The host ffmpeg enabled AV1 support.

BTW, the file become mp3, not a black screen video.

@leo60228
Copy link
Contributor

leo60228 commented Nov 8, 2022

Okay, I can reproduce this with a .webm, but not with a .mp4 (which works fine).

@leo60228
Copy link
Contributor

leo60228 commented Nov 8, 2022

This seems to be due to marcel not recognizing codecs other than VP8/VP9 as video/webm, leading to it falling back to audio/webm. This should possibly be reported there.

@RinCat
Copy link
Author

RinCat commented Nov 8, 2022

OK, I will report to marcel.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants