iv-org / invidious

Invidious is an alternative front-end to YouTube
https://invidious.io
GNU Affero General Public License v3.0
16.19k stars 1.79k forks source link

[Question] Videos do not play most of the time with DASH enabled - Pale Moon on Garuda Linux #4713

Closed Kxeo closed 4 months ago

Kxeo commented 4 months ago

Describe the bug If you enable DASH quality, you can't watch videos most of the time.

Steps to Reproduce

Logs

VIDEOJS: WARN: videojs.plugin() is deprecated; use videojs.registerPlugin() instead  
video.js:163:49
Specified “type” attribute of “application/dash+xml” is not supported. Load of media resource /api/manifest/dash/id/lHHpmwv28Kg?local=true&unique_res=1 failed.  
watch
videojs-http-source-selector initialized!  
videojs-http-source-selector.js:209:13
player.techName_:Html5  
videojs-http-source-selector.js:210:13
Cannot play media. No decoders for requested formats: video/mp4;codecs="av01.0.00M.08", video/mp4;codecs="av01.0.00M.08", video/mp4;codecs="av01.0.01M.08", video/mp4;codecs="av01.0.04M.08", video/mp4;codecs="av01.0.05M.08", video/mp4;codecs="av01.0.08M.08"  
watch
VIDEOJS: ERROR: (CODE:3 MEDIA_ERR_DECODE) Playback cannot continue. No available working or supported playlists. Object { code: 3, message: "Playback cannot continue. No availa…" }  
video.js:163:49
VIDEOJS: ERROR: (CODE:3 MEDIA_ERR_DECODE) Playback cannot continue. No available working or supported playlists. Object { code: 3, message: "Playback cannot continue. No availa…" }

Screenshots image

Additional context

unixfox commented 4 months ago

You are most likely missing some codec.

Kxeo commented 4 months ago

Hmm... so it does work on Waterfox but not Pale Moon? Either this is a bug on Invidious's end or I'm genuinely missing a codec (that i don't even know).

unixfox commented 4 months ago

Most likely missing a codec of some sort. It's not the first time that a user has this issue.

https://github.com/iv-org/invidious/issues/4665 https://github.com/iv-org/invidious/issues/3756 https://github.com/iv-org/invidious/issues/2499 https://github.com/iv-org/invidious/issues/2995

absidue commented 4 months ago

The missing codec is listed in the log you provided, specifically av01 or AV1 as it is more commonly known.

You can check with, this test page, specifically the AOM Video Codec line: https://ott.dolby.com/codec_test/index.html

UCyborg commented 3 months ago

This should be classified as bug. Correct behavior would be to fallback to VP9. Even better, ideally, Invidious should offer the ability to block undesired codecs, as is possible for a long time on YouTube using various extensions, from enhanced-h264ify to ImprovedTube.

AFAIK AV1 is disabled in Pale Moon by default due to some unresolved issues, one could enable it on about:config page by toggling media.av1.enabled. But it uses older decoder, which is slower, and even if you're on Mozilla Firefox which uses a faster AV1 decoder, users on older computers will prefer to at least disable AV1 codec as it is very demanding on older processors and will not allow smooth playback on higher quality settings.

unixfox commented 3 months ago

If we block av1, there is no codec available anymore. Video.js our video player library does not support vp9 in webm format.