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

HLS segment files in mp4 #4110

Open
jj-matos opened this issue Jul 8, 2024 · 3 comments
Open

HLS segment files in mp4 #4110

jj-matos opened this issue Jul 8, 2024 · 3 comments
Labels
EnglishNative This issue is conveyed exclusively in English.

Comments

@jj-matos
Copy link

jj-matos commented Jul 8, 2024

In the documentation and configuration of HLS, it only seems possible to have segments in ts format.
However, for example, Electra Player for Unreal, only works with mp4 segments.
Is it possible for SRS to generate mp4 segments instead of ts segments for HLS streaming?
Thank you for your clarification.

@winlinvip winlinvip added the EnglishNative This issue is conveyed exclusively in English. label Jul 8, 2024
@jj-matos
Copy link
Author

jj-matos commented Jul 9, 2024

I managed to change the segments names to end in mp4 in the conf file, but although the segments end up named .mp4, then doesn't work anywhere. Is there a way to make srs produce functional mp4 segments, in hls?

@suzp1984
Copy link
Contributor

SRS supported dash stream, which is fragmented mp4 stream. Is the Dash fulfill your requirement?
About let HLS support fragmented mp4, SRS don't support it yet, but I think it should be not complicated to implement this feature, the source code can be reused base on the Dash.

@lukf12
Copy link

lukf12 commented Jul 19, 2024

I would also be interested in hls with mp4 instead of ts segments.
Is it planned from someone to implement this as an option ?
Best Lukas

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
EnglishNative This issue is conveyed exclusively in English.
Projects
None yet
Development

No branches or pull requests

4 participants