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

[Bug] Using DASH on Linux Firefox leads to laggy playback #4665

Closed
DUOLabs333 opened this issue Apr 30, 2024 · 7 comments
Closed

[Bug] Using DASH on Linux Firefox leads to laggy playback #4665

DUOLabs333 opened this issue Apr 30, 2024 · 7 comments
Labels
bug Something isn't working

Comments

@DUOLabs333
Copy link
Contributor

DUOLabs333 commented Apr 30, 2024

Describe the bug
The unique combination of using Invidious, DASH, Linux, and Firefox leads to laggy playback --- changing any of these parameters (using Youtube, using HD720, or using Chromium), leads to smooth playback.

Steps to Reproduce

  1. Have an environment mentioned above (for reference, I am using Arch Linux ARM)
  2. Play any video
  3. See issue

Logs

Screenshots

Additional context
I originally that it had something to do with my GPU, but I couldn't replicate the issue with other sites (even those that use video.js).

@DUOLabs333 DUOLabs333 added the bug Something isn't working label Apr 30, 2024
@unixfox
Copy link
Member

unixfox commented Apr 30, 2024

Probably has to do with either video codec not supported by your device or firefox being not performant enough on ARM.

Closing as video.js hasn't really changed for years and is fast enough.

You may test this PR if it's better with the latest version of video.js 8 though: #4439

@unixfox unixfox closed this as not planned Won't fix, can't repro, duplicate, stale Apr 30, 2024
@DUOLabs333
Copy link
Contributor Author

I think you're right --- I tested av1 playback on third-party sites (ie, neither Invidious or Youtube. Specifically, the problem was the most apparent here: https://av1comparison.vindral.com/), and it has the same lagging problems, while H.264 playback was smooth. Was the switch to av1 recent?

@unixfox
Copy link
Member

unixfox commented Apr 30, 2024

Was the switch to av1 recent?

Actually no but youtube only provide this codec when using DASH.

@DUOLabs333
Copy link
Contributor Author

DUOLabs333 commented Apr 30, 2024

I think I may have been too hasty --- I can only get the slowdown with watch?v=DSgFu4rDxgc or watch?v=gKFRRnLimrg. Other videos work fine.

@unixfox
Copy link
Member

unixfox commented Apr 30, 2024

Some video are AV1 only and some not. Mostly new video only have av1.

@DUOLabs333
Copy link
Contributor Author

DUOLabs333 commented Apr 30, 2024

Only those videos lags -- even videos that were published today plays as expected. I'm not sure what's the criteria for what codec gets returned.

@DUOLabs333
Copy link
Contributor Author

Interestingly, after I recently updated mesa, the playback is still laggier, but much less than before.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants