Skip to content

Format selection on YouTube #5787

Answered by bastimeyer
thatsprettygood asked this question in Q&A
Discussion options

You must be logged in to vote

No, the plugin only yields a specific subset of stream codecs, defined by specific IDs:
https://github.com/streamlink/streamlink/blob/6.5.1/src/streamlink/plugins/youtube.py#L49

This isn't ideal and will be replaced in the future after Streamlink's new stream selection has landed:
#4902

However, as said, the YouTube plugin doesn't implement adaptive stream URL signatures, so the bandwidth is limited to ~50KiB/s, which pretty much makes watching YouTube VOD content using Streamlink impossible.

Whether YouTube offers AV1, H265 or VP9 live streams, I don't know, but those would be handled differently anyway.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@bastimeyer
Comment options

Comment options

You must be logged in to vote
1 reply
@bastimeyer
Comment options

Answer selected by bastimeyer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants