What does HackerNews think of streamlink?

Streamlink is a CLI utility which pipes video streams from various services into a video player

Language: Python

#61 in Python
FWIW streamlink [0] and streamlink twitch GUI [1] are FOSS solutions for watching twitch on GNU/Linux:

  streamlink "https://twitch.tv/$streamer" best --twitch-disable-ads --player mpv
No ads, no tracking, no purple screens, no psuedo social network stuff to hijack your dopamine systems.

[0] https://github.com/streamlink/streamlink

[1] https://streamlink.github.io/streamlink-twitch-gui/

Over the past ~10 years, I've come to the conclusion that it's best to just pipe high quality video streams into a cross-platform external video player like mpv[0][1][2].

I can't remember what Firefox uses internally to decode/display different video codecs (ffmpeg like mpv? system builtins? hardware media encode/decode, like on the M1?), but I've always found that, through yt-dlp[3]/ streamlink[4] integration, a native external video player like mpv is better able to support high quality video streams without constantly dropping frames or tanking the performance of the tab/browser.

I can't put my finger on exactly why browser video streams feel so bad to me, but they do. Maybe it's the DOM overhead, or maybe it's something else. My personal takeaway is that browsers still just aren't optimized enough for fast/performant video playback.

[0]: https://mpv.io/

[1]: https://github.com/grmat/play-with

[2]: https://addons.mozilla.org/en-US/firefox/addon/play-with/

[3]: https://github.com/yt-dlp/yt-dlp

[4]: https://github.com/streamlink/streamlink

I'm one of the maintainers of Streamlink [1] which has members from around the world and we've been running various methods of donation since 2017 or so. In that time our Open Collective [2] has made about $1600 USD. We have 6k+ stars, and over 50,000 users across all platforms (based on download stats as we don't collect any metrics in our apps so it's potentially higher) yet the entire amount we've collected is thanks to less than 100 people. We note the Open Collective on every release as well, and have donation links in the documentation.

My own personal donation methods total $15 from one person in the past 5 years since we forked the project and started maintaining it. We have more users than many start ups do and I know that there are several companies using our software.

[1]: https://github.com/streamlink/streamlink [2]: https://opencollective.com/streamlink

While this may work for individual contributors I don't see how it benefits open source work and the community in general. It suggest writing articles and creating videos but there is then a drive to release less information publicly to try and get people to pay because your code is confusing or your docs are lacking. That seems like a big negative.

It also doesn't work for team based projects. I'm one of the maintainers of Streamlink [1] which has members from around the world and we've been running various methods of donation since 2017 or so. In that time our Open Collective [2] has made about $1600 USD. We have over 50,000 users across all platforms (based on download stats as we don't collect any metrics in our apps so it's potentially higher) yet the entire amount we've collected is thanks to less than 100 people. We note the Open Collective on every release as well.

My own personal donation methods total $15 from one person in the past 5 years since we forked the project and started maintaining it. We have more users than many start ups do and I know that there are several companies using our software, but I haven't figured out how to make donations really work yet. How do we determine who should make what from a shared pool of money? How do you value a contribution, PR, etc., and most importantly how do you get users to actually pay without negatively impacting the project?

[1]: https://github.com/streamlink/streamlink [2]: https://opencollective.com/streamlink

There exist open source clients which can play Twitch livestreams, so I’m not sure how much effort is being concentrated there anymore: https://github.com/streamlink/streamlink
Related to youtube-dl, I recently found out streamlink[0], which is a nice cli tool that does streamripping from various websites (it even supports twitch streams) to help you play these streams on the player of your choice (instead of the browser). Of course this also circumvents ads as a side-effect.

[0]: https://github.com/streamlink/streamlink

Livestreamer is discontinued. I suggest people try https://github.com/streamlink/streamlink