Repository navigation
Frame Rate pass: start at 2x the incoming rate; advise when the target matches it - #288
Merged
StuartCameronCode merged 2 commits intoNov 28, 2026
Conversation
…t (task #139) The Frame Rate pass's target defaulted to 25 fps whatever the source, so a 25 fps source converted nothing and a 23.976 film barely changed (issue #177). - pass_advice: an enabled Frame Rate pass whose target equals, or is within 5% of, the rate the pass receives gets an advisory note (never blocking). - Switching the pass on with a video selected starts it at about twice that rate (25 -> 50, 29.97 -> 59.94, 23.976 -> Custom 47.952), only when the current target is equal or close to it and below 45 fps. The model default stays pal25, so saved jobs, presets and the worker are unchanged. - frameRateInputFps mirrors the worker's rate_before(FrameRate): Deinterlace, then Unblend. unblendInputFps now keeps a film-rate Soft Telecine source's rate, as the worker's map does. - frameRateTargetFps is the one target table, shared with Unblend, reading a custom rate as custom_fps_fraction does. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow-up to issue #177, where the reporter found that RIFE output "is not significantly different from the source". The Frame Rate pass's target defaulted to 25 fps whatever the source was. On a 25 fps source that converts nothing, because RIFE and Repeat frames pass every real frame through. On 23.976 fps film, motion looks barely different.
Change
rate_before(PassType::FrameRate). The note never blocks or changes anything, and says nothing when no video is selected. A default pipeline stays silent.pal25, so presets, saved jobs and the worker are unchanged.frameRateTargetFpsis now the one target table, used by both Frame Rate and Unblend. It reads a custom rate as the worker'scustom_fps_fractiondoes.frameRateInputFpsandframeRateClosenessare new.unblendInputFpsnow keeps a film-rate Soft Telecine source's rate, as the worker's frame map does. This also corrects the Unblend panel's warning for such sources.Testing
frame_rate_starting_target_test.dartcovers the target table, closeness, the starting target, and switching the pass on inMainViewModel.pass_advice_test.dart: equal, close and far targets, the rate after deinterlacing and Unblend, silence without a video, and enabled-pass-only.--exclude-tags heavy,gpu) against deps 1.18.0-rc5: 2000 passed, 8 skipped, 0 failed. No Rust changes.rate_before,deinterlace_frame_mapandcustom_fps_fraction.🤖 Generated with Claude Code