Open eungmo opened 7 years ago
Hello, if you want to resize the size of webcam, you can do the things below.
First, download swfmill, mtasc Then, change the width/height in jscam.xml and jscam.as The last, execute the commands below
commands: 1、swfmill simple src/jscam.xml jscam.swf 2、swfmill swf2xml jscam.swf src/jscam-source.xml ----change the objectID to 1 in jscam-source.xml 3、swfmill simple src/jscam-source.xml jscam.swf 4、mtasc -v -swf jscam.swf -main jscam.as -version 8 -cp src
Finally, you can get the jscam.swf you want.
I'm trying to resize the size of webcam, but I failed. (240x180size or 160x120size) You know, if I want to change the size of webcam, I should recompile using the source code in src directory. Even if I didn't change any source code, compiled jscam.swf file is not working. (Only the jscam.swf file in the repository is working well)
I think that the fail reason is difference compile circumstance. To compile, I installed swfmill-0.3.2, gc gcc++ gcc-c++, libxml2 libxml2-devel, libxsit libxsit-devel, libpng-devel using yum or repo file in the internet. My compile source code and execute swf file OS circumstance is Centos 7 x86_64.
If anybody can compile source code, please give the 240x180, 160x120 changed jscam.swf file.
Or, any idea or advice is welcome.