Skip to content

Conversation

ian-spoonradio
Copy link
Contributor

  • Add Mp4Box trait that share the common behavior of MP4 box.
  • Add WriteBox trait that share the same behavior of read-box().
  • Implement WriteBox trait for all boxes except StsdBox.
  • Improve compatibility with large boxes.

Copy link
Owner

@alfg alfg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great. Thank you for your contributions! 😄

Before I merge, will you be able to provide an example program for the writebox trait feature?

@alfg alfg merged commit 8f56200 into alfg:master Jul 28, 2020
@ian-spoonradio ian-spoonradio deleted the feature/writebox-trait branch July 29, 2020 00:59
jprochazk pushed a commit to jprochazk/mp4 that referenced this pull request Sep 18, 2024
* Add ReadBox trait

* Add boxtype macro

* Remove offset in BoxHeader

* Fix parsing error when box has largesize

* Remove duplicated codes reading version and flags

* Simplify all box size types as largesize

* Add WriteBox trait and improve compatibility with large box

* Split large atoms file into smaller ones

* Refator Error

Co-authored-by: Byungwan Jun <[email protected]>
CandleCandle pushed a commit to CandleCandle/mp4-rust that referenced this pull request May 7, 2025
* Add ReadBox trait

* Add boxtype macro

* Remove offset in BoxHeader

* Fix parsing error when box has largesize

* Remove duplicated codes reading version and flags

* Simplify all box size types as largesize

* Add WriteBox trait and improve compatibility with large box

* Split large atoms file into smaller ones

* Refator Error

Co-authored-by: Byungwan Jun <[email protected]>
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.

3 participants