Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Is there any Linux tool that will take a SWF file and output some kind of video format? Note that I don't want a tool which will re-encode an embedded FLV or MP4, I want to take a standard Flash movie and render it as a video.

I found a reference to dump-gnash in the GNU Manual, but having installed the gnash package on Fedora I don't have that command.

share|improve this question
    
Did you find a solution? Have you seen ConvertSWF? untested but you need dump-gnash. –  Dejan Nov 2 '12 at 2:03

4 Answers 4

While not the best option, you could try compiling gnash yourself and passing the --enable-gui=dump flag.

To do this, I downloaded the latest gnash from http://ftp.gnu.org/pub/gnu/gnash/0.8.10/

  1. Extract with tar -xf gnash-0.8.10.tar.gz

  2. Change into the extracted directory cd gnash-0.8.10

  3. Run ./configure --enable-gui=dump

  4. Run make

But to do this, you will need basic development tools (GCC, GNU Make) and some libraries like FFMPEG, boost and agg (but you can install these from your distribution, no need to compile yourself, otherwise you would be compiling for a while). I may have left a few libraries out, but ./configure should tell you if you are missing something.

You can then run ./gui/dump-gnash [options] movie_file.swf.

share|improve this answer

You can try to use edit.py:

apt-get install pyvnc2swf
apt-file search edit.py
pyvnc2swf: /usr/share/pyvnc2swf/edit.py

Then convert it by outputing:

/usr/share/pyvnc2swf/edit.py -o output.flv original.swf

Then if you need to convert it once more to another format use ffmpeg (can convert to many popular video format):

ffmpeg -i output.flv output.avi
share|improve this answer
1  
Unfortunately I just end up with a seven minute long movie of complete blackness :( BTW, the Fedora equivalent command is vnc2swf-edit –  robertc Feb 2 '11 at 18:29
    
Sorry to hear, guess it's Debian only? Works on Ubuntu 10.04. –  ngen Feb 2 '11 at 18:31
3  
I got it installed fine, it just didn't work. –  robertc Feb 2 '11 at 19:05

You could try playing the file and recording your screen at the same time, although there are probably a lot better ways to do this.

share|improve this answer

Should you still have the .fla file, try publishing the swf for Flash 9. I had a sequence I wanted to convert into a video to no avail when using newer Flash swf formats. But it went well with Flash 9 compatible swfs and edit.py!

share|improve this answer
    
I never at any point had the original .fla. Nor do I have a version of Flash which works on Linux. –  robertc Feb 6 '13 at 0:30

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.