I have tried to compile ffmpeg with the new flascc compiler with the following parameters ( I set only h263 ability as a test):
PATH=/cygdrive/c/download/flascc/sdk/usr/bin:$PATH ./configure --enable-static
--disable-shared --extra-libs=-static --extra-cflags=--static --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
--prefix=/cygdrive/c/download/flascc/sdk/usr
Then I tried to make as follows:
PATH=/cygdrive/c/download/flascc/sdk/usr/bin:$PATH make
PATH=/cygdrive/c/download/flascc/sdk/usr/bin:$PATH make install
*.a files have been created in the subdirectories, like: libavcodec.a. But how can I create an .swf/.swc from the *.a files?
Thanks! Charles
In the docs it says you can produce SWFs with -emit-swf
and SWCs with -emit-swc
Note that you'll need to write some kind of shim layer api for your AS3 code, or you can automate it with SWIG.