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.
+ Reply to Thread
Results 1 to 5 of 5
-
Last edited by qwertiio; 17th Jan 2022 at 08:37.
-
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. -
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? -
Similar Threads
-
Download encrypted video via DRM protected MPD manifest
By Beta2k in forum Video Streaming DownloadingReplies: 19Last Post: 15th Jan 2024, 10:47 -
Trying to download video from encrypted mpd
By liongtwap in forum Video Streaming DownloadingReplies: 8Last Post: 21st Oct 2021, 07:42 -
Download encrypted video via DRM protected MPD
By wondercheck in forum Video Streaming DownloadingReplies: 7Last Post: 4th Sep 2021, 10:59 -
Please help me download this video encrypted with Playready DRM from .mpd
By PescaGialla in forum Video Streaming DownloadingReplies: 6Last Post: 2nd Feb 2021, 12:23 -
Modifying MPD File to Download Decrypted Version of Encrypted Video
By JFK in forum Video Streaming DownloadingReplies: 5Last Post: 13th Apr 2020, 08:36