Saturday, July 16, 2011

jpeg2swf

Here three Jpeg pictures are combined to form a single swf file,

-r specifies the frame rate.
-o  specifies the output file.

remnux@remnux:~/Desktop$ jpeg2swf -r 1 image1.jpeg image2.jpeg image3.jpeg -o jpeg.swf
remnux@remnux:~/Desktop$ ls -ltrh
total 76K
-rw-r--r-- 1 remnux remnux 15K 2011-07-16 13:10 image1.jpeg
-rw-r--r-- 1 remnux remnux 17K 2011-07-16 13:10 image2.jpeg
-rw-r--r-- 1 remnux remnux 17K 2011-07-16 13:10 image3.jpeg
-rw-r--r-- 1 remnux remnux 17K 2011-07-16 13:12 jpeg.swf
remnux@remnux:~/Desktop$ swfdump jpeg.swf
[HEADER]        File version: 4
[HEADER]        File size: 16514
[HEADER]        Frame rate: 1.000000
[HEADER]        Frame count: 3
[HEADER]        Movie width: 419.00
[HEADER]        Movie height: 292.00
[009]         3 SETBACKGROUNDCOLOR (00/00/00)
[015]      5279 DEFINEBITSJPEG2 defines id 0001
[002]        38 DEFINESHAPE defines id 0002
[01a]         5 PLACEOBJECT2 places id 0002 at depth 0001
[001]         0 SHOWFRAME 1 (00:00:00,000)
[015]      5526 DEFINEBITSJPEG2 defines id 0003
[002]        38 DEFINESHAPE defines id 0004
[01c]         2 REMOVEOBJECT2 removes object from depth 0001
[01a]         5 PLACEOBJECT2 places id 0004 at depth 0001
[001]         0 SHOWFRAME 2 (00:00:00,1000)
[015]      5508 DEFINEBITSJPEG2 defines id 0005
[002]        38 DEFINESHAPE defines id 0006
[01c]         2 REMOVEOBJECT2 removes object from depth 0001
[01a]         5 PLACEOBJECT2 places id 0006 at depth 0001
[001]         0 SHOWFRAME 3 (00:00:01,999)
[000]         0 END
remnux@remnux:~/Desktop$ swfstrings jpeg.swf
remnux@remnux:~/Desktop$




Since this swf file is from an image swfstrings was not able to pull out any details.

No comments:

Post a Comment