Doc:ListImporter

From Synfig Studio :: Documentation
Revision as of 10:09, 4 April 2009 by Rylleman (Talk | contribs)

Jump to: navigation, search
Languages Language: 

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


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 is missing, needs a patch).

There is a Nautilus (Gnome file manager) script which creates a png-sequence from a given movie file and greates a list-file which you can then import into Synfig. See (url=http://synfig.org/forums/viewtopic.php?f=2&t=470&p=2759#p2759]Synfig forum thread[/url] for more info.


Languages Language: 

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