Andrews54757 / FastStream

Stream videos without buffering in the browser. An extension that gives you a better, accessible video player designed for your needs.
https://faststream.online/
Other
443 stars 30 forks source link

[BUG] Unable to decode Youtube video using GPU #266

Closed leoydm closed 3 weeks ago

leoydm commented 1 month ago

Describe the bug FastStream does not pick up a stream that can be decoded by my GPU as the Youtube player.

Version Version1.3.31.1

Platform Chrome

Steps to Reproduce https://www.youtube.com/watch?v=E5SvVMqXDCI When playing this video in 4K, FastStream always chooses AV1 which cannot be decoded by my GPU, while VP9 stream exists. Maybe it should list all the codecs to choose from, add options to pick up a preferred codec for all Youtube videos, and by default choose the same codec as the Youtube player.

ChromiaCat commented 1 month ago

Did you try using an extension like enhanced-h264ify at the same time? That should tell YouTube to not serve you the codecs you don't want.

leoydm commented 1 month ago

Did you try using an extension like enhanced-h264ify at the same time? That should tell YouTube to not serve you the codecs you don't want.

I tried this extension but it doesn't work for FastStream. Also, I notice when I choose resolution 2K or 4K, the color from the player is off and with banding artifacts. Maybe it chooses the HDR stream? It would be easier to diagnose if the player can provide detailed stats for the playing video. Screenshot1 Screenshot2

Andrews54757 commented 1 month ago

vp9 is deprioritized for now because it requires re-encoding when saving the video as an mp4. we are working on a new demuxer/reencoder/remuxer module.

Andrews54757 commented 3 weeks ago

Closing as Future TODO