从 SWF 视频获取原始视频和音频转储
我有一部 SWF 电影(只有动画,没有 Actionscript),我想以编程方式提取生成的视频和音频以及任何分辨率。
什么方法是解决这个问题的最佳方法。任何语言、任何技术都被接受。
I have a SWF movie (only animation, no Actionscript) and I would like to programatically extract the resulting video and audio and whatever resolution.
What method would be the best way of going about this. Any language, any technique is accepted.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
请查看 SWFTools。它具有可以让您完成此类任务的构建块,尽管我自己还没有完成过。 swfrender 和 swfextract 特别值得关注。我可以看到它的工作方式如下:
Check out SWFTools. It has the building blocks that should let you complete such a task, although I've not done it myself. swfrender and swfextract specifically should be of interest. I could see it working like this:
运行 gnash 将每个帧转储到文件中,然后再次运行 gnash 将所有音频转储到适合我目的的文件中。查看手册页以获取更多详细信息。
然而,它并不是对每个人都适用,因为 gnash 在 Windows 上运行得不太好,并且不能很好地处理较新的 Flash 内容。
Running
gnash
to dump each frame to a file and then running gnash again to dump all audio to a file worked for my purpose. Check the man pages for more details.However, it won't work very everyone because gnash doesn't work very well on windows and doesn't handle newer flash stuff very well.