But I noticed that if you run it, followed by the name of a file, it will convert it using the default settings: $ Swivel file.swf I wondered if maybe Swivel actually did have a command line API, but just an undocumented one. It doesn't say so anywhere on the wiki page. The thing is, Swivel doesn't claim to be usable from the command line. Perl is my tool of choice to do web scraping and automation, and I figured I'd throw in a system call to run Swivel on the downloaded swf files that I scrape from Newgrounds. When presented with a task like this, there is a lot of repetitive process involved, so I like to try to automate things. So that is why I wanted to use it when presented with the task of downloading all the NATA entries and converting them all to video. It's a really fantastic tool and is really the only acceptable tool for converting Flash videos. You probably know of and have used Newgrounds's swf to video converter. JTL DR turns out you can use Swivel from the command line, but it doesn't let you change the starting frame that way, so I tried to patch it in myself. What's more, SWF to MP4 Converter can directly edit the output. Swivel from Newgrounds does exactly this and is free.
0 Comments
Leave a Reply. |