PDA

View Full Version : [ubuntu] Desiring to convert swf movie to avi or other format



demarshall
February 17th, 2011, 03:40 PM
Hello:

There are a couple of cool videos about previous decades on a web site but I'd like to be able to control the playing of it - pause it, rewind it, etc. I'm thinking that the best way to do that is to convert it to another video file format such as avi, wmv or mpeg.

The swf movies are: http://www.objflicks.com/decadeofthe1940s.html

and http://www.objflicks.com/theseventies.html

Is there something that will convert these swf movies or is there a way to just capture the video?

I'd really appreciate some help with this.

I have already tried everything that I have found listed in the forum here, including ffmpeg and mmencoder. Neither of those work and I want to be able to do this on a Linux box not on a Windows box.

Thanks for any assistance. :)

jmszr
February 17th, 2011, 04:33 PM
demarshall,

Both Handbrake and Avidemux can convert .swf to .avi.

Here is the website for Handbrake: http://handbrake.fr/downloads.php and Avidemux should be in the repositories, but this is probably a newer version: http://www.getdeb.net/updates/Ubuntu/10.04/?q=avidemux .

AvoidedRider
February 17th, 2011, 05:12 PM
I took a look at this thinking that it would be easy to solve. Avidemux and handbrake don't even open the files in question. I tried to open them with ffmpeg and got an error
Compressed SWF format not supported I routinely pull stuff offline like this and nothing I have is touching those files. If anyone has used something that will I am curious what it is.

demarshall
February 17th, 2011, 05:53 PM
Well, I'm glad that it's not just me...

Thanks guys. I hope that one of you or somebody else can come up with a solution.

I have heard that HTML 5 is not going to support Flash. I wonder if that means that it won't support swf as well.

lykeion
February 17th, 2011, 06:17 PM
I don't think there is a method to convert compressed SWFs to another video format. You could use a screen recorder like recordMyDesktop to capture the video.

Otherwise play the SWF video with a standalone player like gnash

sudo apt-get install gnash
Then you can play the video with:

gnash video.swf
You'll get play/stop/pause control but unfortunately no seeking available

demarshall
February 17th, 2011, 06:47 PM
I don't think there is a method to convert compressed SWFs to another video format. You could use a screen recorder like recordMyDesktop to capture the video.

Otherwise play the SWF video with a standalone player like gnash

sudo apt-get install gnash
Then you can play the video with:

gnash video.swf
You'll get play/stop/pause control but unfortunately no seeking available

Thanks lykeion! :-)

Will gnash automatically install its addon for Firefox and mess that up or is there some way to prevent it from doing that? I have had to get rid of every trace of that app on my computer more than once so that Firefox could play Flash properly.

AvoidedRider
February 18th, 2011, 12:36 AM
Seems to work as advertised. Did not change any of my flash plug-in settings in firefox. I am using the beta flash for 64 bit OS.

llamabr
February 18th, 2011, 12:43 AM
I don't care for gnash, though I havn't looked at it for a few years. Has it improved?

Usually, when you watch a flash movie, it will save a local copy in your /tmp folder. You'll usually find it there as something like:

/tmp/Flashfhgus9

or something like that. You can then use mplayer to play them on your computer, using your controls to forward and pause, etc.

demarshall
February 18th, 2011, 08:31 AM
No, the only files related to those swf movies are the swf movies themselves.

I installed gnash and it gives me at least some control over the playback of swf movies. It didn't infect Firefox so this is probably be best course of action right now.

Thanks lykeion

demarshall
February 22nd, 2011, 12:25 PM
Moyea SWF to Video Converter works well on my Windows, however, I don't know whether there is a Linux edition.
Here is the site: http://www.swfkits.com/:KS (http://www.swfkits.com/)
When I checked on that product in the past, it was only for Windoze. :-(

Thanks anyhow.

ron999
February 22nd, 2011, 01:59 PM
This would make a good project for somebody.:P
Modify a flash player such as Gnash or Swfdec so that it would allow stdout to ffmpeg.
Something like this:-

flashplayer foo.swf - | ffmpeg -i - -vcodec mpeg4 -acodec libmp3lame foo.mp4