• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Eyevinn / mp4ff / 36469318217
83%

Build:
DEFAULT BRANCH: master
Ran 28 Sep 2026 07:01PM UTC
Jobs 1
Files 217
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

28 Sep 2026 07:01PM UTC coverage: 82.462% (+0.03%) from 82.431%
36469318217

push

github

tobbee
feat(mp4): support saiz versions 1 and 2

ISO/IEC 14496-12:2026 Section 8.7.8 adds saiz version 1 with 16-bit and version 2 with 32-bit default_sample_info_size and sample_info_size fields. mp4ff read every saiz with the version 0 layout, so such boxes failed the size check, and AddSampleInfo rejected sizes above 255 bytes. With Common Encryption subsample patterns that made encryption fail for samples with more than 39 subsamples (16-byte IVs) or 40 subsamples (8-byte IVs).

SaizBox.DefaultSampleInfoSize is now a uint32 and SampleInfo a []uint32, an API change. Both decode paths and encoding follow the version, which is limited to 0, 1 and 2. EncodeSW returns an error if a size does not fit the version or SampleInfo is too short. AddSampleInfo raises the version to the lowest one that holds all sizes, so the output for sizes up to 255 is unchanged.

Version 1 and 2 need the saie brand (Annex E.20). GenerateFtyp adds it when the init segment has such a saiz, or when FragmentFeatures.LargeSampleAuxInfo declares one for the fragments. CheckBrands reports a missing saie. Since CMAF allows only the box versions and flags of iso9 (ISO/IEC 23000-19:2024 7.3.1), both reject saiz version 1 and 2 in CMAF content.

Closes #601

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017q3eYmMQXKrP3iY8UCS48r

77 of 78 new or added lines in 3 files covered. (98.72%)

1 existing line in 1 file now uncovered.

22879 of 27745 relevant lines covered (82.46%)

0.83 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
94.29
0.17% mp4/saiz.go

Coverage Regressions

Lines Coverage ∆ File
1
94.29
0.17% mp4/saiz.go
Jobs
ID Job ID Ran Files Coverage
1 36469318217.1 28 Sep 2026 07:01PM UTC 217
82.46
GitHub Action Run
Source Files on build 36469318217
  • Tree
  • List 217
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 0545edb5 on github
  • Prev Build on master (#36465149351)
  • Next Build on master (#36541588957)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc