VideoHelp Forum

Try DVDFab and download streaming video, copy, convert or make Blu-rays,DVDs! Download free trial !
+ Reply to Thread
Results 1 to 5 of 5
Thread
  1. Hello

    I get answer from the previous thread by JFK about how to download live streaming on YouTube but the problem is how to download live video from the start of streaming? and JFK gives me this idea. I mean If YouTube keeps previous data while the live streaming in progress... Does anyone knows how to download the live streaming from the start?

    Thank you for the help
    Last edited by aaajan; 7th May 2020 at 11:02.
    Quote Quote  
  2. Member
    Join Date
    Jul 2007
    Location
    United States
    Search Comp PM
    A quick and dirty test gave me this. Windows timeout command in a batch file to continually execute the commands.

    I'm sure others will come up with some better solutions.

    In a batch file (name.bat)

    streamlink "https://www.youtube.com/watch?v=WFFISUTYgCAI" best -o "h:/video2.ts
    timeout 10
    streamlink "https://www.youtube.com/watch?v=WFFISUTYgCAI" best -o "h:/video2.ts
    timeout 10

    Repeating as many times as you want. The cmd will pause and run every 10 seconds or any interval you choose. It will stop once the recording is done and ask if you want to overwrite the existing file. Keep in mind that it takes a few seconds for the streamlink cmd to execute and there's a possibility there may an issue because you're hammering YouTube with download requests, so set the timeouts at a reasonable rate, say every minute or so, a few minutes before the stream is scheduled to start.

    Use Task Scheduler to setup a time to start the batch file.

    I'm going to test this tomorrow morning on a channel I've started following.
    Quote Quote  
  3. Member
    Join Date
    Jul 2007
    Location
    United States
    Search Comp PM
    Okay, using Task Scheduler wasn't as simple as I thought.

    There are multiple ways to use it depending what you're trying to run and what version of Windows you're using as discussed here: https://stackoverflow.com/questions/4437701/run-a-batch-file-with-windows-task-scheduler

    Turns out for me (Win 10), it was simple:

    Program/Script: <drive><batch file name>
    Quote Quote  
  4. Member
    Join Date
    Jul 2007
    Location
    United States
    Search Comp PM
    Ahhh...another twist. On the channel I record from, sometimes the URL for the upcoming stream isn't posted until just before the stream begins.
    Quote Quote  



Similar Threads