Tag: adobe

如何通过Alchemy gcc编译ffmpeg?

所以我创建了ffmpeg配置文件,使其成为纯C(独立于平台,但理论上只是) 所以我的配置很简单(0.6.1,0.6.3测试): ./configure –disable-doc –disable-ffplay –disable-ffprobe –disable-ffserver –disable-avdevice –disable-avfilter –disable-pthreads –disable-everything –enable-muxer=flv –enable-encoder=flv –enable-encoder=h263 –disable-mmx –disable-shared –prefix=bin/ –disable-protocols –disable-network –disable-optimizations –disable-debug –disable-asm –disable-stripping 在Linux上进行编译将在4个库中解析,总大小为1 mb。 但我需要使用自定义编译器编译ffmpeg(开源gcc模拟称为Adobe Alchemy ,让我们将C / c ++编译到Flash中) 它在标准化过程中给出了几乎每个文件的错误: Array @ARGV missing the @ in argument 1 of shift() at /home/rupert/Downloads/alchemy-ubuntu-v0.5a/achacks/gcc line 218. cc1: error: unrecognized command line option “-Wtype-limits” cc1: error: […]

托管Flash不会加载swf资源(xml,图像等)

我试图在我的unix机器上首先使用gtk2实现一个swf阅读器。 工作,我可以渲染简单的swf文件。 现在,我正在尝试使用xml配置添加配置到我的flash文件,添加图像等。失败,将无法通过geturlnotify()。 这是我的代码: #include #include #include #include #include #include #include #include #include “npupp.h” #define FLASH_PLUGIN_SO “./libflashplayer.so” void *flash_plugin_handle; NPNetscapeFuncs browserFuncs; NPPluginFuncs pluginFuncs; GtkWidget *main_window; char* fileName = NULL; NPStream * stream; const char * uagent = “Axt/1.0”; //Default window size int WINDOW_XSIZE = 800; int WINDOW_YSIZE = 600; //Default child window position (flash player) […]