Hi all, I have a collection of swf files, some of which are version 8 and some are version 10. I want to create animated gifs from these files.
I've established that I can obtain a collection of images from the version 8 swfs using: % ffmpeg -i $swf -f image2 -vcodec png -r 30 i%02d.png but when the above is invoked on version 10 swfs, I get an error: could not find codec parameters So, this brings me back to first principles, learning how to extract the images using swfextract. When I invoke 'swfextract' on a version 8 image, I get something like: % swfextract a.swf Objects in file a.swf: [-i] 6 Shapes: ID(s) 2, 5, 9, 11, 13, 16 [-i] 2 MovieClips: ID(s) 10, 17 [-f] 1 Frame: ID(s) 0 I understand that I can extract the shapes and movieclips, but if they are just nested .swf files, how to I ever get to an actual png or jpg file? For version 8 files, this wasn't a problem for me because ffmpeg was doing what I wanted. When I invoke 'swfextract' on a version 10 image, I get something like: % swfextract b.swf Objects in file b.swf: [-i] 1 MovieClip: ID(s) 3 [-F] 1 Font: ID(s) 2 [-b] 1 Binary: ID(s) 1 [-f] 1 Frame: ID(s) 0 No shapes, just a single MovieClip (and a Font). How can I extract out png files? Any thoughts on why ffmpeg works for version 8 swf files but not version 10 files? --------------- SWFTools-common is a self-managed list. To subscribe/unsubscribe, or amend an existing subscription, please kindly point your favourite web browser at:<http://lists.nongnu.org/mailman/listinfo/swftools-common>
