Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

May anybody provide other size of webcam jscam.swf file?? (240x180size or 160x120size) #41

Open
eungmo opened this issue Feb 21, 2017 · 1 comment

Comments

@eungmo
Copy link

eungmo commented Feb 21, 2017

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.

@eungmo eungmo changed the title May anybody provide other size of webcam jscam.swf file?? May anybody provide other size of webcam jscam.swf file?? (240x180size or 160x120size) Feb 21, 2017
@yyfer
Copy link

yyfer commented Nov 16, 2017

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants