Skip to content
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

Add a command line flag to override composition duration and fps #4917

Open
iaseth opened this issue Feb 22, 2025 · 0 comments
Open

Add a command line flag to override composition duration and fps #4917

iaseth opened this issue Feb 22, 2025 · 0 comments

Comments

@iaseth
Copy link

iaseth commented Feb 22, 2025

As described here, Remotion allows users to override the height and width of the composition using command line flags --height and --width.

npx remotion render HelloWorld out/HelloWorld.mp4 --width=1080 --height=1080

It would be great if a similar flag was there to override the composition duration and fps:

npx remotion render HelloWorld out/HelloWorld.mp4 --duration=900 --fps=30
npx remotion render HelloWorld out/HelloWorld.mp4 --durationSeconds=30 --fps=30

Use Case

It would allow users to easily set the fps and duration when rendering from the command line without having to hardcode those values in code or using elaborate solutions like calculateMetadata or delayRender/continueRender as explained here.

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

No branches or pull requests

1 participant