Want to improve this question? Update the question so it's on-topic for Stack Overflow.
开发者_如何学PythonClosed 11 years ago.
Improve this questionI tried converting a .swf file into .avi through ffmpeg, and I got the error 'compressed swf format not supported'. How does a compressed .swf differ from an uncompressed .swf file? How do you specify which one you want to make, and is it even possible to? How would you decompress a compressed .swf and what should you expect to find? I googled a lot of these but I didn't manage to learn much from the bits and pieces I found.
FFMpeg examines the swf file for am embedded FLV movie file and rips it out and converts it. However most swfs are not just a simple embedded video file and contain all sorts of non-video elements including sprites, animation code, layers, etc. FFMpeg is a video transcoder and simply has no way to parse through all that to output a video file: http://forum.videohelp.com/threads/296449-can-ffmpeg-convert-SWF-to-FLV
What could probably work a lot better is a application designed to playback the swf file, and record the outputted frames as it is being recorded, or to use any of the 100's of apps out there for converting swf's to video.
SoThink generally makes great products in relation to handling swf formats: http://www.sothink.com/product/swftovideoconverter/
精彩评论