TechTalkz.com Technology & Computer Troubleshooting Forums

TechTalkz.com Technology & Computer Troubleshooting Forums (http://www.techtalkz.com/)
-   Redhat Linux (http://www.techtalkz.com/redhat-linux/)
-   -   Re: convert SWF to AVI format... (http://www.techtalkz.com/redhat-linux/63374-convert-swf-avi-format.html)

KH Jeron 29-08-2007 02:18 PM

Re: convert SWF to AVI format...
 

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

dzark 29-08-2007 02:18 PM

Re: convert SWF to AVI format...
 

Thanks KH Jeron!

Looking at this page on pyvnc2swf
http://www.unixuser.org/~euske/vnc2s...2swf.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

dzark 29-08-2007 02:18 PM

Re: convert SWF to AVI format...
 

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/...untu-packages/

cheers,
wulf solter


--
dzark

pavgater01 05-01-2009 08:29 AM

Re: convert SWF to AVI format...
 
Although this post is too late, I think it's useful to you.
I just found this tool not long ago: Aunsoft SWF Converter.
It is used to convert swf/flash files to many other video and audio formats, such as MOV, MP4, WMV, MPEG, AVI, 3GP, DV, VOB, MP3, AC3, etc. It also can convert SWF to AVI with Alpha which can be edited in Adobe Premiere.
Before converting, you can choose the profile just according to the specific device such as iPod, iPhone, Apple TV, Zune, etc. to get the right format.
You can google it for more information.


All times are GMT. The time now is 04:52 PM.

vBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO