开发者

Compressed SWF format not supported/cws2fws issue

开发者 https://www.devze.com 2023-03-24 17:28 出处:网络
I am trying 开发者_运维百科to convert .swf to a .flv file using ffmpeg. When I got that error, I searched around and found that I should use cws2fws to somehow decompress the .swf file so that it can

I am trying 开发者_运维百科to convert .swf to a .flv file using ffmpeg. When I got that error, I searched around and found that I should use cws2fws to somehow decompress the .swf file so that it can be converted by ffmpeg. However, apparently I need to compile the cws2fws.c myself, but it requires so many other libs and files and none of them are located on any 1 site. Is there a precompiled version of cws2fws available somewhere for download, or can I solved my initial error some other way?


Precomiled for what platform, OS, etc? Better try go compile it yourself like this:

git clone git://git.videolan.org/ffmpeg.git
cd ffmpeg/tools/
gcc -lz cws2fws.c

The output will be named a.out.

Reference: http://www.linuxquestions.org/questions/linux-software-2/error-compiling-ffmpeg-tool-cws2fws-606577/


I've found Moyeas command line SWF-to-Video and that does the job of converting .swf to .flv for me nicely.

0

精彩评论

暂无评论...
验证码 换一张
取 消