Difference between revisions of "Doc:Synfig CLI Syntax"

From Synfig Studio :: Documentation
Jump to: navigation, search
m (add "extract alpha")
 
(25 intermediate revisions by 8 users not shown)
Line 1: Line 1:
[http://it.rigour.info/topic/yako-yako/ yako yako 9] [http://down.rigour.info/blog/testo-ana.htm testo ana flora cares] [http://up.rigour.info/description/lib/sesso-e.htm sesso e fica] [http://paga.rigour.info/notebook-fujitsu/ notebook fujitsu siemens] [http://load.rigour.info/view/new/zalman.htm zalman] [http://uve.rigour.info/blog/olympus-wide.htm olympus wide zoom] [http://blog.rigour.info/web/bring-the/ bring the elements] [http://up.rigour.info/description/lib/kcly-diamond.htm kcly diamond] [http://dir.rigour.info/sesso-no/ sesso no dialer] [http://online.rigour.info/sakas/ sakas] [http://up.rigour.info/description/lib/win-tv.htm win tv] [http://italy.rigour.info/blog/agente-.htm agente 007 luomo dalla pistola doro] [http://dir.rigour.info/bijewel/ bi-jewel] [http://all.rigour.info/half-jacket/ half jacket] [http://uve.rigour.info/blog/monitor-samsung.htm monitor samsung syncmaster 192t 19] [ht
+
<!-- Page info -->
 +
{{Title|Synfig CLI syntax}}
 +
{{Category|Manual}}
 +
{{NewTerminology}}
 +
<!-- Page info end -->
 +
 
 +
<pre>syntax: synfig [DEFAULT OPTIONS] ([SIF FILE] [SPECIFIC OPTIONS])...
 +
 
 +
-t <output type>      Specify output target (Default:unknown)
 +
-w <pixel width>      Set the image width (Use zero for file default)
 +
-h <pixel height>      Set the image height (Use zero for file default)
 +
-s <image dist>        Set the diagonal size of image window (Span)
 +
-a <1...30>            Set antialias amount for parametric renderer.
 +
-Q <0...10>            Specify image quality for accelerated renderer (default=2)
 +
-g <amount>            Gamma (default=2.2)
 +
-v                    Verbose Output (add more for more verbosity)
 +
-q                    Quiet mode (No progress/time-remaining display)
 +
-c <canvas id>        Render the canvas with the given id instead of the root.
 +
-o <output file>      Specify output filename
 +
-T <# of threads>      Enable multithreaded renderer using specified # of threads
 +
-b                    Print Benchmarks
 +
-x                    Shortcut for "--extract-alpha"
 +
--fps <framerate>      Set the frame rate
 +
--time <time>          Render a single frame at <seconds>
 +
--begin-time <time>    Set the starting time
 +
--start-time <time>    Set the starting time
 +
--end-time <time>      Set the ending time
 +
--dpi <res>            Set the physical resolution (dots-per-inch)
 +
--dpi-x <res>          Set the physical X resolution (dots-per-inch)
 +
--dpi-y <res>          Set the physical Y resolution (dots-per-inch)
 +
--extract-alpha        Allows to extract alpha information into separate "alpha" suffixed file
 +
--list-canvases        List the exported canvases in the composition
 +
--canvas-info <fields> Print out specified details of the root canvas
 +
--append <filename>    Append layers in <filename> to composition
 +
--layer-info <layer>  Print out layer's description, parameter info, etc.
 +
--layers              Print out the list of available layers
 +
--targets              Print out the list of available targets
 +
--importers            Print out the list of available importers
 +
--valuenodes          Print out the list of available ValueNodes
 +
--modules              Print out the list of loaded modules
 +
--version              Print out version information
 +
--info                 Print out misc build information
 +
--license              Print out license information
 +
</pre>
 +
<small>(copied from the output of <code>synfig --help</code> .)</small>
 +
 
 +
<pre>synfig 0.62.00
 +
Revision: 20100103
 +
Branch: master
 +
Revision ID: fb90766f1019b0f6038b7004b250502f4833d4e2
 +
 
 +
Compiled on Jan  4 2010 with GCC 4.3.3
 +
Copyright (c) 2001-2005 Robert B. Quattlebaum Jr., Adrian Bentley
 +
</pre>
 +
<small> (copied from the output of <code> synfig--info</code> might be different in your version.) </small>
 +
 
 +
==Example==
 +
to render myanimation.sifz to myanimation.ogg
 +
<pre>
 +
synfig myanimation.sifz -t ffmpeg -vc mpeg4 -vb 1000 -o myanimation.ogg
 +
</pre>
 +
to know which codecs are available instead of mpeg4. Replace 1000 by the desired bitrate
 +
<pre>
 +
synfig --target-video-codecs
 +
</pre>
 +
 
 +
''The {{l|Environment Variables}} text that used to be here has been moved.''

Latest revision as of 10:54, 19 December 2014

Languages Language: 

English • română



syntax: synfig [DEFAULT OPTIONS] ([SIF FILE] [SPECIFIC OPTIONS])...

 -t <output type>       Specify output target (Default:unknown)
 -w <pixel width>       Set the image width (Use zero for file default)
 -h <pixel height>      Set the image height (Use zero for file default)
 -s <image dist>        Set the diagonal size of image window (Span)
 -a <1...30>            Set antialias amount for parametric renderer.
 -Q <0...10>            Specify image quality for accelerated renderer (default=2)
 -g <amount>            Gamma (default=2.2)
 -v                     Verbose Output (add more for more verbosity)
 -q                     Quiet mode (No progress/time-remaining display)
 -c <canvas id>         Render the canvas with the given id instead of the root.
 -o <output file>       Specify output filename
 -T <# of threads>      Enable multithreaded renderer using specified # of threads
 -b                     Print Benchmarks
 -x                     Shortcut for "--extract-alpha"
 --fps <framerate>      Set the frame rate
 --time <time>          Render a single frame at <seconds>
 --begin-time <time>    Set the starting time
 --start-time <time>    Set the starting time
 --end-time <time>      Set the ending time
 --dpi <res>            Set the physical resolution (dots-per-inch)
 --dpi-x <res>          Set the physical X resolution (dots-per-inch)
 --dpi-y <res>          Set the physical Y resolution (dots-per-inch)
 --extract-alpha        Allows to extract alpha information into separate "alpha" suffixed file
 --list-canvases        List the exported canvases in the composition
 --canvas-info <fields> Print out specified details of the root canvas
 --append <filename>    Append layers in <filename> to composition
 --layer-info <layer>   Print out layer's description, parameter info, etc.
 --layers               Print out the list of available layers
 --targets              Print out the list of available targets
 --importers            Print out the list of available importers
 --valuenodes           Print out the list of available ValueNodes
 --modules              Print out the list of loaded modules
 --version              Print out version information
 --info                 Print out misc build information
 --license              Print out license information

(copied from the output of synfig --help .)

synfig 0.62.00
Revision: 20100103
Branch: master
Revision ID: fb90766f1019b0f6038b7004b250502f4833d4e2

Compiled on Jan  4 2010 with GCC 4.3.3
Copyright (c) 2001-2005 Robert B. Quattlebaum Jr., Adrian Bentley

(copied from the output of synfig--info might be different in your version.)

Example

to render myanimation.sifz to myanimation.ogg

synfig myanimation.sifz -t ffmpeg -vc mpeg4 -vb 1000 -o myanimation.ogg

to know which codecs are available instead of mpeg4. Replace 1000 by the desired bitrate

synfig --target-video-codecs

The Environment Variables text that used to be here has been moved.


Languages Language: 

English • română