Copy link to clipboard
Copied
Has anyone successfully used the Canon camera ANE from Monday8am in a project? I've got it somewhat working, but get a lot of crashes and odd behavior. Just hoping someone has managed to use it successfully.
Here's a link:
I got it working today.
I own a Canon 1100D camera. The extension worked but a lot of crashes... so, what I did was to create the .ANE again. I downloaded the Canon SDK 2.14, recompiled the CanonEOSAne.dll. Then I published a new .swc file and finally I created the .ane from adt command line. (All the files are on monday8am github, you only need to recomplie everything)
Now the extension is working very well ( I still have an issue when I want to recconect the camera) no more Crashes.
@Icecandy,
...Copy link to clipboard
Copied
I'm trying to use it now 2nd March, 2014. I can't get past the AS error: "Error #3500: The extension context does not have a method with the name isSupported."
I'm using Flash CS6 on Windows 7. There was a bug with using ANE's with an earlier version of Flash CS6, but i have just updated to the latest v2 update (which is supposed to fix the ANE bug) and still same problem.
I am sure it is some sort of linking problem in that it can't find the library.
I'm not sure I have the correct Canon Lib drivers as you have to wait 5 days to get on the Canon developer program (which I just signed up to today) so I managed to find them on Google but I don't know which version they are.
Copy link to clipboard
Copied
Yeah, I don't know version either - I have the 5 files I found on Google also. I had to put them in the SysWOW64 folder and then I got it working...
Copy link to clipboard
Copied
demennenoh, Can you please share the code that worked for you, currently I use flex mxml which has below code
var camera:Camera = Camera.getCamera();
if (camera) {
camera.setMode(640,480,60,true);
camera.setQuality(0,100);
videoDisplay.attachCamera(camera);
Do you think I can add Adobe ANE extensions for this piece of code ?
Copy link to clipboard
Copied
I got it working today.
I own a Canon 1100D camera. The extension worked but a lot of crashes... so, what I did was to create the .ANE again. I downloaded the Canon SDK 2.14, recompiled the CanonEOSAne.dll. Then I published a new .swc file and finally I created the .ane from adt command line. (All the files are on monday8am github, you only need to recomplie everything)
Now the extension is working very well ( I still have an issue when I want to recconect the camera) no more Crashes.
@Icecandy, you have to publish the .exe file, install it and them try the app, it does not work from debugging mode.
Copy link to clipboard
Copied
Hi Diegfo, Do you think it would work in Flash Player and I dont use AIR runtime,Can you please share that piece of code, My current code is like below which detects webcam and not my canon cam
I have an action script question, Our application uses below snippet of Flex 4.5 sdk code for detecting webcams in flash players :
var camera:Camera = Camera.getCamera(); // I have logitech and canon connected , used "0" param for logitech and "1" param for canon, canon is not getting detected though logitech webcam does
if (camera) {
camera.setMode(640,480,60,true);
camera.setQuality(0,100);
videoDisplay.attachCamera(camera);
}
else {
Alert.show("No Camera found with your computer");
}
Above code is fine for the Logitech webcam which am using, We have a requirement to detect Canon EOS digital cams to be recognized as well to detect with the flash player.
but its not recognizable in flash player.
Copy link to clipboard
Copied
Thanks!
​I don't have Canon SDK. Can you please upload or email the stable ANE you recompiled? Thanks a lot!