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

Eyevinn / mp4ff / 40509664854
83%
master: 85%

Build:
Build:
LAST BUILD BRANCH: fix/crop-tables
DEFAULT BRANCH: master
Ran 27 Oct 2026 01:10PM UTC
Jobs 1
Files 222
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

27 Oct 2026 01:09PM UTC coverage: 83.48% (+0.01%) from 83.47%
40509664854

Pull #677

github

tobbee
fix(mp4): keep the QuickTime fields, depth and color table ID of visual sample entries

QuickTime puts the version, revision level, vendor, and temporal and spatial quality of a video sample description in the 16 bytes that ISO/IEC 14496-12 has as pre_defined and reserved. VisualSampleEntryBox skipped them and wrote zeros, and always wrote depth 0x0018 and color table ID -1. Almost every .mov video sample entry therefore changed in a round trip: ffmpeg writes quality 0x200 and vendor FFMP, Apple writes vendor appl, and video with alpha has depth 32.

The new fields QuickTimeVersion, QuickTimeRevisionLevel, QuickTimeVendor, QuickTimeTemporalQuality, QuickTimeSpatialQuality, Depth and ColorTableID are decoded and written back as they are, following the QuickTime fields of AudioSampleEntryBox. NewVisualSampleEntryBox and CreateVisualSampleEntryBox set Depth to 0x0018 and ColorTableID to -1, so new entries are encoded as before. Info shows the fields that differ from the ISO values. Encode and EncodeSW now share the code for the fixed fields.

Of 130 local .mov files, 93 now round-trip byte-exact with DecodeFile/Encode and DecodeFileSR/EncodeSW, against 63 before.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EagxH7QDzv1pCHvkd7Ynwv
Pull Request #677: fix(mp4): keep the QuickTime fields, depth and color table ID of visual sample entries

51 of 53 new or added lines in 1 file covered. (96.23%)

24736 of 29631 relevant lines covered (83.48%)

0.84 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
86.96
1.06% mp4/visualsampleentry.go
Jobs
ID Job ID Ran Files Coverage
1 40509664854.1 27 Oct 2026 01:10PM UTC 222
83.48
GitHub Action Run
Source Files on build 40509664854
  • Tree
  • List 222
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #677
  • PR Base - master (#40508856565)
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