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

ying lcs yinglcs at gmail.com
Wed Nov 28 09:20:21 PST 2007


On Nov 12, 2007 11:03 PM, Mark Winterhalder <mark13 at gmail.com> wrote:
> 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/>.

Mark,

Thank you for your help.

In my example, I see this:

 <Header framerate="25" frames="1">

 </Header>

But there is no movie tag.

So does that mean this swf should only take 1/25 of a second?



>
> > 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
>
> _______________________________________________
> swfmill mailing list
> swfmill at osflash.org
> http://osflash.org/mailman/listinfo/swfmill_osflash.org
>



More information about the swfmill mailing list