For example, if I want to record/download a tv show or sporting event while I'm busy, at work or sleeping. It is possible?
Edit: I mean, excecute a command right now but for the download to start after a few hours. That´s my doubt.
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
Try StreamFab Downloader and download streaming video from Youtube, Netflix, Amazon! Download free trial.
+ Reply to Thread
Results 1 to 9 of 9
Thread
-
Last edited by lfer94; 5th Jul 2021 at 14:45.
-
Perhaps you can set up a command using
the Windows Task scheduler -
I have streamlink, ffmpeg, youtube-dl, yt-dlp and a few other apps installed on my ubuntu server and while I am at work, or out, I often initiate a sports event recording / capture via SSH with 'Termius' app on my old android phone. Or while I am in bed and can't be arsed to get up and go downstairs to the desktop.
ffmpeg -i "http://iptv-URL-port/username/pwd/iptv-channel-number" -c:v libx264 -profile:v high -c:a copy output.tsstreamlink --hls-live-restart "any-m3u8" best -o output.tsLast edited by codehound; 5th Jul 2021 at 17:14.
-
Thank you, it's what I was looking for. But for some reason Task Scheduler just opens an empty command window and doesn't run what i wrote at the argument box. I also tried to do it with a .bat file but was unsuccessful.
This is the code that I use often. Maybe someone can help me to create a .bat file correctly.
Code:yt-dlp -f bestvideo --external-downloader aria2c --allow-unplayable-formats "https://edge4-hr.cvattv.com.ar/live/c2live/ESPN_HD/SA_Live_dash_enc_2A/ESPN_HD.mpd" --no-part -o video.mp4
Last edited by lfer94; 6th Jul 2021 at 02:12.
-
-
On linux, at “at” command is very useful: https://linuxize.com/post/at-command-in-linux/
-
It worked for me with Win10 and t his batch file:
Code:c: cd \youtube-dl yt-dlp -f bestvideo --external-downloader aria2c --allow-unplayable-formats "https://edge4-hr.cvattv.com.ar/live/c2live/ESPN_HD/SA_Live_dash_enc_2A/ESPN_HD.mpd" --no-part -o video.mp4
The second line makes sure the current directory is \youtube-dl where I have yt-dlp installed.
The third line executes your yt-dlp command.
Code:C:\WINDOWS\system32>c: C:\WINDOWS\system32>cd \youtube-dl C:\Youtube-dl>REM youtube-dl --no-part https://kpbs.streamguys1.com/kpbs-mp3 -o output.mp3 C:\Youtube-dl>yt-dlp -f bestvideo --external-downloader aria2c --allow-unplayable-formats "https://edge4-hr.cvattv.com.ar/live/c2live/ESPN_HD/SA_Live_dash_enc_2A/ESPN_HD.mpd" --no-part -o video.mp4 [generic] ESPN_HD: Requesting header WARNING: Falling back on generic information extractor. [generic] ESPN_HD: Downloading webpage [generic] ESPN_HD: Extracting information [info] Downloading format(s) video=2499968.track_id=10007 [dashsegments] Total fragments: 3597 [download] Destination: video.mp4 WARNING: Inconsistent state of incomplete fragment download. Restarting from the beginning ... [download] 0.7% of ~1.99GiB at 78.02KiB/s ETA 08:23:22
If I recall correctly, older versions of Windows wouldn't run a batch file from Task Scheduler like that. You had to run CMD.EXE with the correct switch to run a batch file. Something like: "cmd.exe /c filename.bat"
Similar Threads
-
How to download a ts stream and with a video/audio time delay?
By BosseB in forum Video Streaming DownloadingReplies: 8Last Post: 10th Mar 2021, 18:21 -
Watch vid at same time you download it, are you using twice the bandwidth?
By gumbygum in forum Video Streaming DownloadingReplies: 4Last Post: 12th Nov 2020, 22:05 -
Sending an email on a schedule
By davexnet in forum ComputerReplies: 2Last Post: 1st Nov 2019, 05:18 -
CMD error with youtube-dl
By king maker in forum Video Streaming DownloadingReplies: 12Last Post: 6th Mar 2019, 01:47 -
Trying to use CMD line for eac3to
By Lathe in forum AudioReplies: 45Last Post: 14th Feb 2018, 19:40