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.
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.