remotion-dev/remotion

Generating last image of a Composition #1283

Slashgear posted onGitHub

šŸŽƒ This issue is part of our Hacktoberfest campaign! šŸ“š Read more about Hacktoberfest here šŸ•› This issue is currently assigned to @Slashgear and not for taking!


<!--- Provide a general summary of the feature in the Title above -->

I was playing with the CLI and still action to generate image. Awesome feature šŸŽ‰

I wanted to generate the last frame of my Composition and found no other solution than to pass the correct number to the command.

Use Case

<!--- Tell us what feature we should support and what should happen -->

 remotion still src/index.tsx Example --frame -1

Possible Solution

<!--- Not obligatory, but suggest an implementation -->

šŸ’” Negative values of frame could be useful to generate frame relative to the last one. I could take this subject as a contribution.

Hacktoberfest Acceptance Criteria

(edit by @JonnyBurger)

  • Take negative integers in renderStill(), renderStillOnLambda(), npx remotion still and npx remotion lambda still and treat them as frames from the back: -1 means last frame, -2 means second to last frame etc.
  • Keep up the strict validation, e.g. -200 should not be possible if the duration is only 100 frames.
  • Document the feature in the documentation pages of the APIs and commands that accept this option.

Good idea! Not gonna implement immediately and think a bit about the right API, but definitely putting this on the roadmap!

posted by JonnyBurger over 2 years ago

@jonnyburger has funded $167.00 to this issue.


posted by issuehunt-app[bot] over 2 years ago

@JonnyBurger Could I take that ?

posted by Slashgear over 2 years ago

@jonnyburger has rewarded $150.30 to @slashgear. See it on IssueHunt

  • :moneybag: Total deposit: $167.00
  • :tada: Repository reward(0%): $0.00
  • :wrench: Service fee(10%): $16.70
posted by issuehunt-app[bot] over 2 years ago

Fund this Issue

$167.00
Rewarded

Rewarded pull request

Recent activities

slashgear was rewarded by jonnyburger for remotion-dev/remotion# 1283
over 2 years ago
jonnyburger submitted an output to  remotion-dev/ remotion# 1283
over 2 years ago