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

Eyevinn / mp4ff / 33440988488
82%
master: 83%

Build:
Build:
LAST BUILD BRANCH: fix/segmenter-last-sample
DEFAULT BRANCH: master
Ran 31 Aug 2026 09:22PM UTC
Jobs 1
Files 210
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

31 Aug 2026 09:22PM UTC coverage: 81.753% (+0.04%) from 81.718%
33440988488

Pull #556

github

nchitkara-xai
feat(mp4): add QuickTime-to-ISO audio sample entry normalization

A QuickTime-shaped audio sample entry (sound sample description version
1 or 2, or an esds wrapped in a wave box) is not the plain version 0
form that isom-branded files expect, so remuxing QuickTime audio needs
the sample entry rewritten.

Add AudioSampleEntryBox.NormalizeQuickTime, which rewrites such an
entry in place, like RemoveEncryption does for encrypted entries: the
esds becomes a direct child (a direct esds wins over a wave-wrapped
one), the wave box and the QuickTime version, revision level, and
vendor are dropped, and a version 2 entry gets its channel count,
sample size, and sample rate (rounded to the nearest integer) restored
from the version 2 fields. QuickTime residue in the reserved fields of
a version 0 entry is cleared the same way. A rate above 65535 Hz does
not fit the 16.16 sample rate field and leaves 0, as ffmpeg writes; the
authoritative rate is in the esds AudioSpecificConfig.

The rewrite fails closed: entries without a reachable esds, whose
decode parameters live elsewhere, keep their QuickTime shape, and so
does an entry whose wave box holds anything besides its recognized
decoder-init atoms (frma, esds, the terminator, and the stub named
after the entry), since dropping such a wave box would silently lose
content.
Pull Request #556: feat(mp4): add QuickTime-to-ISO audio sample entry normalization

54 of 55 new or added lines in 1 file covered. (98.18%)

21017 of 25708 relevant lines covered (81.75%)

0.82 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
90.49
1.56% mp4/audiosamplentry.go
Jobs
ID Job ID Ran Files Coverage
1 33440988488.1 31 Aug 2026 09:22PM UTC 210
81.75
GitHub Action Run
Source Files on build 33440988488
  • Tree
  • List 210
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #556
  • PR Base - master (#33157378355)
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