devine icon indicating copy to clipboard operation
devine copied to clipboard

Support DASH manifests that have content spanning multiple `Period` definitions

Open CtrlVaGain opened this issue 2 years ago • 4 comments

Is your feature request related to a problem? Please describe. a track from mpd is splitted by multi-init, like "id=7 init link startNumber=1 t="1992" d="48048" r="149"" and "id=7 init link startNumber=151 t="7209192" d="48048" r="558"". In this case, only first part can be download.

Describe the solution you'd like Combine these parts with same id and continuous startnumber in a track.

I can provide example mpd if needed. Thanks in advance

CtrlVaGain avatar May 03 '23 01:05 CtrlVaGain

I'm not sure what you mean to be quite honest. The DASH parser and downloader is currently limited to only use the first Period. Is your manifest spanning across multiple Periods? I.e. where the service would insert ad breaks between Periods? Is this what you mean?

An example MPD would likely be best.

rlaphoenix avatar May 09 '23 12:05 rlaphoenix

Yes, that's exactly what i mean, and do you have a email or something, i would like to send mpd privately

CtrlVaGain avatar May 10 '23 00:05 CtrlVaGain

Well, there's a problem with supporting multi-period manifests. While it might or might not be the case for your manifest, most manifests do not have any way to link one Representation (or even Adaptation Set) between one Period and another. There might not even be the same bitrate's available, or even the same resolution, across periods.

There isn't usually a reliable way to link representations to their correspondents. Some manifests have literally no identifiers to go by at all either. It's a difficult task to do.

rlaphoenix avatar May 10 '23 20:05 rlaphoenix

Well, there's a problem with supporting multi-period manifests. While it might or might not be the case for your manifest, most manifests do not have any way to link one Representation (or even Adaptation Set) between one Period and another. There might not even be the same bitrate's available, or even the same resolution, across periods.

There isn't usually a reliable way to link representations to their correspondents. Some manifests have literally no identifiers to go by at all either. It's a difficult task to do.

ok, not in a hurry, and nm3u8-re can completely download the track across multiple period, maybe can refer to the source code.

CtrlVaGain avatar May 11 '23 06:05 CtrlVaGain