Skip to content

fix: honor Set Framerate on overlay input streams - #771

Open
shoemoney wants to merge 1 commit into
charmbracelet:mainfrom
shoemoney:fix/framerate-secondary-streams
Open

fix: honor Set Framerate on overlay input streams#771
shoemoney wants to merge 1 commit into
charmbracelet:mainfrom
shoemoney:fix/framerate-secondary-streams

Conversation

@shoemoney

@shoemoney shoemoney commented Jul 31, 2026

Copy link
Copy Markdown

The window bar and both margin-fill sources default to 25fps and sit in the main slot of their overlays, so ffmpeg clamps the whole render to 25fps no matter what Set Framerate says.

Measured on a 50fps tape: 25fps/62 frames before, 50fps/123 frames after, with duration unchanged. Half of every captured frame was being discarded silently.

MarginFill defaults to the theme background, so this affects every render, not only tapes that set a margin.

Fixes #750

  • I have read CONTRIBUTING.md.
  • I have created a discussion that was approved by a maintainer (for new features).

The window bar and both margin-fill sources default to 25fps and sit in the
*main* slot of their overlays, so ffmpeg clamps the whole render to 25fps no
matter what `Set Framerate` says.

Measured on a 50fps tape: 25fps/62 frames before, 50fps/123 frames after, with
duration unchanged. Half of every captured frame was being discarded silently.

MarginFill defaults to the theme background, so this affects every render, not
only tapes that set a margin.

Fixes charmbracelet#750
@shoemoney

Copy link
Copy Markdown
Author

Green against main and rebase-clean. Honors Set Framerate on overlay input streams. Ready for review.

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.

Set Framerate doesnt work :(

1 participant