Download an Ongoing YouTube Live Stream from the Start #11618

Open
Zenostop opened this Issue Jan 6, 2017 · 0 comments

Projects

None yet

1 participant

@Zenostop
Zenostop commented Jan 6, 2017 edited

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2017.01.05. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.

  • I've verified and I assure that I'm running youtube-dl 2017.01.05

Before submitting an issue make sure you have:

  • At least skimmed through README and most notably FAQ and BUGS sections
  • Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

  • Bug report (encountered problems with youtube-dl)
  • Site support request (request for adding support for a new site)
  • Feature request (request for a new functionality)
  • Question
  • Other

The command I'm using to download the YouTube Livestream is
youtube-dl --no-part -f [ID] [URL]

Now, this works completely fine. However, it only starts downloading from the present and continues from there. Is there any way to get it to start downloading from the beginning of the stream and then when it gets to the present, just continue downloading alongside the stream?


EDIT

So I'm still not sure if youtube-dl is capable of this. But I have found another program that seems to do the job pretty well. It's called Livestreamer.

It works pretty similar to youtube-dl as well. I just tested this and it will download everything that happened before and it will continue downloading when it reaches the present. Due to protocol issues on YouTube's side, it doesn't seem like Windows Media Player or VLC 2.x (VLC 3.0 and on can play it) is able to play the downloaded file. Use a player like MPC-HC. I'm also guessing you can use a video converter to convert the file to mp4 or whatever format and play it on any player. Here is the command I used for Livestreamer.
livestreamer --hls-live-edge 99999 -o [FILE NAME].ts [URL] best

@Zenostop Zenostop changed the title from Download an ongoing YouTube Live Stream from the start to Unable to Download an Ongoing YouTube Live Stream from the Start Jan 7, 2017
@Zenostop Zenostop changed the title from Unable to Download an Ongoing YouTube Live Stream from the Start to Download an Ongoing YouTube Live Stream from the Start Jan 7, 2017
@Zenostop Zenostop referenced this issue in chrippa/livestreamer Jan 10, 2017
Open

Set FFMPEG Location and Pull Video Metadata? #1568

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment