dash-mpd-cli icon indicating copy to clipboard operation
dash-mpd-cli copied to clipboard

Feature request: download all fragments

Open gi11es opened this issue 1 year ago • 3 comments

My use case is that I want to get the manifest and all the fragments it references as-is, in order to host them elsewhere.

gi11es avatar Nov 16 '23 08:11 gi11es

This functionality would require quite a bit of dedicated code in order to preserve full path information while saving media segments, and to rewrite the manifest to point to the new segment location. I'm not the morality police, but this kind of use case (redistributing content which presumably belongs to someone else) is not something that I'm interested in supporting.

If I had to implement this kind of functionality, I'd probably look at a caching proxy that saves downloaded segments, and a little scripting to walk through the different AdaptationSets available.

emarsden avatar Nov 19 '23 10:11 emarsden

To correct the record as your insinuations suggest that I was looking for a piracy tool, this is in the context of content we own, where the generated fragments and manifests are generated and hosted by a vendor. We have the originals, but not the variants encoded in various qualities. We’ve paid the vendor for the transcoding. It would just be a faster workflow to get the content this way for testing purposes.

I don’t need this that badly but it seemed like a legit use case that people using your tool might benefit from.

It might be wise not jump to conclusions about moral intent of a request without asking for more information…

gi11es avatar Nov 19 '23 10:11 gi11es

OK, I see that there may be use cases which don't imply piracy (not that all forms of piracy are morally reprehensible in my view). I'll leave this open in case someone is motivated to work on a PR.

emarsden avatar Nov 19 '23 15:11 emarsden