Open yg2288 opened 9 years ago
You can try --hls-live-edge 99999
.
This seems to just record the ongoing live stream. Is it possible to download certain segments with livestreamer?
chrippa, i can't get this to work. Here's a bunch of live streams, https://www.youtube.com/channel/SBAaOjE-GIlRI
How would i go about downloading something from a given point (or the start)? I have tried the following (using win7) livestreamer --hds-live-edge 99999 someyoutubeurl best -o whatever.mp4
But all it does is start downloading from the live point the moment the command is executed. So if i see something streaming and it's 45 minutes into it, those 45 minutes are lost.
@justletmepost
I have tried the following (using win7) livestreamer --hds-live-edge 99999 someyoutubeurl best -o whatever.mp4
YouTube Live streams are HLS streams. Obviously you are using the wrong option: HLS not HDS.
Example:
livestreamer "https://www.youtube.com/watch?v=-62LWTsykcw" best --hls-live-edge 99999
The output format is MPEG-TS and not MP4.
livestreamer "https://www.youtube.com/watch?v=-62LWTsykcw" best --hls-live-edge 99999 -o Live.ts
I have tested this option and it seems to work.
Thanks a bunch 0880, worked perfectly.
Is it possible to download the dvr broadcast (from the start) of an ongoing youtube stream with livestreamer?