ListImporter

From Synfig Studio :: Documentation
Jump to: navigation, search
m (add general information section + add script section + listail)
m (Automate, use scripts!: fix)
Line 69: Line 69:
 
* gif
 
* gif
 
=Automate, use scripts!=
 
=Automate, use scripts!=
There are Nautilus (Gnome file manager) scripts which creates a png-sequence from a given movie file and creates a list-file which you can then import into Synfig.
+
* Nautilus (Gnome file manager) scripts which creates a png-sequence from a given movie file and creates a list-file which you can then import into Synfig. [http://synfig.org/forums/viewtopic.php?f=2&t=470&start=0&st=0&sk=t&sd=a Synfig forum thread] for more info.
* [http://synfig.org/forums/viewtopic.php?f=2&t=470&start=0&st=0&sk=t&sd=a Synfig forum thread] for more info.
+
* Listail create a list of images to 'lst' file, consisting of a frame rate followed by a list of images to display. [https://github.com/andeon/listail listail] by  Anderson Prado (AndeOn).  
* [https://github.com/andeon/listail listail] by  Anderson Prado (AndeOn). Listail create a list of images to 'lst' file, consisting of a frame rate followed by a list of images to display.
+
  
  

Revision as of 11:51, 11 November 2015

Languages Language: 

English • čeština • español • français • italiano • română • русский


General informations

The list importer allows you to import a text file containing a list of still images and have it be treated as a single animated layer.

To use it, simply create a text file with the filename of each still frame listed per-line. Save this text file with the extension lst(That is LST in lowercase). Import it into Synfig like you would any other image.

The default framerate is 15 frames per second. If you would like to use a different frame-rate, add a line to the file like this:

FPS 24

Now the frame-rate will be 24 frames per second.

Since svn r1540 the list importer allows also import Papagayo output lipsync voice files.

As well as Papagayo only export the phonemes it is assumed by default that the image file is a jpeg image with "jpg" extension. This means that the standard phonemes image files must be called like this:

AI.jpg
E.jpg
etc.jpg
FV.jpg
L.jpg
MBP.jpg
O.jpg
rest.jpg
U.jpg
WQ.jpg


If you want to change the type of image file just insert a valid extension before the phonemes. It should be done manually as well as the FPS thing.

This is how a valid "lst" file from papagayo looks after inserting the FPS and the change to other image file type:

MohoSwitch1
FPS 24
png
4 O
7 L
10 AI
13 rest
22 rest
23 MBP
26 E
29 etc
31 AI
33 MBP
35 O
37 etc
39 E
41 etc
43 E
45 etc
47 E
49 rest

It says: "Hola, me llamo Genete"

In this case it has been changed to png.

Allowed image types are:

  • jpg (default)
  • png,
  • ppm
  • tiff
  • gif

Automate, use scripts!

  • Nautilus (Gnome file manager) scripts which creates a png-sequence from a given movie file and creates a list-file which you can then import into Synfig. Synfig forum thread for more info.
  • Listail create a list of images to 'lst' file, consisting of a frame rate followed by a list of images to display. listail by Anderson Prado (AndeOn).


The list importer is quite sensitive and may fail to import if the .lst file contains extra space caracters 
or non unix line terminator. See Synfig forum thread for more info.


Languages Language: 

English • čeština • español • français • italiano • română • русский