fortypercnt / stream-translator

MIT License
220 stars 44 forks source link

Kick/Other Platforms support #10

Open lukkzien opened 11 months ago

lukkzien commented 11 months ago

Hi, first of all, I want to thank you for creating this project, it's truly excellent. Second, I'd like to know if it's possible to add support for other websites, such as Kick or any .m3u8 stream. It's something I think would be fantastic! Due to my limited knowledge, I'm not sure how to do this properly, which is why I'm suggesting it in case you consider doing it in the future.

fortypercnt commented 11 months ago

Thanks for the kind words! This project uses streamlink to get livestream CDN URLs which are then passed to ffmpeg/whisper. Streamlink does not currently support Kick and judging by this response, I would say it is unlikely that they add support for Kick. You can however use the command line flag -direct_url to pass the URL directly to ffmpeg without using streamlink. This should work with any type of media that ffmpeg can read. For Kick you could get the CDN URL as described here using dev tools in your browser. Since this doesn't look too difficult at a first glance, I might give it try to make a Kick plugin for streamlink, but no promises.