To watch and record the Daytona 24 Hour last weekend I used this.
https://github.com/Kethsar/ytarchive
I wrote this batch file to do that.
Basically it nominates the output folder\file (no .extension!)
The current time is appended to the file name.
It recorded 5 minutes, waited 25 minutes, recorded 5 minutes, waited 25.....
until the streaming finished. The url changed twice during the 24 hours.
The Daytona 24 hour race was broken into 3 parts.
https://www.youtube.com/watch?v=58CZxDrMniI
https://www.youtube.com/watch?v=PLI1hI63zpA
https://www.youtube.com/watch?v=nnhQG3i3Jm8
Of course you can now download the lot from YouTube.
After the live-streaming had finished I got a message on the screen telling me the url was not available for downloading, and was advised to try using yt-dlp.exe. I already have a number of batch files that use yt-dlp.exe.Code:@echo off :loop echo|time > ticktock1 findstr "current" ticktock1 > ticktock2 for /F "tokens=1-8 delims=^:. " %%a in (ticktock2) do set TimeNow=%%e.%%f.%%g del ticktock? echo. &set TimeNow :: If the live stream has already started, go back and download from the beginning. ::ytarchive.exe -o "D:/Movies/Daytona-%TimeNow%" --live-from 0h00m00s --capture-duration 00:05:00 --threads 2 "https://www.youtube.com/watch?v=nnhQG3i3Jm8" 720p :: Download, starting right now. ::ytarchive.exe -o "D:/Movies/Daytona-%TimeNow%" --live-from now --capture-duration 00:05:00--threads 2 "https://www.youtube.com/watch?v=nnhQG3i3Jm8"720p start "" /b /wait timeout /T 1500 goto :loop pause
I did this as an exercise, and found the software easy to use.
p.s. I've commented out the two lines that actually do the download.
+ Reply to Thread
Results 1 to 1 of 1
-
Last edited by pcspeak; 27th Jan 2025 at 02:50.
Similar Threads
-
Help decrypting downloaded mp4 files from stream (with keys)
By Encrypt2Decrypt in forum Video Streaming DownloadingReplies: 34Last Post: 26th Oct 2024, 22:32 -
Downloaded video stream (mp4) file has weird green overlay.
By ksiiiiii in forum Video Streaming DownloadingReplies: 15Last Post: 5th Jul 2024, 07:18 -
Streaming decrypted live stream - live pipe buffering problem
By Kalisto in forum Video Streaming DownloadingReplies: 0Last Post: 25th Apr 2024, 12:19 -
how to get live stream from pilot.wp.pl
By marianpalacz in forum Video Streaming DownloadingReplies: 2Last Post: 23rd Aug 2022, 10:44 -
Trying to play this MP4 video that I downloaded by Stream Recorder
By ddlovatomux in forum Video Streaming DownloadingReplies: 5Last Post: 17th May 2020, 02:21