[swfmill] How to use swfmill to check the duration of a swf

Mark Winterhalder mark13 at gmail.com
Mon Nov 12 21:03:44 PST 2007


On Nov 13, 2007 5:07 AM, ying lcs <yinglcs at gmail.com> wrote:
> Is it possible to use swfmill to find out the duration of a swf?
> For example how many frames in that swf and how long each frame should play?

Sure, when you do

   swfmill swf2xml infile.swf | less

you can see the number of frames and the frames-per-second rate in the
<movie/> tag in the <header/>.

> Or if there is any other tool on linux to do what I need ?

   swfdump -f infile.swf

prints "-f <numberOfFrames>"
IIRC, it was in the swftools package.

HTH,
Mark



More information about the swfmill mailing list