From: dzark on

Man page for mencoder states that it DOES NOT support swf!


--
dzark
From: KH Jeron on

To accomplish a conversion from *.swf to *avi I succesfully used the
following workflow:
First I used a python script called edit.py from the pyvnc2swf
suite(pyvnc2swf-0.9.3) to convert input.swf to output.flv (yes its a
flash video movie)
edit.py -o output.flv input.swf

Then I used ffmpeg to convert output.flv to output.avi.
ffmpeg -i output.flv output.avi

I hope this helps
KH


--
KH Jeron
From: dzark on

Thanks KH Jeron!

Looking at this page on pyvnc2swf
http://www.unixuser.org/~euske/vnc2swf/pyvnc2swf.html#edit
it seems that it is possible to go straight from swf -> mpeg:

<<
$ edit.py -o outfile.swf [options] infile ...

Example
(Convert .swf into MPEG)
$ edit.py -o out.mpg input.swf

(Convert .swf into .flv)
$ edit.py -o out.flv input.swf
>>

Saving a lossey step converting flv->avi and giving a M$ format a
'heave-ho' at the same time :D

Am having a problem with embedded sound, but that may just be me and
and fact i have to be at work very soon and can't play any longer..

Thanks again KH Jeron!!!

Cheers,
wulf solter


--
dzark
From: dzark on

Hi all,

To get a conversion happening with sound i needed to:

add the -V (video) switch in edit.py
$ edit.py -o out.mpg -V input.swf

and upgrade to latest flash player
$ sudo aptitude update && sudo aptitude install flashplugin-nonfree
(with edgy backports repo enabled)

also note that edit.py to mpeg requires PyMedia (http://pymedia.org/)
whereas SWF -> FLV -> AVI doesn't.

So much nicer than the nasty (and expensive) programs under windows
that just do a screen capture of a playing swf....

So here's all the links in one spot:
vnc2swf (edit.py): http://www.unixuser.org/~euske/vnc2swf/
PyMedia (Python MPEG): http://pymedia.org/
Flash9 Install Howto: http://www.psychocats.net/ubuntu/flash
Seveas Packages (for Lame3.97):
http://ubuntu-tutorials.com/2006/10/21/seveas-ubuntu-packages/

cheers,
wulf solter


--
dzark