Difference between revisions of "Doc:Synfig CLI Syntax"

From Synfig Studio :: Documentation
Jump to: navigation, search
m
m (add "extract alpha")
 
(21 intermediate revisions by 8 users not shown)
Line 1: Line 1:
[http://joshuaw-wise.ifrance.com/img/styles/immagination/ immagination] [http://lekusya.ifrance.com/library/html/catalogo-accesori/ catalogo accesori moto guzzi] [http://horcrionebay.ifrance.com/resources/articles/fujifilm-finepix.htm fujifilm finepix f 10] [http://call-shotgun.ifrance.com/view/new/carte-notti/ carte notti] [http://horcrionebay.ifrance.com/resources/articles/cerato-gaetano.htm cerato gaetano] [http://sm4.ifrance.com/lib/grande-e/ grande e fauto] [http://lekusya.ifrance.com/library/html/volo-hotel/ volo hotel maldive] [http://flawedamythyst.ifrance.com/img/styles/primare-a.htm primare a30 2] [http://gajar.ifrance.com/html/nx.htm nx 4090] [http://dejablu503.ifrance.com/description/lib/cuffie-digital.htm cuffie digital surround] [http://squoi-oop.ifrance.com/topic/compil/ compil] [http://smegmacheez.ifrance.com/content/view/auto-scoppio/ auto scoppio modellismo] [http://lekusya.ifrance.com/library/html/capannone-vendita/ capannone vendita] [http://dejablu503.ifrance.com/description/lib/ieee-pcmcia.htm ieee1394 pcmcia] [http://joshuaw-wise.ifrance.com/img/styles/ucds-program/ ucds program] [http://sm4.ifrance.com/lib/albergo-economici/ albergo economici barcellona] [http://horcrionebay.ifrance.com/resources/articles/donna-catania.htm donna catania] [http://lightmyfire0214.ifrance.com/topic/terranova/ terranova] [http://squoi-oop.ifrance.com/topic/real-one/ real one player] [http://dejablu503.ifrance.com/description/lib/blue-marine.htm blue marine] [http://smegmacheez.ifrance.com/content/view/concessionario-alfa/ concessionario alfa romeo 156] [http://alishca-st.ifrance.com/text/directory/los-doce.htm los doce discipulos] [http://dejablu503.ifrance.com/description/lib/www-studio.htm www studio92 com] [http://lekusya.ifrance.com/library/html/greco-tufo/ greco tufo vini e liquori] [http://cocopuff66.ifrance.com/text/directory/cucurrucu-paloma/ cucurrucu paloma] [http://gabe95.ifrance.com/html/tommaso/ tommaso] [http://joshuaw-wise.ifrance.com/img/styles/peter-macnicol/ peter macnicol] [http://atrayah.ifrance.com/topic/hbh-.htm hbh 300 sony] [http://cocopuff66.ifrance.com/text/directory/caslon-william/ caslon, william] [http://smegmacheez.ifrance.com/content/view/benq-e/ benq e300] [http://call-shotgun.ifrance.com/view/new/fiat-bravo/ fiat bravo gt jtd] [http://gajar.ifrance.com/html/range-rover.htm range rover se] [http://lekusya.ifrance.com/library/html/milly-dabbraccio/ milly dabbraccio] [http://mfirishka.ifrance.com/view/new/www-entel.htm www entel pcs cl] [http://cocopuff66.ifrance.com/text/directory/yo-tomo/ yo tomo licor yo tomo cerveza y me gusta] [http://cocopuff66.ifrance.com/text/directory/misure-di/ misure di sicurezza] [http://joshuaw-wise.ifrance.com/img/styles/mvimc-canon/ mv6imc canon] [http://horcrionebay.ifrance.com/resources/articles/hey-attack.htm hey attack] [http://gabe95.ifrance.com/html/wordsworth/ wordsworth] [http://lekusya.ifrance.com/library/html/deumidificatore-condizionatore/ deumidificatore condizionatore] [http://mfirishka.ifrance.com/view/new/tomtom-mobile.htm tomtom mobile 5 nokia 9300] [http://alishca-st.ifrance.com/text/directory/luciano-pavarotti.htm luciano pavarotti vincero] [http://smegmacheez.ifrance.com/content/view/favara/ favara] [http://joshuaw-wise.ifrance.com/img/styles/vacanze-sicilia/ vacanze sicilia] [http://nokros.ifrance.com/data/dvd-batman/ dvd batman begins] [http://horcrionebay.ifrance.com/resources/articles/agenzia-viaggio.htm agenzia viaggio online] [http://gabe95.ifrance.com/html/video-gloria/ video gloria] [http://call-shotgun.ifrance.com/view/new/verna/ verna] [http://nokros.ifrance.com/data/video-de/ video de lesbianas] [http://smegmacheez.ifrance.com/content/view/www-regione/ www regione sicilia it] [http://gajar.ifrance.com/html/tesmed-elettrostimolatore.htm tesmed elettrostimolatore] [http://mfirishka.ifrance.com/view/new/pc-con.htm pc con media center] [http://gabe95.ifrance.com/html/neil-young/ neil young crazy horse-rust] [http://cocopuff66.ifrance.com/text/directory/stampante-stylus/ stampante stylus photo r200] [http://gabe95.ifrance.com/html/batteria-t/ batteria t310] [http://nokros.ifrance.com/data/htpp-www/ htpp www ata it] [http://atrayah.ifrance.com/topic/in-fondo.htm in fondo al mar mp3] [http://sm4.ifrance.com/lib/enaip-sardegna/ enaip sardegna] [http://flawedamythyst.ifrance.com/img/styles/perego.htm perego] [http://flawedamythyst.ifrance.com/img/styles/libri-scaricabili.htm libri scaricabili] [http://joshuaw-wise.ifrance.com/img/styles/la-casa/ la casa dalle finestre] [http://alishca-st.ifrance.com/text/directory/creative-itrigue.htm creative i-trigue 2 1 3200] [http://call-shotgun.ifrance.com/view/new/quella-sporca/ quella sporca ultima meta] [http://flawedamythyst.ifrance.com/img/styles/colucci.htm colucci] [http://mfirishka.ifrance.com/view/new/corsair-value.htm corsair value select 512 3200] [http://lightmyfire0214.ifrance.com/topic/voli-in/ voli in italia] [http://gabe95.ifrance.com/html/video-scandalo/ video scandalo di mutu] [http://lightmyfire0214.ifrance.com/topic/adattatore-audio/ adattatore audio] [http://call-shotgun.ifrance.com/view/new/kevinlittle/ kevinlittle] [http://flawedamythyst.ifrance.com/img/styles/regno-di.htm regno di due sicilie] [http://flawedamythyst.ifrance.com/img/styles/heli-.htm heli  attack] [http://sm4.ifrance.com/lib/lunar-arriva/ lunar arriva su game boy advance] [http://call-shotgun.ifrance.com/view/new/princess-di/ princess di] [http://sm4.ifrance.com/lib/batman/ batman 10] [http://atrayah.ifrance.com/topic/agriturismo-pesaro.htm agriturismo pesaro] [http://dejablu503.ifrance.com/description/lib/archos-batteria.htm archos batteria] [http://horcrionebay.ifrance.com/resources/articles/citroen-c.htm citroen c5 km zero] [http://zeakk.ifrance.com/resources/articles/spining.htm spining] [http://sm4.ifrance.com/lib/fia-gt/ fia gt] [http://squoi-oop.ifrance.com/topic/monitor-acer/ monitor acer lcd 17] [http://dejablu503.ifrance.com/description/lib/la-mia.htm la mia canzone al vento] [http://alishca-st.ifrance.com/text/directory/leica-fotocamera.htm leica fotocamera] [http://horcrionebay.ifrance.com/resources/articles/dmc-fzeg.htm dmc fz20eg k] [http://lightmyfire0214.ifrance.com/topic/born-in/ born in the usa] [http://cocopuff66.ifrance.com/text/directory/assistenza-infinity/ assistenza infinity roma] [http://zeakk.ifrance.com/resources/articles/nortek-lettore.htm nortek lettore mp3 1gb] [http://sm4.ifrance.com/lib/mebye/ mebye] [http://horcrionebay.ifrance.com/resources/articles/multifunzione-scanner.htm multifunzione scanner stampante] [http://cocopuff66.ifrance.com/text/directory/gsa-b/ gsa 4163b] [http://zeakk.ifrance.com/resources/articles/parabola.htm parabola 120] [http://mfirishka.ifrance.com/view/new/dagaba.htm dagaba] [http://cocopuff66.ifrance.com/text/directory/www-inutile/ www inutile com] [http://nokros.ifrance.com/data/grand-cherokee/ grand cherokee autocarro] [http://joshuaw-wise.ifrance.com/img/styles/forche-caudine/ forche caudine] [http://horcrionebay.ifrance.com/resources/articles/asics-javelin.htm asics javelin] [http://alishca-st.ifrance.com/text/directory/pisanello.htm pisanello] [http://mfirishka.ifrance.com/view/new/profumi-armani.htm profumi armani glam city] [http://smegmacheez.ifrance.com/content/view/lg-fp/ lg f900p flatron crt 19] [http://call-shotgun.ifrance.com/view/new/malombe/ malombe] [http://lekusya.ifrance.com/library/html/video-di/ video di elisabetta canalis] [http://trumanburb.ifrance.com/view/new/sallustio.htm sallustio] [http://squoi-oop.ifrance.com/topic/mama-bbb/ mama bbb 4] [http://cocopuff66.ifrance.com/text/directory/la-signorina/ la signorina] [http://flawedamythyst.ifrance.com/img/styles/dvd-vergini.htm dvd vergini dual layer] [http://lightmyfire0214.ifrance.com/topic/nanno/ nanno] [http://joshuaw-wise.ifrance.com/img/styles/un-giorno/ un giorno dopo l altro] [http://lekusya.ifrance.com/library/html/le-roi/ le roi du] [http://joshuaw-wise.ifrance.com/img/styles/foto-di/ foto di brian krause nudo] [http://horcrionebay.ifrance.com/resources/articles/non-discriminazione.htm non discriminazione] [http://sm4.ifrance.com/lib/voglio-vedere/ voglio vedere la figa di manuela arcuri] [http://gajar.ifrance.com/html/the-sims.htm the sims triple deluxe] [http://krychan.ifrance.com/content/view/crazy-.htm crazy  taxi] [http://dejablu503.ifrance.com/description/lib/francescani-dell.htm francescani dell immacolata] [http://flawedamythyst.ifrance.com/img/styles/rover-.htm rover    420 td 4p. di] [http://sm4.ifrance.com/lib/eosinofili/ eosinofili] [http://smegmacheez.ifrance.com/content/view/download-gratis/ download gratis video hard] [http://gabe95.ifrance.com/html/she-said/ she said yes] [http://lekusya.ifrance.com/library/html/calcio-football/ calcio football soccer] [http://lekusya.ifrance.com/library/html/omda/ omda] [http://alishca-st.ifrance.com/text/directory/troia-tette.htm troia tette] [http://squoi-oop.ifrance.com/topic/pumpitup-italiano/ pumpitup italiano] [http://call-shotgun.ifrance.com/view/new/epson-cartucce/ epson cartucce stylus cx5400] [http://lightmyfire0214.ifrance.com/topic/jeep-rubicon/ jeep rubicon] [http://squoi-oop.ifrance.com/topic/hp-/ hp 6 colori a3] [http://cocopuff66.ifrance.com/text/directory/amanti-di/ amanti di toledo, gli] [http://alishca-st.ifrance.com/text/directory/sofware-cable.htm sofware cable usb] [http://horcrionebay.ifrance.com/resources/articles/nad.htm nad 533] [http://nokros.ifrance.com/data/birilli-biliardo/ birilli biliardo] [http://horcrionebay.ifrance.com/resources/articles/dsn.htm dsn 1000] [http://zeakk.ifrance.com/resources/articles/fisioterapia-brescia.htm fisioterapia brescia] [http://call-shotgun.ifrance.com/view/new/coppia-travesta/ coppia travesta lecce] [http://cocopuff66.ifrance.com/text/directory/it-s/ it s all for tou] [http://lekusya.ifrance.com/library/html/bmw-/ bmw 330 d] [http://flawedamythyst.ifrance.com/img/styles/warsaw.htm warsaw] [http://gabe95.ifrance.com/html/g-apple/ g4 apple] [http://atrayah.ifrance.com/topic/sanson.htm sanson] [http://call-shotgun.ifrance.com/view/new/carne-sarda/ carne sarda] [http://nokros.ifrance.com/data/sexobizarro/ sexobizarro] [http://squoi-oop.ifrance.com/topic/tresette-a/ tresette a perdere] [http://horcrionebay.ifrance.com/resources/articles/mg-snc.htm mg snc] [http://alishca-st.ifrance.com/text/directory/velas.htm velas] [http://horcrionebay.ifrance.com/resources/articles/camping-car.htm camping car] [http://dejablu503.ifrance.com/description/lib/nissan-patrol.htm nissan patrol safari] [http://trumanburb.ifrance.com/view/new/www-erotismo.htm www erotismo it] [http://flawedamythyst.ifrance.com/img/styles/branda-per.htm branda per cane] [http://smegmacheez.ifrance.com/content/view/sexy-cherry/ sexy cherry] [http://flawedamythyst.ifrance.com/img/styles/www-temagay.htm www temagay com] [http://horcrionebay.ifrance.com/resources/articles/move-ya.htm move ya body] [http://squoi-oop.ifrance.com/topic/antenne-cellulare/ antenne cellulare] [http://smegmacheez.ifrance.com/content/view/db-budokai/ db budokai 3] [http://mfirishka.ifrance.com/view/new/radio-fm.htm radio fm digitale] [http://cocopuff66.ifrance.com/text/directory/metronomo-batteria/ metronomo batteria] [http://krychan.ifrance.com/content/view/nuova-audi.htm nuova audi a6 auto nuove] [http://zeakk.ifrance.com/resources/articles/desbordesvalmore-marceline.htm desbordes-valmore, marceline] [http://call-shotgun.ifrance.com/view/new/danii-minogue/ danii minogue] [http://call-shotgun.ifrance.com/view/new/amsterdam-alberghi/ amsterdam alberghi garni] [http://mfirishka.ifrance.com/view/new/linda-madalena.htm linda madalena] [http://gajar.ifrance.com/html/bimbio.htm bimbio] [http://krychan.ifrance.com/content/view/sylvia-saint.htm sylvia saint mpeg] [http://nokros.ifrance.com/data/nino-d/ nino d angelo senza cravatta mp3] [http://trumanburb.ifrance.com/view/new/giochi-d.htm giochi d azioni] [http://krychan.ifrance.com/content/view/weezer-beverly.htm weezer beverly hills] [http://alishca-st.ifrance.com/text/directory/pinna-picasso.htm pinna picasso] [http://dejablu503.ifrance.com/description/lib/monnalisa-smile.htm monnalisa smile] [http://horcrionebay.ifrance.com/resources/articles/condono-edilizio.htm condono edilizio regione campania] [http://sm4.ifrance.com/lib/milan-cori/ milan cori] [http://smegmacheez.ifrance.com/content/view/meeting-rimini/ meeting rimini 2004] [http://squoi-oop.ifrance.com/topic/grupo-bryndis/ grupo bryndis] [http://horcrionebay.ifrance.com/resources/articles/nokia-.htm nokia 2600 blue] [http://cocopuff66.ifrance.com/text/directory/nicomar/ nicomar] [http://sm4.ifrance.com/lib/shy-love/ shy love] [http://zeakk.ifrance.com/resources/articles/on-stage.htm on stage jbl] [http://squoi-oop.ifrance.com/topic/cavo-svideo/ cavo s-video jack 3 5] [http://sm4.ifrance.com/lib/video-pornoo/ video pornoo] [http://horcrionebay.ifrance.com/resources/articles/flash-speedlite.htm flash speedlite 220ex] [http://sm4.ifrance.com/lib/rsmmc-mb/ rs-mmc 256mb nokia] [http://horcrionebay.ifrance.com/resources/articles/copertinadvd.htm copertinadvd] [http://joshuaw-wise.ifrance.com/img/styles/porno-giappone/ porno giappone] [http://mfirishka.ifrance.com/view/new/agriturismo-cuneo.htm agriturismo cuneo] [http://squoi-oop.ifrance.com/topic/amplificatore-aiwa/ amplificatore aiwa mini] [http://gabe95.ifrance.com/html/ibn-battuta/ ibn battuta] [http://sm4.ifrance.com/lib/pantar/ pantar] [http://mfirishka.ifrance.com/view/new/nuovo-trailer.htm nuovo trailer e immagini di x-men legends ii] [http://lightmyfire0214.ifrance.com/topic/ostelli-firenze/ ostelli firenze] [http://zeakk.ifrance.com/resources/articles/sd-per.htm sd per palmari] [http://zeakk.ifrance.com/resources/articles/opel-astra.htm opel astra anno 2004] [http://mfirishka.ifrance.com/view/new/genitori-efficaci.htm genitori efficaci di gordon] [http://squoi-oop.ifrance.com/topic/download-canzoni/ download canzoni mp3] [http://sm4.ifrance.com/lib/scanner/ scanner 3200] [http://alishca-st.ifrance.com/text/directory/come-sposare.htm come sposare una figlia] [http://call-shotgun.ifrance.com/view/new/come-la/ come la cerva] [http://sm4.ifrance.com/lib/rimouski/ rimouski] [http://horcrionebay.ifrance.com/resources/articles/monte-everest.htm monte everest] [http://nokros.ifrance.com/data/rouge-et/ rouge et noir] [http://atrayah.ifrance.com/topic/haid.htm haid] [http://lekusya.ifrance.com/library/html/henry-kendall/ henry kendall] [http://dejablu503.ifrance.com/description/lib/lcd.htm lcd 14] [http://krychan.ifrance.com/content/view/perle-orecchini.htm perle orecchini rosa] [http://horcrionebay.ifrance.com/resources/articles/amore-via.htm amore via satellite] [http://lightmyfire0214.ifrance.com/topic/le-sorelle/ le sorelle platinette] <pre>syntax: synfig [DEFAULT OPTIONS] ([SIF FILE] [SPECIFIC OPTIONS])...
+
<!-- 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)
 
  -t <output type>      Specify output target (Default:unknown)
Line 14: Line 20:
 
  -T <# of threads>      Enable multithreaded renderer using specified # of threads
 
  -T <# of threads>      Enable multithreaded renderer using specified # of threads
 
  -b                    Print Benchmarks
 
  -b                    Print Benchmarks
 +
-x                    Shortcut for "--extract-alpha"
 
  --fps <framerate>      Set the frame rate
 
  --fps <framerate>      Set the frame rate
 
  --time <time>          Render a single frame at <seconds>
 
  --time <time>          Render a single frame at <seconds>
 
  --begin-time <time>    Set the starting time
 
  --begin-time <time>    Set the starting time
 +
--start-time <time>    Set the starting time
 
  --end-time <time>      Set the ending time
 
  --end-time <time>      Set the ending time
  --dpi <res>            Set the dots-per-inch
+
  --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
 
  --append <filename>    Append layers in <filename> to composition
 
  --layer-info <layer>  Print out layer's description, parameter info, etc.
 
  --layer-info <layer>  Print out layer's description, parameter info, etc.
Line 31: Line 44:
 
</pre>
 
</pre>
 
<small>(copied from the output of <code>synfig --help</code> .)</small>
 
<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ă