VideoHelp Forum




+ Reply to Thread
Results 1 to 5 of 5
  1. Right now I'm using yt-dlp + batch loop every 50 seconds to download, but I had to cut out duplicated scenes from previous files (at first 2-10 seconds on each and every files) and concat it again with ffmpeg.

    I tried with other tools like xstreamdl (has missing audio/video issue after download), n_m3u8dl (crashes right after parsing that MPD), streamlink (won't download encrypted MPD), ffmpeg (can't decrypt the file produced by it)

    is there any way to download it properly, or that's it, there's no tools that can download it properly?

    I can give you the link via PM if you want to test it out.
    Last edited by qwertiio; 17th Jan 2022 at 08:37.
    Quote Quote  
  2. I think there are scripts on github that can download live streams from the start using ffmpeg. you can probably output to a specific file and use shaka-packager if mp4decrypt can't handle it.
    Quote Quote  
  3. That's not a DASH specific problem. HLS will have the same issue.

    You have to keep track of what segments you've downloaded already, and don't fetch them again. You identify the segments by URL and byte range (if any)

    This is what my own tools do, and it works fine. I've never had a dropped or duplicated segment.
    Quote Quote  
  4. For the picture it's not that complicated if you use yt-dlp:

    -Download the mpd
    -Edit <BaseURL>http://...path to original mpd.../</BaseURL> right under the first MPD-Tag
    -Edit the end-time to a length you like to record
    -upload it somewhere
    -start yt-dlp with that mpd with --limit-rate under 1MB

    To be more sure you can use --abort-on-unavailable-fragment and make about 20 identical calls of yt-dlp in a batch, as you nearly already did.

    The sound is the bigger problem, because it is split in numerous small parts to fit in the picture time scale. Sadly I hadn't time up to now to invent something that does this correctly, so the above is quite useless.
    But wasn't there some news about two or three weeks ago that yt-dlp could now handle live-streams? Did you try the latest version?
    Quote Quote  
  5. Originally Posted by Quint View Post
    For the picture it's not that complicated if you use yt-dlp:

    -Download the mpd
    -Edit <BaseURL>http://...path to original mpd.../</BaseURL> right under the first MPD-Tag
    -Edit the end-time to a length you like to record
    -upload it somewhere
    -start yt-dlp with that mpd with --limit-rate under 1MB

    To be more sure you can use --abort-on-unavailable-fragment and make about 20 identical calls of yt-dlp in a batch, as you nearly already did.

    The sound is the bigger problem, because it is split in numerous small parts to fit in the picture time scale. Sadly I hadn't time up to now to invent something that does this correctly, so the above is quite useless.
    But wasn't there some news about two or three weeks ago that yt-dlp could now handle live-streams? Did you try the latest version?
    Yes, but it'll only supported with youtube though.
    Quote Quote  



Similar Threads

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