Open GiovanH opened 4 years ago
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
This is excellent, thank you. If these were documented, that would probably be very useful to people.
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!
It should be possible to pass this command line arguments to render the video instead of using the GUI.