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

feat(opus and fragments): add support for opus and writing fragmented mp4 files #114

Open
wants to merge 24 commits into
base: master
Choose a base branch
from

Conversation

sdwoodbury
Copy link

In this repository I made a tool that managed to write a fragmented mp4 file. This was accomplished by fixing a bunch of bugs in this repository (wrong reported box sizes and not writing all the needed boxes) and by exposing the boxes so that I could create the file programmatically.

Eventually it would be nice to have something like Mp4Writer but I also think it makes this library more useful if the boxes aren't all private.

I added a box for Opus and dOps per this guide: https://opus-codec.org/docs/opus_in_isobmff.html

One last thing - the mvex box was changed to contain a list of trex boxes, which is necessary if an mp4 file will contain multiple tracks.

src/mp4box/opus.rs Outdated Show resolved Hide resolved
@sdwoodbury
Copy link
Author

it might be helpful to combine some other PRs with this one: #109 #108 #106

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

Successfully merging this pull request may close these issues.

None yet

1 participant