question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

plugins.youtube: rewind support / DASH streams

See original GitHub issue

Feature Request

  • This is a feature request and I have read the contribution guidelines.

Description

Youtube and some other sites have replaced HLS rewinding with DASH, and so Streamlink can no longer download live streams from the beginning.

Expected / Actual behavior

Some youtube streams have “rewind” enabled, allowing users to rewind to the beginning of the stream and watch the full stream with history.

Formerly, Streamlink was able to interface this and download the complete stream using --hls-live-restart. Apparently, youtube no longer uses hls for this, and so the ability to interface with dash and recover previous segments is required to ensure continued functionality.

Additional comments, screenshots, etc.

See related issues:

https://github.com/streamlink/streamlink/issues/2572 https://github.com/streamlink/streamlink/issues/2890 https://github.com/streamlink/streamlink/issues/2891 https://github.com/streamlink/streamlink/issues/2935

And especially these comments:

https://github.com/streamlink/streamlink/issues/2891#issuecomment-612662516 https://github.com/streamlink/streamlink/issues/2935#issuecomment-619452446

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:47
  • Comments:20 (6 by maintainers)

github_iconTop GitHub Comments

33reactions
beardypigcommented, Apr 26, 2020

I think this will require some quite significant work on the way streams are downloaded to make it feasible. I started work on a redesign of that stuff and maybe it’s something we can look at for 2.0.0 - I will write up some design docs next week and create and issue to describe what I’m thinking.

8reactions
ghostcommented, Nov 7, 2020

For people who need this functionality - there is an “alternative”, Mediahuman youtube-downloader, which does download youtube livestreams from the start. However for me a number of times it would cancel midway through the stream with “Download completed”. Another “alternative” would be setting up a cron job with some shitty bash script to get new livestream from rss and start downloading it as it goes live.

Read more comments on GitHub >

github_iconTop Results From Across the Web

WVSNP-DASH: Name-Based Segmented Video Streaming
DASH players support interactions, such as jump backward (rewind, RW) or for- ward (fast forward, FF) by fetching the video segment for the...
Read more >
Nuevo plugin for Videojs player
Advanced All-in-One Nuevo plugin for Videojs player. ... Video quality picker for standard MP4 and automatic quality picker for HLS, and DASH streams...
Read more >
What Is MPEG DASH?
DASH supports trick modes for seeking, fast forwards and rewind; DASH supports advertising insertion. In terms of availability, DASH should be completed and ......
Read more >
HLS vs DASH vs MP4 vs MPEG-TS Linear vs RTMP for ...
Learn the best protocol for your streaming needs. ... DASH supports Encrypted Media Extensions (EME) and Media Source Extension (MSE).
Read more >
A guide to Video Transcoding and Adaptive Streaming
The quality of the video rendered by the Youtube video player ... A video player supporting Adaptive Streaming protocols like DASH and HLS: ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found