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

Eyevinn / mp4ff / 40711202909
83%
master: 85%

Build:
Build:
LAST BUILD BRANCH: fix/crop-tables
DEFAULT BRANCH: master
Ran 28 Oct 2026 02:58PM UTC
Jobs 1
Files 228
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 Oct 2026 02:57PM UTC coverage: 83.505% (+0.008%) from 83.497%
40711202909

Pull #683

github

tobbee
feat(mp4): decode the QuickTime base media and timecode atoms

QuickTime timecode tracks, and other tracks of base media such as text and
chapter tracks, have a gmhd atom in minf instead of vmhd or smhd. It holds the
base media info atom gmin and, for a timecode track, a tmcd atom with the
timecode media information tcmi, which tells how to show the timecode as
text. The stsd of a timecode track has the timecode sample entry, also named
tmcd, with the flags, time scale, frame duration and frames per second.

GminBox, TcmiBox and TimecodeSampleEntryBox decode them, and gmhd decodes as a
GenericContainerBox. DecodeTmcd tells the two tmcd atoms apart by whether a
tcmi atom comes first; the third tmcd, the track reference, is decoded by
TrefBox. StsdBox.Tmcd holds the timecode sample entry, and the check that the
media data is in the file reads its data reference index, as it read it from
the UnknownBox before.

tcmi has a 16-bit field after the text size that QuickTime and ffmpeg write,
but that the 2007 QuickTime File Format specification does not list. The
timecode sample entry has reserved bytes after the number of frames: one in
the files from ffmpeg and Apple encoders, and three, as in the specification,
in a file from another writer. Both decode, and the bytes are kept. As for
the other new QuickTime atoms, a payload in another layout stays an
UnknownBox.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EagxH68YeE1xTpZedmpruF
Pull Request #683: feat(mp4): decode more QuickTime atoms

562 of 663 new or added lines in 16 files covered. (84.77%)

4 existing lines in 1 file now uncovered.

25333 of 30337 relevant lines covered (83.51%)

0.84 hits per line

Uncovered Changes

Lines Coverage ∆ File
22
82.4
mp4/gmhd.go
21
78.57
mp4/tmcd.go
15
85.98
mp4/udtatext.go
11
88.04
mp4/chan.go
10
84.62
mp4/keys.go
8
83.67
mp4/tapt.go
5
84.48
-4.41% mp4/unknown.go
4
80.49
-5.81% mp4/tref.go
3
86.0
-1.5% mp4/ilst.go
1
94.91
0.03% mp4/box.go
1
73.28
-0.64% mp4/dref.go

Coverage Regressions

Lines Coverage ∆ File
4
80.49
-5.81% mp4/tref.go
Jobs
ID Job ID Ran Files Coverage
1 40711202909.1 28 Oct 2026 02:58PM UTC 228
83.51
GitHub Action Run
Source Files on build 40711202909
  • Tree
  • List 228
  • Changed 10
  • Source Changed 0
  • Coverage Changed 10
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #683
  • PR Base - master (#40521173853)
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