Skip to content

Fix renderStill error when rendering negative frame index #5572

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 13, 2025

Conversation

uen
Copy link
Contributor

@uen uen commented Aug 8, 2025

Docs say rendering frame -1 will render the last frame
https://www.remotion.dev/docs/renderer/render-still

If you pass a negative number it will error as there is a small bug in that logic

durationInFrames: 100

renderStill({frame: -1}) = frame 101

Copy link

vercel bot commented Aug 8, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
bugs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 8, 2025 11:46am
remotion ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 8, 2025 11:46am

@JonnyBurger
Copy link
Member

Wow! Thanks for catching that 🙌

@JonnyBurger JonnyBurger merged commit 78b7baf into remotion-dev:main Aug 13, 2025
11 of 12 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.

2 participants