Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dash manifest with different video tracks. #1564

Open
streamingcore opened this issue Feb 17, 2025 · 2 comments
Open

Dash manifest with different video tracks. #1564

streamingcore opened this issue Feb 17, 2025 · 2 comments

Comments

@streamingcore
Copy link

Hi

is there any way to produce DASH manifest with multile video tracks (different content), something like this:
https://media.axprod.net/TestVectors/v8-MultiContent/Clear/Manifest.mpd?

BR

@erankor
Copy link
Contributor

erankor commented Feb 17, 2025

Not sure what you meant by "different content".
The sample MPD has multiple periods, each with two video adaptation sets (AVC/HEVC) - this is something that the module can support. However, the set of tracks must be consistent across the different periods, you can't have, for example, one period with 3 AVC tracks and another period with 5 AVC tracks. You'll need to either drop tracks or duplicate tracks in order to have it aligned (this requirement exists due to how the manifests are structured in HLS)

@kresimirb3
Copy link

@erankor thanks for your answer.
Maybe more details are required to explain our needs better.
Goal is to create dash and hls stream with alternative video track, each track with it's own set of video retentions (ABR in each track). This is similar to solutions with multiple audio alternative tracks, but in this case we want it for video.
Goal is to have recordings of some event with more cameras and then to stream it in single dash/hls stream with one video track for each camera recording.
Multiperiod manifest in this case is actually not needed. Instead, manifest should consist of more Adaptation Sets where each set is one video track in player with it's ABR set. In example above you should look just first Period.

Here is one more example of mpd with this setup:

multi_track.zip

Best regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants