this post was submitted on 10 Feb 2024
16 points (94.4% liked)

Selfhosted

38707 readers
677 users here now

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:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. 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.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

As said in the title really. Youtube-dl and forks seem to break when they catch up with the stream.

top 4 comments
sorted by: hot top controversial new old
[–] [email protected] 14 points 7 months ago

Which streaming service? I last used yt-dlp with the --live-from-start option on Youtube, it worked fine there.

[–] [email protected] 5 points 7 months ago

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.

[–] [email protected] 3 points 7 months ago

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.

[–] [email protected] 3 points 7 months ago

You can save files via streamlink: https://streamlink.github.io/