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

Audio track from an external file. #1545

Open
Alexander-Kane opened this issue Oct 15, 2024 · 2 comments
Open

Audio track from an external file. #1545

Alexander-Kane opened this issue Oct 15, 2024 · 2 comments

Comments

@Alexander-Kane
Copy link

Alexander-Kane commented Oct 15, 2024

Hello.

I have 1 video file and 2 audio files in different languages:
lesson_5.mp4 - only video, no audio.
lesson_5_eng.aac - audio track in English.
lesson_5_deu.aac - audio track in German.

How do I output the video and audio file together in one manifest?
The documentation says you can: "Muxing together audio and video streams from separate files".
I've read the documentation several times, but I can't figure it out.

https://site.com/hls/lessons/lesson_5.mp4/master.m3u8 - video works fine, but no sound.
How can I do add the audio from the lesson_5_eng.aac file?

@Alexander-Kane
Copy link
Author

I tried it this way https://site.com/hls/lessons/,lesson_5.mp4,lang/eng/lesson_5_eng.aac,.urlset/master.m3u8 but I'm getting an error 404.
Tried to pack the .aac into a .mp4 container, then the link worked:
https://site.com/hls/lessons/,lesson_5.mp4,lang/eng/lesson_5_eng.mp4,.urlset/master.m3u8

So .aac audio is not supported? Need only .mp4? That's sad.

@erankor
Copy link
Contributor

erankor commented Nov 9, 2024

Yes, the only supported container formats are MP4 and MKV (experimental).

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

2 participants