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

Command line arguments #18

Open
GiovanH opened this issue Jan 14, 2020 · 3 comments
Open

Command line arguments #18

GiovanH opened this issue Jan 14, 2020 · 3 comments

Comments

@GiovanH
Copy link

GiovanH commented Jan 14, 2020

It should be possible to pass this command line arguments to render the video instead of using the GUI.

@Herschel
Copy link
Owner

There is some undocumented command line support, although it's somewhat limited because Adobe AIR is not designed for command line I/O. But you can do:

swivel foo.swf -s 1920x1080 -o foo.mp4

Parameters are here:
https://github.com/Herschel/Swivel/blob/master/src/com/newgrounds/swivel/Swivel.hx#L204-L277

@GiovanH
Copy link
Author

GiovanH commented Jan 17, 2020

This is excellent, thank you.
If these were documented, that would probably be very useful to people.

@Ruthalas
Copy link

Ruthalas commented May 10, 2022

Do these command line flags still work?
If I run the example you provide, it doesn't seem to do anything.

Edit: The example works, but only if you don't have an instance of the application open already. Determining which flags work is obtuse. Glad to have this ability though!

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

3 participants