2

I'd like to watch a youtube video via livestreamer, let's say by starting at 10 minutes into the video.

How can I do that? Is that even possible? The following code bits do not work:

  • livestreamer http://www.youtube.com/watch?v=w87fOAG8fjk?t=10m

  • livestreamer http://www.youtube.com/watch?v=w87fOAG8fjk&?t=10m

  • livestreamer http://www.youtube.com/watch?v=w87fOAG8fjk&#t=10m

  • livestreamer http://www.youtube.com/watch?v=w87fOAG8fjk&t=10m

  • livestreamer http://www.youtube.com/watch?v=w87fOAG8fjk#t=10m

Note Just in case one is interested in the program: click here for another q&a on it.

2

If you don't mind using vlc (which livestreamer is based on):

vlc --start-time $((10*60)) "http://www.youtube.com/watch?v=w87fOAG8fjk"

Where --start-time is given the time offset in seconds.

For livestreamer I don't see any available option right now to add this functionality. They downgraded the functionality of the wrapped vlc so to say :).

Source

| improve this answer | |
  • Finally got around to it and thank you. If anyone else is wondering: $((10*60)) needs to be put without s for seconds or any other unit. So you'd have to write 1800 to start at 30 minutes. – henry Jul 6 '14 at 12:35
2

Use the --player-continuous-http option and you can control the video within VLC. You may not be able to start at 10 min (haven't figured that out yet), but you will be able to seek within the video which is similar functionality and a bit more robust :)

livestreamer --player-continuous-http http://www.youtube.com/watch?v=w87fOAG8fjk
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.