VideoHelp Forum
+ Reply to Thread
Results 1 to 13 of 13
Thread
  1. 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
    Quote Quote  
  2. URL Live stream?
    Quote Quote  
  3. 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#post2634458
    Last edited by jagabo; 22nd Oct 2021 at 12:19.
    Quote Quote  
  4. Originally Posted by jagabo View Post
    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#post2634458
    Here's the web link https://chopin2020.pl/en/multimedia/competition-transmission/456/second-prize-winners-concert
    Quote Quote  
  5. 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
    Quote Quote  
  6. Originally Posted by mister_ nex View Post
    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 think the problem is only 9 fragments can be found at one time rather than continuous ones.
    Quote Quote  
  7. 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
    Quote Quote  
  8. Originally Posted by jagabo View Post
    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.
    Quote Quote  
  9. write did you succeed to download livestream ?
    Last edited by mister_ nex; 23rd Oct 2021 at 08:31.
    Quote Quote  
  10. Originally Posted by mister_ nex View Post
    write did you succeed to download livestream ?
    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)
    Quote Quote  
  11. Member
    Join Date
    Feb 2021
    Location
    Sweden
    Search Comp PM
    You could also add this to the yt-dlp call arguments:
    Code:
    --downloader ffmpeg --downloader-args "ffmpeg:-t 180"
    In this case it will make the download file 180s long.

    And for a certain resolution:
    Code:
    -S 'res:500'
    This will get you the vertical resolution 500 or less. I use it to get 480p when the actual format sometimes may be 488 etc.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!