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

Eyevinn / moqlivemock / 25937594530
53%

Build:
DEFAULT BRANCH: main
Ran 15 May 2026 07:38PM UTC
Jobs 1
Files 25
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

15 May 2026 07:37PM UTC coverage: 53.802% (+0.05%) from 53.754%
25937594530

push

github

tobbee
fix: compute LOCMAF wire bitrate separately from CMAF for catalog Track.bitrate

Catalog generation was calling calcCmafBitrate for every track regardless
of packaging, so locmaf-packaged tracks reported the CMAF wire bitrate
(e.g. ~171.5 kbps for 128 kbps AAC at one-sample-per-object). That's
wrong — LOCMAF delta moofs are ~2 B in steady state, not ~100 B.

New calcLocmafBitrate measures one full + one delta chunk with a fresh
MoofDeltaCompressor, then amortises the per-group full moof over a
1-second group (MoqGroupDurMS=1000) of subsequent delta moofs:

  overhead/sec = full_overhead * (1 / group_dur)
               + delta_overhead * (objects/sec - 1 / group_dur)
  bitrate = sample_bitrate + 8 * overhead/sec

GenCMAFCatalogEntry now picks calcLocmafBitrate when packaging ==
'locmaf' and calcCmafBitrate otherwise. New regression test
TestLocmafBitrateIsLowerThanCmaf asserts the contract for every bundled
track: LOCMAF bitrate must be both (a) lower than the CMAF bitrate for
the same track and (b) higher than the raw sample bitrate.

docs/LOCMAF.md gains a 'Catalog bitrate impact on the bundled assets'
subsection with measured numbers for the test10s tracks (AAC 128 kbps
drops from 171.5 to 131.9 kbps; constant 19.9 kbps per-object saving
across all 25 fps video tracks).

40 of 59 new or added lines in 1 file covered. (67.8%)

42 existing lines in 3 files now uncovered.

3311 of 6154 relevant lines covered (53.8%)

1283.99 hits per line

Uncovered Changes

Lines Coverage ∆ File
19
78.28
-0.68% internal/asset.go

Coverage Regressions

Lines Coverage ∆ File
30
32.12
1.55% internal/pub/pub.go
10
43.48
-1.57% internal/sub/sub.go
2
71.43
-2.6% internal/moqgroup.go
Jobs
ID Job ID Ran Files Coverage
1 25937594530.1 15 May 2026 07:38PM UTC 25
53.8
GitHub Action Run
Source Files on build 25937594530
  • Tree
  • List 25
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 58046f69 on github
  • Prev Build on main (#25929860318)
  • Next Build on main (#25959781686)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc