Difference between revisions of "Render options"

From Synfig Studio :: Documentation
Jump to: navigation, search
m (Fixing comments about rendering to FLV in light of SVN 934)
(Fix tables and some linux tests.)
Line 7: Line 7:
 
*imagemagick - image manipulation program
 
*imagemagick - image manipulation program
 
*jpeg - Joint Photographic Expert Group - still format suited to photographs
 
*jpeg - Joint Photographic Expert Group - still format suited to photographs
 +
*libav - libavcodec is a free software/open source LGPL-licensed library of codecs for encoding and decoding video and audio data; it is written in the C programming language. It is part of the FFmpeg-project and many free/open source applications rely on it.
 
*null - Dummy file for rendering engine testing?
 
*null - Dummy file for rendering engine testing?
 
*null-tile - Dummy file for rendering engine testing?
 
*null-tile - Dummy file for rendering engine testing?
Line 19: Line 20:
 
! Extension
 
! Extension
 
! Helper app
 
! Helper app
! Linux support
+
! width = "250"|
 +
Linux support
 
! Windows support
 
! Windows support
 
|-
 
|-
 
! Auto
 
! Auto
! (.bmp -> bmp) (.dv -> dv_trgt) (.mpg -> ffmpeg_trgt) (.gif -> gif) (.miff -> imagemagick_trgt) (.jpg -> jpeg_trgt) (.avi -> Target_LibAVCodec) (.mng -> mng_trgt) (.exr -> exr_trgt) (.png -> png_trgt) (.ppm -> ppm) (.yuv -> yuv)
+
! align = "left" |
 +
*.bmp->bmp
 +
*.dv->dv_trgt
 +
*.mpg->ffmpeg_trg
 +
*.gif->gif
 +
*.miff->imagemagick_trgt
 +
*.jpg->jpeg_trgt
 +
*.avi->Target_LibAVCodec
 +
*.mng->mng_trgt
 +
*.exr->exr_trgt
 +
*.png->png_trgt
 +
*.ppm->ppm
 +
*.yuv->yuv
 
