Format selection on YouTube #5787
-
DescriptionIs it possible to select a format? Choosing to use AV1, for example. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
When I need more format selection flexibility in youtube, I tend to use https://github.com/yt-dlp/yt-dlp/ and combine audio and video streams as wanted. |
Beta Was this translation helpful? Give feedback.
-
No, the plugin only yields a specific subset of stream codecs, defined by specific IDs: This isn't ideal and will be replaced in the future after Streamlink's new stream selection has landed: 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. |
Beta Was this translation helpful? Give feedback.
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.