29 June 2015

SWFDec Windows

Not to be confused with SWFDec = SWF Decompiler, this one is decoder http://swfdec.freedesktop.org. And it is not that I interested in the player itself (Flash will soon die) but rather the fact that it use cairo canvas so it can export its rendered scene to SVG/PDF easily.

Swfdec itself need little patch for Windows because of its local file URI mangling. This tool is the inverse of svg2swf and based on existing swfdec-thumbnailer (swfdec-gnome). It still ongoing, I want to make it more like rsvg-convert plus ability to set particular timeline to snap but at moment it just convert flash movie up to version 7 (version 8 or 9 may crashed) into pdf, ps, png or svg. The final version would be included in the Converter homepage here.

Command: swfdec-convert [-s minimum width/height] input output
Download: swfdec-convert.exe 1.6 Mb

2 comments:

  1. This appears to be exactly what I am needing, however, I get the following error when trying to use it:

    Fontconfig error: Cannot load default config file

    (swfdec-convert.exe:15864): Pango-WARNING **: failed to choose a font, expect ug
    ly output. engine-type='PangoRenderFc', script='latin'

    (swfdec-convert.exe:15864): Pango-WARNING **: failed to choose a font, expect ug
    ly output. engine-type='PangoRenderFc', script='common'

    ReplyDelete
    Replies
    1. Sorry about that, download http://sourceforge.net/projects/tumagcc/files/converters/fc-cache.7z/download

      and extract the archive content to the same as executable file

      Delete