Posts Tagged ‘Scripts’

Convert to Quicktime player compliant mov’s.

Monday, October 12th, 2009

Nautilus script.

The Quicktime player is extremely picky on what it will play.
I’ve spent a considerable time trying to get movie-files that the Quicktime player will play from my linux system. Most of the ready-made solutions fail in this regard in one way or the other. Avidemux output can’t be played at all, Ffmpeg tends to drift in sync for longer projects, Handbrake output doesn’t play etc.

I’ve come up with this script that does produce files that plays fine on the Quicktime player.
It converts any movie to same-size, h264 in a mov-container. The quality is high, resulting in quite large files but you can lower the quality settings inside the script to get smaller output.

To install, place the script in your nautilus scripts folder and make it executable (chmod +x Convert-to-h264-mov).
Usage is just right click on any video file and run the script from the scripts menu.

Download the convert-to-h264-mov script ver.0.1.1

Download a version with resizing added. This is hard set to 768×432 within the script where you can change to what you’d like to have. It has to be in proportion to the original size though.

Licensed as Creative Commons Attribution-Share Alike 3.0

Synfig render script

Friday, October 9th, 2009

Nautilus / Synfig Studio script.
Download Synfig render script.

A script that renders selected Synfig project file into a png-sequence.

To install just download the script and copy it to your Nautilus script folder and make it executable (chmod +x synfig_render_to_png-seq).

To use it just select your .sif or .sifz-file, right-click and run the script. The file is now rendered to a png-sequence in a folder beside the Synfig-file.

I’ve set the render size to 1920x1080px but you can change this to whatever you’d like to have inside the script.

Licensed as Creative Commons Attribution-Share Alike 3.0

Synfig, images to lst-file

Tuesday, July 28th, 2009

Nautilus/Synfig Studio script.
Download Synfig png > list script ver.0.1.1.

A handy little script that creates a list-file that you can import into Synfig Studio.

To install just download the script and copy it to your Nautilus script folder and make it executable (chmod +x synfig_png-seq>list).
Usage is equally simple; select the images you want to import as a sequence and run the script from your nautilus-menu.

Licenced as Creative Commons Attribution-Share Alike 3.0

Anime Studio image-sequence render script

Thursday, June 25th, 2009

Nautilus / Anime Studio script.
Download Anime Studio render script..
Download A version with custom frame range..

A script that renders selected Anime Studio project file into a png-sequence.

To install just download the script and copy it to your Nautilus script folder and make it executable (chmod +x renderAS-file_to_png-seq).

To use it just select your .anme-file, right-click and run the script. The file is now rendered to a png-sequence in a folder beside the AS-file.

Licensed as Creative Commons Attribution-Share Alike 3.0

Anime Studio preview script

Monday, May 4th, 2009

Nautilus / Anime Studio script.
Download Anime Studio preview script.

A script that renders selected Anime studio project file into a movie for previewing you animation.
(Intermediate image sequence and audio file is created, but deleted after the movie is rendered.)

To install just download the script and copy it to your Nautilus script folder and make it executable (chmod +x AS_file-info).

To use it just select your .anme-file, right-click and run the script. The file is now rendered to a medium quality, halfsize, mp4 movie file called preview-render.mp4 in the same folder as the .anme.

Licensed as Creative Commons Attribution-Share Alike 3.0

Images to Anime Studio file

Tuesday, March 17th, 2009

Nautilus/Anime Studio script.
Download Images to Anime Studio script

Unfortunately none of the batch import scripts work in linux and when drag-and-dropping images you get a quite annoying question asking if you’d like to use the image as a tracing image or a normal image for each and every image.

There’s where my script comes in.
It’s a nautilus script that places every image layer you have selected into an .anme-file that you can import into your AS-scene.

To use it select all images you’d like to import and run the script from your right-click meny>scripts. You get a question about which type of layer you’d like to place the images in; Group, bone or switch.
Now it can take a few seconds if you’ve got many images. When done you’ve got a file called “image-export.anme” in the same folder as the images that you can import into your AS-scene.

To install the script place it in your nautilus scripts-folder, ./.gnome2/nautilus-scripts, or by right clicking in nautilus and select >scripts>open scripts folder.
Then make it executable by running “chmod u+x ImagesToAnme.sh” in terminal.

Licenced as Creative Commons Attribution-Share Alike 3.0

A.S. file info

Tuesday, March 3rd, 2009

Anime Studio / Nautilus.

I wrote a small script that gives you info about a selected AS file which I find quite useful at times.

To install just place the script in your Nautilus scripts folder and make it executable (chmod +x AS_file-info).
To use it right-click on the file and select scripts>AS_file-info.

Download A.S. File Info ver.0.0.5.

Creative Commons Attribution-Share Alike 3.0 licenced.

update: now works with Anime Studio 6.

Edit Image in Gimp

Thursday, December 11th, 2008

Anime Studio Script
Download Edit in Gimp script v.0.9

Select an image layer and run this script, the image is then opened in Gimp for editing. After you’re done the image gets updated to the edited version.

Installation: Place the script in your /scripts/menu/Image -foder.

With Linux it should work out of the box.

With Windows you may have to change the path to your Gimp-installation in the script if Gimp doesn’t start when you run the script. Just open it up with a text-editor and change the path where I’ve noted.

Loop Switch

Friday, October 10th, 2008

Anime Studio Pro script
Download Loop Switch script ver.1.2.

Installation: Just put it in your scripts/menu/other folder.

Usage: Select a Switch layer and run the script.
The switches in the layer will then be layed out in the timeline following their layer order.
The parameters you can set is start and end frame in the range, interval between the keyframes,
and you can also select to lay out the keyframes in reverse, starting with the last switch, going downards in the list.
If the switches reaches the last one before the range has reached it’s end they will start over from the beginning.
Updated, you can now also set to use every # image in the sequence. Setting it to 3 for instance would use images 1,4,7,10 etc.

Set & Get Frame Bookmark

Wednesday, October 1st, 2008

Anime Studio Pro Script.
Download Set & Get Frame Bookmark script, ver.0.1.

First press the key for setting the current frame as bookmarked and then on any other frame press the key for getting the bookmark to be transfered to that first frame.

Installation: Download and unzip in your >scripts>tool folder.

Then open _tool_list.txt located in the tool folder.
I suggest installing this script either into the “Other” section of the tool-palette or adding a new group called Navigation. To do this either add the following line to the end of the file _tool_list.txt;

button DR_set_framebookmark J
button DR_get_framebookmark K

or add the following lines;

group Navigation
color 204 220 232 255
button DR_set_framebookmark J
button DR_get_framebookmark K

(J and ”’k is the hotkeys, you can set this to whatever key you want, J, K, O and Y is by default not mapped to any tool).
Save _tool_list.txt and refresh Moho (ctrl+F5).

Note; Currently the framenumber in the little square at top left of the Timeline panel doesn’t update when you transfer to the bookmarked frame but as soon as you step or scrub the timeline it’s back to normal.
My plan for these tools is to merge them into one and make it possible to have multiple bookmarks stored.

Older Posts »