Hello
I have issues on recording livestream of the link below
https://nifc77.dcs.redcdn.pl/livedash/o2/NIFC/live/konkurs-finaly-2021-4k.livx?type=vi...e=656615060853
As you can see from the code below, yt-dlp can only record for 30 secs and then stop automatically. Is there any way to keep recording until livestream ends?
G:\youtube-dl\yt-dlp.exe https://nifc77.dcs.redcdn.pl/livedash/o2/NIFC/live/konkurs-finaly-2021-4k.livx?type=vi...e=656615060853
[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.16MiB in 00:58
[dashsegments] Total fragments: 9
[download] Destination: konkurs-finaly-2021-4k [konkurs-finaly-2021-4k].f1.m4a
[download] 100% of 1.23MiB in 00:19
[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)
'ft' is not recognized as an internal or external command,
operable program or batch file.
'id' is not recognized as an internal or external command,
operable program or batch file.
'bitrate' is not recognized as an internal or external command,
operable program or batch file.
'startTime' is not recognized as an internal or external command,
operable program or batch file.
+ Reply to Thread
Results 1 to 4 of 4
-
-
yt-dlp doesn't record live streams. Anyway, you could try with ffmpeg as external downloader:
Code:yt-dlp --downloader ffmpeg "https://nifc77.dcs.redcdn.pl/livedash/o2/NIFC/live/konkurs-finaly-2021-4k.livx?type=video&ft=1&id=20&bitrate=800000&startTime=656615060853"
Code:streamlink "dash://https://nifc77.dcs.redcdn.pl/livedash/o2/NIFC/live/konkurs-finaly-2021-4k.livx?type=video&ft=1&id=20&bitrate=800000&startTime=656615060853" best -o video.mp4
-
There is something wrong with the first code.
yt-dlp.exe --downloader ffmpeg "https://r.dcs.redcdn.pl/livedash/o2/NIFC/live/konkurs-finaly-2021-4k.livx?indexMode?startTime=656700300000&startTime =656700300000"
[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=656700300000
[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
[download] Destination: konkurs-finaly-2021-4k [konkurs-finaly-2021-4k].mp4
Unrecognized option 'headers'.
Error splitting the argument list: Option not found
ERROR: ffmpeg exited with code 1
The second one works. Thank you!
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 1.81 GB (12m10s @ 3.8 MB/s) -
Similar Threads
-
Converting iPlayer audio dash+m4s and video dash+m4s to mp4
By Kim_ in forum Video ConversionReplies: 1Last Post: 5th Nov 2021, 11:42 -
Recording a livestream..
By yuppicide0138 in forum Video Streaming DownloadingReplies: 5Last Post: 18th Dec 2020, 16:03 -
livestream.com
By hocuspocus69 in forum Video Streaming DownloadingReplies: 0Last Post: 3rd Apr 2020, 11:58 -
youtube livestream
By sviri2 in forum Video Streaming DownloadingReplies: 3Last Post: 18th Jan 2019, 12:24 -
How to record from this livestream in youtube?
By Chemist116 in forum Video Streaming DownloadingReplies: 24Last Post: 29th Dec 2018, 15:55