Skip to content

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

Open
sdwoodbury wants to merge 24 commits intoalfg:masterfrom
sdwoodbury:feat/add-boxes
Open

feat(opus and fragments): add support for opus and writing fragmented mp4 files#114
sdwoodbury wants to merge 24 commits intoalfg:masterfrom
sdwoodbury:feat/add-boxes

Conversation

@sdwoodbury
Copy link
Copy Markdown

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.

@sdwoodbury
Copy link
Copy Markdown
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.

1 participant