8000 fix(render): force keyframe every ~2s so scrubbing is smooth by johannboehme · Pull Request #50 · johannboehme/tk-1 · GitHub
[go: up one dir, main page]

Skip to content

fix(render): force keyframe every ~2s so scrubbing is smooth - #50

Merged
johannboehme merged 1 commit into
mainfrom
claude/video-scrubbing-playback-1mdm5
May 28, 2026
Merged

johannboehme merged 1 commit into
mainfrom
claude/video-scrubbing-playback-1mdm5

Conversation

@johannboehme
Copy link
Copy Markdown
Owner

Previously the encoder only flagged keyframes at segment boundaries, so a
single-segment render produced an MP4 with effectively one I-frame at the
start. Players have to decode from the last keyframe when seeking, so
scrubbing a multi-minute single-segment clip stalled and stuttered in
every player. Insert a keyframe every ~2 seconds (fps * 2 frames) in both
the single-cam and arrangement pipelines.

https://claude.ai/code/session_012MXkk4NRodwiPzsCR676vH

Previously the encoder only flagged keyframes at segment boundaries, so a
single-segment render produced an MP4 with effectively one I-frame at the
start. Players have to decode from the last keyframe when seeking, so
scrubbing a multi-minute single-segment clip stalled and stuttered in
every player. Insert a keyframe every ~2 seconds (fps * 2 frames) in both
the single-cam and arrangement pipelines.

https://claude.ai/code/session_012MXkk4NRodwiPzsCR676vH
@johannboehme
johannboehme merged commit 024a24f into main May 28, 2026
1 check passed
@johannboehme
johannboehme deleted the claude/video-scrubbing-playback-1mdm5 branch May 28, 2026 16:33
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.

2 participants

0