Streamlink: is it possible to use youtube's timeshift feature?

Created on 25 May 2018  路  3Comments  路  Source: streamlink/streamlink

Checklist

  • [ ] This is a bug report.
  • [x] This is a feature request.
  • [ ] This is a plugin (improvement) request.
  • [ ] I have read the contribution guidelines.

Description

With the YT webplayer it is possible to go back in time of any live stream up to 2 hours. Would something like this be possible with streamlink?

question solved

Most helpful comment

You can also use the --hls-start-offset option :)

eg. --hls-start-offset 00:10:00 to rewind 10 minutes.

All 3 comments

@Troyciv this is already 100% possible!

Assuming you are using the HLS streams on Youtube (which you likely are), you can use one of 2 different options to accomplish this:
--hls-live-restart will take you as far back in the live stream as possible (if it's less than 4 hours it should take you back to the beginning, as long as the streamer allows "rewind)
--hls-live-edge ## where ## is a number of segments to rewind

You can also use the --hls-start-offset option :)

eg. --hls-start-offset 00:10:00 to rewind 10 minutes.

thank you

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ahtcx picture ahtcx  路  3Comments

JohnDoh666 picture JohnDoh666  路  3Comments

Tikounet picture Tikounet  路  3Comments

wastrel333 picture wastrel333  路  3Comments

flijloku picture flijloku  路  3Comments