Login   Register  
PHP Classes
elePHPant
Icontem

SWF header parser: Parse header of Flash files to extract metadata

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum (10)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2006-11-05 (8 years ago) RSS 2.0 feedStarStarStarStar 73%Total: 5,253 This week: 3All time: 442 This week: 564Down
Version License PHP version Categories  
swfheader 1.0.0GNU Lesser General Publ...3Files and Folders, Flash, Parsers
Description Author  

This class is meant to parse the header of Shockwave Flash animation files (.swf) to extract metadata information like the width and height of animation, compression status and uncompressed size, frame rate and total number of frames.

This class parses Flash files using only PHP code, so no special extension is necessary.

Supports both, compressed and uncompressed SWF Flash movies

Innovation Award  
PHP Programming Innovation award nominee
May 2004
Number 2


Prize: One downloadable copy of PHPEd
Shockwave Flash is a technology that has been growing its popularity in the latest years, especially among Web designers.

It provides a much richer means of presentation of content and user interaction that the traditional HTML based user interface pages.

This characteristic has been motivating many Content Management System developers to add support to integrate Flash animations in their systems.

The Shockwave Flash format is proprietary and is made of binary information. This imposes an additional difficulty to analyze and verify the integrity of the information contained in Flash animation files.

This class provides a basic solution for analyzing Flash animation files by parsing their header information to extract metadata that may be useful for content management systems as well verify the integrity of these files when they are uploaded to the publishing systems.

Manuel Lemos
Picture of Carlos Falo Hervás
Name: Carlos Falo Hervás <contact>
Classes: 10 packages by
Country: Spain Spain
Age: 39
All time rank: 291 in Spain Spain
Week rank: 184 Down4 in Spain Spain Down
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
File Role Description
Accessible without login Plain text file LICENSE.txt Lic. LGPL license
Accessible without login Plain text file README_EN.txt Doc. English documentation
Plain text file swfheader.class.php Class Base class source code
Accessible without login Plain text file test.php Example Test script

 Version Control Unique User Downloads Download Rankings  
 0%Total:5,253All time:442
 This week:3This week:564Down
User Ratings User Comments (4)  
 All time
Utility:95%StarStarStarStarStar
Consistency:87%StarStarStarStarStar
Documentation:87%StarStarStarStarStar
Examples:80%StarStarStarStarStar
Tests:-
Videos:-
Overall:73%StarStarStarStar
Rank:116
 
Really, really nice.
4 years ago (Bruno Tacca)
77%StarStarStarStar
Awesome class ;) thanks!
4 years ago (Adrian Chiran)
80%StarStarStarStarStar
Works well.
5 years ago (F Philip DeGeorge)
75%StarStarStarStar
Very good class, nice alternative to getimagesize that uses s...
6 years ago (jarosek)
75%StarStarStarStar