youtube-dl record live stream segmentation

Would you please help me to record live stream as some segments with Youtube-dl?

For example record a live stream every 30mins automatically

6

3 Answers

I have been able to capture live webstreams with youtube-dl using this command:

youtube-dl -f best "stream url" -o "path to output file" 
1

You can use streamlink to download a live stream to a file on your local machine:

streamlink -o output.mp4 <url> best

Here, <url> can be a YouTube live stream URL.

You could wrap this call in a script that is periodically started (e.g. via cron)

Try my ee.yrewind utility. You can find it on Github.

This program can download required time interval of any Youtube livestream.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

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

You Might Also Like