Hello
I tried to use yt-dlp to record livestream from this link "https://nifc77.dcs.redcdn.pl/livedash/o2/NIFC/live/konkurs-finaly-2021-4k.livx?indexMode?startTime=656526600000&startTime =656526600000"
For livestream, it can only record a video of 30 secs and then stop automatically. Is there any way to keep recording until the whole video finishes?
Another question is when I use it to download the finished video with the linked I mentioned above, I find that video and audio are downloaded separately and they can only be merged when everything finishes. If I pause the downloading process with ctrl+c, what I get is only part mp4 file without audio track. Is it possible to pause anytime as I want to get the complete video which is ready for watch? Thank you!
Here's my code
youtube-dl\yt-dlp.exe "https://nifc77.dcs.redcdn.pl/livedash/o2/NIFC/live/konkurs-finaly-2021-4k.livx?indexMode?startTime=656526600000&startTime =656526600000"
[generic] konkurs-finaly-2021-4k: Requesting header
WARNING: [generic] Falling back on generic information extractor.
[generic] konkurs-finaly-2021-4k: Downloading webpage
[generic] konkurs-finaly-2021-4k: Extracting information
[info] konkurs-finaly-2021-4k: Downloading 1 format(s): 0+1
[dashsegments] Total fragments: 4241
[download] Destination: konkurs-finaly-2021-4k [konkurs-finaly-2021-4k].f0.mp4
[download] 2.6% of ~3.13GiB at 523.78KiB/s ETA 02:47:07
ERROR: Interrupted by user
+ Reply to Thread
Results 1 to 13 of 13
-
-
He want's the URL to the web page that plays the video. But I had no problem downloading 4 hours worth using your command line.
Similar thread: https://forum.videohelp.com/threads/403361-How-to-download-this-video#post2634458Last edited by jagabo; 22nd Oct 2021 at 12:19.
-
Find in developer tools and try to use .livx extention link with host "r.dcs.redcdn.pl"(looks like https://r.dcs.redcdn.pl/livedash/o2/NIFC/live/konkurs-finaly-2021-4k.livx?indexMode?st...e=656621400000)
Your .livx link with host "nifc77.dcs.redcdn.pl" (https://nifc77.dcs.redcdn.pl/livedash/o2/NIFC/live/konkurs-finaly-2021-4k.livx?type=vi...e=656615060853) does not fit and downloading only one chunk of video.
D:\youtube-dl>yt-dlp -f 28+1 "https://r.dcs.redcdn.pl/livedash/o2/NIFC/live/konkurs-finaly-2021-4k.livx?indexMode?startTime=656614200000&startTime =656621400000"
[generic] konkurs-finaly-2021-4k: Requesting header
[redirect] Following redirect to https://n-12-2.dcs.redcdn.pl/livedash/o2/NIFC/live/konkurs-finaly-2021-4k.livx?indexMo...e=656621400000
[generic] konkurs-finaly-2021-4k: Requesting header
WARNING: [generic] Falling back on generic information extractor.
[generic] konkurs-finaly-2021-4k: Downloading webpage
[generic] konkurs-finaly-2021-4k: Extracting information
[info] konkurs-finaly-2021-4k: Downloading 1 format(s): 28+1
[dashsegments] Total fragments: 1020
[download] Destination: konkurs-finaly-2021-4k [konkurs-finaly-2021-4k].f28.mp4
[download] 3.4% of ~136.25MiB at 536.52KiB/s ETA 13:21 -
yt-dlp.exe https://r.dcs.redcdn.pl/livedash/o2/NIFC/live/konkurs-finaly-2021-4k.livx?indexMode?st...e=656614200000
[generic] konkurs-finaly-2021-4k: Requesting header
[redirect] Following redirect to https://n-12-2.dcs.redcdn.pl/livedash/o2/NIFC/live/konkurs-finaly-2021-4k.livx?indexMo...e=656614200000
[generic] konkurs-finaly-2021-4k: Requesting header
WARNING: [generic] Falling back on generic information extractor.
[generic] konkurs-finaly-2021-4k: Downloading webpage
[generic] konkurs-finaly-2021-4k: Extracting information
[info] konkurs-finaly-2021-4k: Downloading 1 format(s): 0+1
[dashsegments] Total fragments: 9
[download] Destination: konkurs-finaly-2021-4k [konkurs-finaly-2021-4k].f0.mp4
[download] 100% of 80.24MiB in 00:42
[dashsegments] Total fragments: 9
[download] Destination: konkurs-finaly-2021-4k [konkurs-finaly-2021-4k].f1.m4a
[download] 100% of 1.23MiB in 00:16
[Merger] Merging formats into "konkurs-finaly-2021-4k [konkurs-finaly-2021-4k].mp4"
Deleting original file konkurs-finaly-2021-4k [konkurs-finaly-2021-4k].f0.mp4 (pass -k to keep)
Deleting original file konkurs-finaly-2021-4k [konkurs-finaly-2021-4k].f1.m4a (pass -k to keep)
'startTime' is not recognized as an internal or external command,
operable program or batch file. -
I get "Total fragments: 4242".
Code:yt-dlp "https://nifc77.dcs.redcdn.pl/livedash/o2/NIFC/live/konkurs-finaly-2021-4k.livx?indexMode?startTime=656526600000&startTime=656526600000" [generic] konkurs-finaly-2021-4k: Requesting header WARNING: [generic] Falling back on generic information extractor. [generic] konkurs-finaly-2021-4k: Downloading webpage [generic] konkurs-finaly-2021-4k: Extracting information [info] konkurs-finaly-2021-4k: Downloading 1 format(s): 0+1 [dashsegments] Total fragments: 4242 [download] Destination: konkurs-finaly-2021-4k [konkurs-finaly-2021-4k].f0.mp4 [download] 1.1% of ~3.27GiB at 323.43KiB/s ETA 02:34:18
-
That's yesterday's link which has already ended.
Here's today's livestreaming link https://r.dcs.redcdn.pl/livedash/o2/NIFC/live/konkurs-finaly-2021-4k.livx?indexMode?st...e=656614200000
Please try this now before it ends and tell me the result. -
write did you succeed to download livestream ?
Last edited by mister_ nex; 23rd Oct 2021 at 08:31.
-
Yes, but I managed to record the livestream with streamlink rather than yt-dlp eventually.
streamlink "dash://https://r.dcs.redcdn.pl/livedash/o2/NIFC/live/konkurs-finaly-2021-4k.livx?indexMode?startTime=656700300000&startTime =656700300000" best -o chopin.mp4
[cli][info] Found matching plugin dash for URL dash://https://r.dcs.redcdn.pl/livedash/o2/NIFC/live/konkurs-finaly-2021-4k.livx?indexMode?startTime=656700300000&startTime =656700300000
[cli][info] Available streams: 180p (worst), 360p, 540p_alt, 540p, 720p, 1080p, 2160p (best)
[cli][info] Opening stream: 2160p (dash)
[utils.named_pipe][info] Creating pipe streamlinkpipe-9100-1-3385
[utils.named_pipe][info] Creating pipe streamlinkpipe-9100-2-9311
[download][chopin.mp4] Written 3.27 GB (22m1s @ 2.1 MB/s) -
You could also add this to the yt-dlp call arguments:
Code:--downloader ffmpeg --downloader-args "ffmpeg:-t 180"
And for a certain resolution:
Code:-S 'res:500'
Similar Threads
-
Need help for download with yt-dlp
By sibhus in forum Video Streaming DownloadingReplies: 26Last Post: 19th Feb 2024, 15:02 -
yt-dlp error "HTTP Error 403: Forbidden". MPD downloading [ABC.com site]
By nikshell29 in forum Video Streaming DownloadingReplies: 5Last Post: 26th Aug 2021, 15:18 -
DLP Chip
By biferi in forum Newbie / General discussionsReplies: 1Last Post: 8th Apr 2021, 15:53 -
Seeking free conversion-downloading program, or just the best downloading
By jimmo in forum Video ConversionReplies: 6Last Post: 8th Jan 2017, 15:32 -
Hauppauge HD PVR 2 Gaming Edition HDMI Recording Issues
By thenefftw in forum Capturing and VCRReplies: 8Last Post: 4th Nov 2016, 10:54