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

Eyevinn / hi264 / 27698768607
87%
main: 88%

Build:
Build:
LAST BUILD BRANCH: feat/pic-timing-sei
DEFAULT BRANCH: main
Ran 17 Jun 2026 03:04PM UTC
Jobs 1
Files 50
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

17 Jun 2026 03:02PM UTC coverage: 87.374% (-0.2%) from 87.601%
27698768607

Pull #19

github

tobbee
feat: fractional -fps and NTSC drop-frame timecode

Let -fps express fractional rates and add drop-frame timecode counting.

- hi264gen -fps now accepts an integer (25), a rational (30000/1001), or
  an NTSC decimal (29.97/59.94/23.976, snapped to the exact 1001 fraction).
  For mp4 the media timescale is the numerator and each sample lasts the
  denominator ticks, so fractional rates play at the correct speed
  (ffprobe reports r_frame_rate=30000/1001). Timecodes count at the
  nominal integer rate round(fps); -kbps->bpp uses the exact ratio.
- hi264gen -drop-frame: NTSC drop-frame counting, validated to 29.97/59.94.
  Drops the two (rate 30) / four (rate 60) lowest timecode labels at each
  minute except every tenth, and signals it in the pic_timing SEI via
  counting_type=4 and per-frame cnt_dropped_flag. Applies to both the
  burnt-in -text timecode and the SEI.
- yuv.FormatTextTC: text formatter variant taking the counting rate and
  drop-frame; FormatText is the integer/non-drop wrapper.
- encode.PicTimingConfig.DropFrame / PicTiming.Dropped carry the
  counting_type / cnt_dropped_flag into the SEI.
- Docs: cover pic-timing, start-frame, fractional fps, and drop-frame in the
  curated hi264gen usage header and the CLAUDE.md feature list / CLI examples
  (README and CHANGELOG updated alongside the relevant changes).

Verified: 30000/1001 mp4 timescale=30000 dur=1001; NDF rolls at frame 30;
drop-frame frames 1798..1802 -> 59:28, 59:29, 01:00:02, 01:00:03, 01:00:04
(labels ;00/;01 skipped), ffprobe renders ';'; -drop-frame rejected for 25
fps; ffmpeg decodes both; all 12 hi264gen golden checks still pass.
Pull Request #19: Picture Timing SEI: pic_timing generation, timecode, fractional fps & drop-frame

320 of 381 new or added lines in 7 files covered. (83.99%)

2 existing lines in 2 files now uncovered.

8124 of 9298 relevant lines covered (87.37%)

1.01 hits per line

Uncovered Changes

Lines Coverage ∆ File
25
78.75
-0.05% cmd/hi264gen/main.go
17
76.34
-1.94% cmd/hi264-mp4-extend/main.go
16
80.95
pkg/encode/sei.go
3
96.75
-0.47% pkg/yuv/format.go

Coverage Regressions

Lines Coverage ∆ File
1
78.75
-0.05% cmd/hi264gen/main.go
1
96.75
-0.47% pkg/yuv/format.go
Jobs
ID Job ID Ran Files Coverage
1 27698768607.1 17 Jun 2026 03:04PM UTC 50
87.37
GitHub Action Run
Source Files on build 27698768607
  • Tree
  • List 50
  • Changed 6
  • Source Changed 0
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #19
  • PR Base - main (#27682515770)
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