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

Actually mux video and audio fmp4s #422

Open
anonghuser opened this issue Sep 26, 2022 · 1 comment
Open

Actually mux video and audio fmp4s #422

anonghuser opened this issue Sep 26, 2022 · 1 comment

Comments

@anonghuser
Copy link

anonghuser commented Sep 26, 2022

I need to mux two separate fmp4s, one with just video and one with just audio. I expected to just need to generate a new init segment combining both tracks info from the separate files (i.e. initSegment([...probe.tracks(video), ...probe.tracks(audio)])) and then interleave the moof/mdat boxes from the two files unchanged, but the resulting file didn't work. Can you give me some ideas what's actually needed for this task?

As a side note, the audio codec is mp4a.40.2 according to both mpc-hc and the js call to addSourceBuffer that loads it but when i call probe on it the result says mp4a.40.5, could that be an issue?

@JuanMorenoS
Copy link

Any update ?

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