[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Swftools-common] Get pictures from MovieClips

From: Chris Ohmstede
Subject: Re: [Swftools-common] Get pictures from MovieClips
Date: Sat, 03 Nov 2012 12:54:34 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120911 Thunderbird/15.0.1

On 11/03/2012 12:21 PM, Matthias Kramm wrote:
On Sat, Nov 03, 2012 at 09:54:46AM +0100, Pablo Beltran <address@hidden> wrote:
Movieclips created by using SWFTools have a lot of children of two types:
Shape and TextBlock.

Is there any way to identify jpeg and png images?
    swfextract file.swf
It will print out lines like:
[-j] 22 JPEGs: ID(s) 237, 239, 241, 243, 
[-p] 1 PNGs: ID(s) 642

Those are the IDs that contain JPEGs and PNGs. 
If you run
    swfdump -u file.swf
it will tell you which IDs are used by Shapes:

[002]        44 DEFINESHAPE defines id 0643
                uses IDs: 642

I.e., in this case, ID 0643 is drawing a PNG.


SWFTools-common is a self-managed list. To subscribe/unsubscribe, or amend an existing subscription, please kindly point your favourite web browser at:<http://lists.nongnu.org/mailman/listinfo/swftools-common>

Time to shamelessly plug my app. If you are using Linux, you can use Flash Extractor. It's my GUI rapper around swftools and ffmpeg. Select your swf and choose extract. It will show you everything embedded in the flash file. You can also right click on any element, a movie clip for example, and it will show all the elements that make it up. From there, you can extract anything you want.

Here's the link:


reply via email to

[Prev in Thread] Current Thread [Next in Thread]