Which streaming service? I last used yt-dlp
with the --live-from-start
option on Youtube, it worked fine there.
Selfhosted
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.
Rules:
-
Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.
-
No spam posting.
-
Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.
-
Don't duplicate the full text of your blog or github here. Just post the link for folks to click.
-
Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).
-
No trolling.
Resources:
- selfh.st Newsletter and index of selfhosted software and apps
- awesome-selfhosted software
- awesome-sysadmin resources
- Self-Hosted Podcast from Jupiter Broadcasting
Any issues on the community? Report it using the report flag.
Questions? DM the mods!
You didn't specify a streaming platform. Assuming you're referring to twitch vods I would actually recommend using twitchpipe instead of something like yt-dlp as another user recommended. Reason being is that twitchpipe comes with a shell script that lets twitchpipe monitor a twitch channel for when it goes live, automatically starts recording the vod, and stops when the stream ends - which I find more ideal for putting it on a vps and letting it do its thing.
Depends if the stream is clear or protected with some kind of DRM. I would say you can try with ffmpeg. Just open the network tab in developers tools and look for a GET request that downloads some file ending with .mpd (MPEG-Dash) or .mp3u8 (HLS) and provide this URL to ffmpeg as an input.