! Determined by extension (if you're lucky!)
 
! Determined by extension (if you're lucky!)
! png -> png OK, , gif -> bmp (bad), miff -> bmp, exr ->bmp, dv -> bmp and bad rendered, gif -> bmp (the bmp is ok), yuv ->bmp, ppm -> ppm OK,
+
! align = "left" |
 +
*.bmp->bmp OK
 +
*.dv->not render [[#note 2|2]]
 +
*.mpg->not render [[#note 3|3]]
 +
*.gif->gif OK
 +
*.miff->crash [[#note 4|4]]
 +
*.avi->crash [[#note 1|1]]
 
! Seems to generate a bmp (or series of bmps) regardless of extension.
 
! Seems to generate a bmp (or series of bmps) regardless of extension.
 
|-
 
|-
Line 84: Line 104:
 
! png
 
! png
 
! png
 
! png
! native
+
! native*.mpg->
 
! ?
 
! ?
 
! yes
 
! yes
Line 105: Line 125:
 
Rendering to video directly from Synfig under Windows presents some challenges.   
 
Rendering to video directly from Synfig under Windows presents some challenges.   
  
If you want to render to anything other than mpg with ffmpeg, you'll want to save a series of images that represent your animation, to a still format that ffmpeg can read.  I recommend png.  Whilst you can render to any size image, if you're going to show your video on Youtube, you may want to take that into account when you render.  
+
If you want to render to anything other than mpg with ffmpeg, you'll want to save a series of images that represent your animation, to a still format that ffmpeg can read.  I recommend png.  Whilst you can render to any size image, if you're going to show your video on Youtube*.mpg->, you may want to take that into account when you render.  
  
 
If you set up your render like [[Image:Render.png]]
 
If you set up your render like [[Image:Render.png]]
Line 123: Line 143:
  
 
creates a Flash video file of with the same framerate as used on Youtube.  You should be able to submit it to Youtube without the need for the Youtube servers to have to re-compress it.
 
creates a Flash video file of with the same framerate as used on Youtube.  You should be able to submit it to Youtube without the need for the Youtube servers to have to re-compress it.
 +
 +
=== Linux notes ===
 +
 +
==== note 1 ====
 +
The extension is recognized but it crashed. Please report if it renders in your machine (Using Ubuntu 6.10 and svn 945). The console output is this:
 +
<code> synfig(5882): info: render target filename: '/home/carlos/Videos/pruebasynfig/RenderTest/avi-auto/RenderTest.avi'; extension: 'avi'
 +
synfig(5882): info: 'avi' is a known extension - using target 'libav' Output #0, avi, to '/home/carlos/Videos/pruebasynfig/RenderTest/avi-auto/RenderTest.avi':
 +
  Stream #0.0: Video: mpeg4 (hq), yuv420p, 480x270, q=2-31, 925 kb/s, 24.00 fps(c)
 +
Fallo de segmentación (core dumped)</code>
 +
 +
 +
==== note 2 ====
 +
 +
The extension is recognized but it shows this pop-up window message: ''Target initialisation failure''. Please report if it renders in your machine (Using Ubuntu 6.10 and svn 945). The console output is this:
 +
 +
<code>
 +
synfig(6303): info: render target filename: '/home/carlos/Videos/pruebasynfig/RenderTest/dv-auto/RenderTest.dv'; extension: 'dv'
 +
synfig(6303): info: 'dv' is a known extension - using target 'dv'
 +
synfig(6303): error: Unable to open pipe to encodedv
 +
</code>
 +
 +
==== note 3 ====
 +
 +
The extension is recognized but it shows this pop-up window message: ''Target initialisation failure''. Please report if it renders in your machine (Using Ubuntu 6.10 and svn 945). The console output is this:
 +
 +
<code>
 +
synfig(6303): info: render target filename: '/home/carlos/Videos/pruebasynfig/RenderTest/mpg-auto/RenderTest.mpg'; extension: 'mpg'
 +
synfig(6303): info: 'mpg' is a known extension - using target 'ffmpeg'
 +
synfig(6303): error: Unable to open pipe to ffmpeg
 +
</code>
 +
 +
==== note 4 ====
 +
 +
The extension is recognized but it crashed. Please report if it renders in your machine (Using Ubuntu 6.10 and svn 945). The console output is this:
 +
 +
<code>
 +
synfig(6303): info: render target filename: '/home/carlos/Videos/pruebasynfig/RenderTest/miff-auto/RenderTest.miff'; extension: 'miff'
 +
synfig(6303): info: 'miff' is a known extension - using target 'imagemagick'
 +
synfig(6303): error: Unable to open pipe to imagemagick's convert utility
 +
 +
glibmm-ERROR **:
 +
unhandled exception (type unknown) in signal handler
 +
 +
aborting...
 +
Cancelado (core dumped)
 +
</code>

Revision as of 00:43, 23 October 2007

Languages Language: 

English


Here are the file types that can be rendered

  • bmp - Bitmap
  • dv - digital video
  • mpg - Motion Picture Expert Group file format for moving pictures
  • gif - graphic interchange format
  • imagemagick - image manipulation program
  • jpeg - Joint Photographic Expert Group - still format suited to photographs
  • libav - libavcodec is a free software/open source LGPL-licensed library of codecs for encoding and decoding video and audio data; it is written in the C programming language. It is part of the FFmpeg-project and many free/open source applications rely on it.
  • null - Dummy file for rendering engine testing?
  • null-tile - Dummy file for rendering engine testing?
  • open-exr - Still image designed for handling Motion picture frames developed by ILM
  • png - portable Network graphics - still images with lossless compression
  • ppm - portable pixmap - still image using very basic format
  • yuv420p - Still image format designed to preserve the images luminance
Target type Extension Helper app

Linux support

Windows support
Auto
  • .bmp->bmp
  • .dv->dv_trgt
  • .mpg->ffmpeg_trg
  • .gif->gif
  • .miff->imagemagick_trgt
  • .jpg->jpeg_trgt
  • .avi->Target_LibAVCodec
  • .mng->mng_trgt
  • .exr->exr_trgt
  • .png->png_trgt
  • .ppm->ppm
  • .yuv->yuv
Determined by extension (if you're lucky!)
  • .bmp->bmp OK
  • .dv->not render 2
  • .mpg->not render 3
  • .gif->gif OK
  • .miff->crash 4
  • .avi->crash 1
Seems to generate a bmp (or series of bmps) regardless of extension.
bmp bmp Native  ? Yes
dv dv encodedv  ? untested
ffmpeg mpg ffmpeg  ? Working with FFMpeg 10464 and SVN 934
gif gif native  ? yes (animated gifs also)
imagemagick miff imagemagick  ? Renders to a readable file, but the image is corrupted in builds prior to SVN 934. Working in 934 and later (October 17th 2007).
jpeg jpg native  ? yes
null n/a n/a n/a n/a
null-tile n/a n/a n/a n/a
open-exr exr native  ? yes
png png native*.mpg->  ? yes
ppm ppm native  ? yes
yuv420 yuv native  ? yes


Rendering to Video

Rendering to video directly from Synfig under Windows presents some challenges.

If you want to render to anything other than mpg with ffmpeg, you'll want to save a series of images that represent your animation, to a still format that ffmpeg can read. I recommend png. Whilst you can render to any size image, if you're going to show your video on Youtube*.mpg->, you may want to take that into account when you render.

If you set up your render like Render.png

Image size - width 320 Xres 72.0 Phys width 4.44 Height 240 Yres 72.0 Phys Height 3.33 (Image span 11.0127

Image area Top left X: -3.67 Y:4.2 Bottom right X: 3.67 y:-4.2)

You will get a series of png files in your output directory. Open a command prompt, cd to that directory, then use ffmpeg to assemble these png files into the video stream of your choice. for example -

C:\output>ffmpeg -r 15 -i rfrac%04d.png -f flv fractal.flv

creates a Flash video file of with the same framerate as used on Youtube. You should be able to submit it to Youtube without the need for the Youtube servers to have to re-compress it.

Linux notes

note 1

The extension is recognized but it crashed. Please report if it renders in your machine (Using Ubuntu 6.10 and svn 945). The console output is this: synfig(5882): info: render target filename: '/home/carlos/Videos/pruebasynfig/RenderTest/avi-auto/RenderTest.avi'; extension: 'avi'

synfig(5882): info: 'avi' is a known extension - using target 'libav' Output #0, avi, to '/home/carlos/Videos/pruebasynfig/RenderTest/avi-auto/RenderTest.avi':
  Stream #0.0: Video: mpeg4 (hq), yuv420p, 480x270, q=2-31, 925 kb/s, 24.00 fps(c)
Fallo de segmentación (core dumped)


note 2

The extension is recognized but it shows this pop-up window message: Target initialisation failure. Please report if it renders in your machine (Using Ubuntu 6.10 and svn 945). The console output is this:

synfig(6303): info: render target filename: '/home/carlos/Videos/pruebasynfig/RenderTest/dv-auto/RenderTest.dv'; extension: 'dv' 
synfig(6303): info: 'dv' is a known extension - using target 'dv'
synfig(6303): error: Unable to open pipe to encodedv

note 3

The extension is recognized but it shows this pop-up window message: Target initialisation failure. Please report if it renders in your machine (Using Ubuntu 6.10 and svn 945). The console output is this:

synfig(6303): info: render target filename: '/home/carlos/Videos/pruebasynfig/RenderTest/mpg-auto/RenderTest.mpg'; extension: 'mpg' 
synfig(6303): info: 'mpg' is a known extension - using target 'ffmpeg'
synfig(6303): error: Unable to open pipe to ffmpeg

note 4

The extension is recognized but it crashed. Please report if it renders in your machine (Using Ubuntu 6.10 and svn 945). The console output is this:

synfig(6303): info: render target filename: '/home/carlos/Videos/pruebasynfig/RenderTest/miff-auto/RenderTest.miff'; extension: 'miff' 
synfig(6303): info: 'miff' is a known extension - using target 'imagemagick'
synfig(6303): error: Unable to open pipe to imagemagick's convert utility
glibmm-ERROR **: 
unhandled exception (type unknown) in signal handler
aborting...
Cancelado (core dumped)


Languages Language: 

English