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

How to pack HLS/DASH but everything in just one mp4 file per track, without init segments? #2807

Closed
MarianoFacundoArch opened this issue Apr 17, 2024 · 2 comments

Comments

@MarianoFacundoArch
Copy link

Hi,
Is there a way to pack HLS/DASH but with everything in just one mp4 file per track, without init segments?

Thanks!

@jeanlf
Copy link
Member

jeanlf commented May 22, 2024

no, either each segment is in its own file, or all in one file which always contains the init segment.
What would be the gain and use case ?

@jeanlf jeanlf closed this as completed May 22, 2024
@MarianoFacundoArch
Copy link
Author

I think I was not clear enough,
What I wanted is a specific video track, say 1080p, that has everything in a single file for that video quality (so the only requirement is that file, instead of having an init mp4 + N segments .m4s.
I think this is the OnDemand profile, but it is bugged (#2808)
The gain here is avoiding multiple HTTP requests if the file is going to be played sequentially without seeks and to better benefit from CDNs caching the entire file instead of only some segments of each quality (When doing quality switches).
Also, decreasing storage costs and the complexity of storing multiple files vs one.
But this is only for some specific contents and use cases, but indeed there is one.

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

No branches or pull requests

2 participants