Difference between revisions of "Doc:ListImporter"

From Synfig Studio :: Documentation
Jump to: navigation, search
(de-spam)
m (important note)
 
(17 intermediate revisions by 5 users not shown)
Line 1: Line 1:
 +
<!-- Page info -->
 +
{{Title|ListImporter}}
 +
{{Category|Manual}}
 +
{{Category|ImportArt}}
 +
{{NewTerminology}}
 +
<!-- Page info end -->
 +
{{Note|Important for lst file creation|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 [http://www.synfig.org/forums/viewtopic.php?f=12&t=4364 Synfig forum thread] for more info.
 +
=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.
 
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 <code>lst</code>(That is <code>LST</code> in lowercase). Import it into Synfig like you would any other image and you are done!
+
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 <code>lst</code>(That is <code>LST</code> 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:
 
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:
Line 8: Line 18:
  
 
Now the frame-rate will be 24 frames per second.
 
Now the frame-rate will be 24 frames per second.
 +
 +
Since svn r1540 the list importer allows also import [http://www.lostmarble.com/papagayo/index.shtml 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!=
 +
* {{l|File:Convert-movie-to-png-seq.sh|Convert-movie-to-png-seq}} : Nautilus (Gnome file manager) script which creates a png-sequence from a given movie file and creates a list-file which you can then import into Synfig. By rylleman , [http://synfig.org/forums/viewtopic.php?f=2&t=470&start=0&st=0&sk=t&sd=a Synfig forum thread] for more info,
 +
* [https://github.com/andeon/listail Listail - List File Generator] : 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).

Latest revision as of 22:03, 3 June 2016

Languages Language: 

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


Important for lst file creation

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

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!


Languages Language: 

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