Skip to content

Commit

Permalink
Merge pull request #364 from Eyevinn/eventstreams
Browse files Browse the repository at this point in the history
feat: Event message boxes
  • Loading branch information
tobbee authored Jul 21, 2024
2 parents 6c80b7b + 4ebf550 commit d8a9389
Show file tree
Hide file tree
Showing 7 changed files with 485 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added

- mvhd and tkhd methods to set and get creation and modification times
- Event Message boxes evte, emib, emeb

## [0.45.1] - 2024-07-12

Expand Down
4 changes: 4 additions & 0 deletions mp4/box.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,12 @@ func init() {
"esds": DecodeEsds,
"edts": DecodeEdts,
"elst": DecodeElst,
"emeb": DecodeEmeb,
"emib": DecodeEmib,
"enca": DecodeAudioSampleEntry,
"encv": DecodeVisualSampleEntry,
"emsg": DecodeEmsg,
"evte": DecodeEvte,
"font": DecodeTrefType,
"free": DecodeFree,
"frma": DecodeFrma,
Expand Down Expand Up @@ -97,6 +100,7 @@ func init() {
"senc": DecodeSenc,
"sgpd": DecodeSgpd,
"sidx": DecodeSidx,
"silb": DecodeSilb,
"sinf": DecodeSinf,
"skip": DecodeFree,
"smhd": DecodeSmhd,
Expand Down
4 changes: 4 additions & 0 deletions mp4/boxsr.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,15 @@ func init() {
"dref": DecodeDrefSR,
"ec-3": DecodeAudioSampleEntrySR,
"elng": DecodeElngSR,
"emeb": DecodeEmebSR,
"emib": DecodeEmibSR,
"esds": DecodeEsdsSR,
"edts": DecodeEdtsSR,
"elst": DecodeElstSR,
"enca": DecodeAudioSampleEntrySR,
"encv": DecodeVisualSampleEntrySR,
"emsg": DecodeEmsgSR,
"evte": DecodeEvteSR,
"font": DecodeTrefTypeSR,
"free": DecodeFreeSR,
"frma": DecodeFrmaSR,
Expand Down Expand Up @@ -88,6 +91,7 @@ func init() {
"senc": DecodeSencSR,
"sgpd": DecodeSgpdSR,
"sidx": DecodeSidxSR,
"silb": DecodeSilbSR,
"sinf": DecodeSinfSR,
"skip": DecodeFreeSR,
"smhd": DecodeSmhdSR,
Expand Down
Loading

0 comments on commit d8a9389

Please sign in to comment.