这是一种使用php获取动画持续时间的方法吗?我使用了CarlosFaloHervás的swfheader PHP类提取swf信息输出如下:
[debug] =>
[fname] => flash/test.swf
[magic] => CWS
[compressed] => 1
[version] => 11
[size] => 31485
[width] => 504
[height] => 63
[valid] => 1
[fps] => Array
(
[0] => 0
[1] => 24
)
[frames] => 2
通过将帧除以fps,答案是0.083s,这是错误的任何建议吗?