Skip to content

Improve H.264 accelerated playback#30

Merged
joaner merged 3 commits into
ioai-tech:mainfrom
joaner:feat/h264-performance
Jul 19, 2026
Merged

Improve H.264 accelerated playback#30
joaner merged 3 commits into
ioai-tech:mainfrom
joaner:feat/h264-performance

Conversation

@joaner

@joaner joaner commented Jul 19, 2026

Copy link
Copy Markdown
Contributor

Summary

  • replace serial H.264 decoding with a bounded WebCodecs pipeline and drop stale rendered output under pressure
  • preserve complete GOP dependencies and resynchronize only at safe IDR boundaries without clearing the last frame
  • replace the misleading 64x-backed best-effort Max option with a deterministic 10x playback limit
  • extend H.264 metrics, benchmarks, and regression coverage for multi-camera accelerated playback
  • bump the package patch version to 1.7.5

Validation

  • npm run typecheck
  • npm run lint
  • npm test -- --run (647 tests)
  • npm run build
  • H.264 Chromium E2E
  • six-camera /Users/joaner/Downloads/test.mcap benchmarks at 1x, 4x, and 8x without decode, page, or console errors

Closes #29

joaner and others added 3 commits July 19, 2026 19:19
Keep accelerated playback responsive by bounding decoder work, dropping stale output frames, and resynchronizing only at safe GOP boundaries.
Use a deterministic upper playback rate so visualization load and timing remain predictable across devices.
@joaner
joaner merged commit b051a76 into ioai-tech:main Jul 19, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

mcap中包含2路 2K的视频 在采用4倍速查看就会掉帧

1 participant