Export animation via command line?

Moho allows users to write new tools and plugins. Discuss scripting ideas and problems here.

Moderators: Fahim, Distinct Sun, Víctor Paredes, erey, Belgarath, slowtiger

Post Reply
Lebostein
Posts: 111
Joined: Sun Jul 12, 2009 10:24 am

Export animation via command line?

Post by Lebostein » Sun Dec 06, 2015 9:16 pm

It is possible to render an animation to a png sequence with command line functionality?
Stan
Posts: 121
Joined: Sun Apr 19, 2009 3:22 pm
Contact:

Re: Export animation via command line?

Post by Stan » Sun Dec 06, 2015 10:00 pm

-f format This tells Anime Studio what format to render the output as. Valid formats are QT (QuickTime - Windows and Mac only), JPEG, TGA, BMP, PNG, or SWF (Flash). The QT and SWF formats generate a single output file, while the other formats created numbered sequences of still images. If you don't specify a format, on Windows and Mac the default format is QT, on Linux the default is JPEG.

NOTE: Starting in Anime Studio Pro 9.5, the format type must be entered in lower case. Use jpeg instead of JPEG, png instead of PNG, etc.
http://lostmarble.com/forum/viewtopic.p ... 318&p=6190
________________________________________________________________________
http://mohoscripting.com/ - Unofficial Moho (Anime Studio) Lua Scripting Documentation
http://2danimator.ru/ - Russian Anime Studio Forum
Lebostein
Posts: 111
Joined: Sun Jul 12, 2009 10:24 am

Re: Export animation via command line?

Post by Lebostein » Mon Dec 07, 2015 11:23 am

If I use the following command line, the GUI is opened, the specific file is loaded but nothing happens:

Code: Select all

"c:\Programme\Smith Micro\Anime Studio Debut 10\Anime Studio Debut Win32.exe" -f png -r "c:\Temp\hans.anme"
1. I have expected an non-GUI execution... :?:
No GUI will be launched.
2. Why nothing happens (no rendering) after opening?
Stan
Posts: 121
Joined: Sun Apr 19, 2009 3:22 pm
Contact:

Re: Export animation via command line?

Post by Stan » Mon Dec 07, 2015 5:14 pm

I never used Debut, but based on your input I presume that command line rendering is a Pro-only feature.
________________________________________________________________________
http://mohoscripting.com/ - Unofficial Moho (Anime Studio) Lua Scripting Documentation
http://2danimator.ru/ - Russian Anime Studio Forum
Post Reply