Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
Importing .swf movie files

Subject: Importing .swf movie files

From: Arvind Iyer

Date: 28 Mar, 2010 09:49:05

Message: 1 of 6

I need to import a movie file available in .swf format into MATLAB so that I can access individual frames.
I tried using aviread but it doesn't seem to work. Should I simply convert the .swf file into the .avi format externally and then import the avi file into MATLAB, or is there a better way?

Subject: Importing .swf movie files

From: ImageAnalyst

Date: 28 Mar, 2010 15:03:03

Message: 2 of 6

On Mar 28, 5:49 am, "Arvind Iyer" <arvind.v.i...@gmail.com> wrote:
> I need to import a movie file available in .swf format into MATLAB so that I can access individual frames.
> I tried using aviread but it doesn't seem to work. Should I simply convert the .swf file into the .avi format externally and then import the avi file into MATLAB, or is there a better way?

---------------------------------------------------------
Arvind Iyer:
You can use GUIDE and, if you've installed Shockwave already for your
browser, you can put an ActiveX control on your form - it's the
toolbar button with the Flying X on it. Then draw out some rectangle
on your GUI. When the list of ActiveX controls comes up, go down to
the S's and select "Shockwave ActiveX Control." I expect you can
handle it from there.
By the way, I've never done this with the Shockwave control, so I
can't really help you anymore with it. But good luck with it,
ImageAnalyst

Subject: Importing .swf movie files

From: ImageAnalyst

Date: 28 Mar, 2010 17:23:29

Message: 3 of 6

But Shockwave is way more than just a simple video decoder/player.
You can have whole games written in it with lots of interactivity.
But Flash is a simpler format, mostly for playing simple animations I
think. Like I said, I'm not familiar with either one so you'd really
have to dig into it to see if a "movie" is even capable of being
extracted out of the more complex swf format file.

Subject: Importing .swf movie files

From: Lola

Date: 29 Mar, 2010 14:09:18

Message: 4 of 6

I can advise you a program to convert swf to avi. I use Flash to Video Encoder PRO.
Flash To Video Encoder PRO allows you convert any Adobe (Macromedia) Flash (swf, flv files) to video movie AVI, mp4, ASF/WMV, mpeg files, etc.
Very simple to use :)

Subject: Importing .swf movie files

From: Lola

Date: 29 Mar, 2010 14:20:13

Message: 5 of 6

It is interesting)

Subject: Importing .swf movie files

From: Arvind Iyer

Date: 29 Mar, 2010 19:45:10

Message: 6 of 6

Thank you for the suggestion.
However I would prefer a freeware solution for this, since this is for a one-off problem I'm working on.

Lola <valentina.skobeleva@gmail.com> wrote in message <2036200922.464945.1269871789251.JavaMail.root@gallium.mathforum.org>...
> I can advise you a program to convert swf to avi. I use Flash to Video Encoder PRO.
> Flash To Video Encoder PRO allows you convert any Adobe (Macromedia) Flash (swf, flv files) to video movie AVI, mp4, ASF/WMV, mpeg files, etc.
> Very simple to use :)

Tags for this Thread

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us