We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
Page Index Toggle Pages: 1
Load Video Library on Web (Read 1467 times)
Load Video Library on Web
Sep 19th, 2005, 9:59pm
 
Hi,i tried searching for this but i didnt find a solution for my problem.

I have a program that imports the video library to use a web cam. The problem is that i cant run the the program as an applet.

Is it possible to have an applet that use a webcam? If its not possible, is there a way a third user could run my program without processing?

Thanks in advance.

lanceR
Re: Load Video Library on Web
Reply #1 - Sep 19th, 2005, 11:30pm
 
You won't be able to run an applet inside a browser using the video library. It will only function locally.

If it's only intended for use by a third party without processing you could perhaps put it together as an APP.

I've not tried it with video, but can't see why not.
Re: Load Video Library on Web
Reply #2 - Sep 20th, 2005, 3:34pm
 
Thanks Mark for the answer.

I tried to run the program but i only get a black screen with a close button and the next error :

Code:

Exception in thread "Thread-2" java.lang.NoClassDefFoundError: quicktime/std/Std
QTException
at ghostbuster.setup(ghostbuster.java:13)
at processing.core.PApplet.display(PApplet.java:1050)
at processing.core.PGraphics.requestDisplay(PGraphics.java:362)
at processing.core.PApplet.run(PApplet.java:951)
at java.lang.Thread.run(Unknown Source)


Do you know what the problem is?
Re: Load Video Library on Web
Reply #3 - Sep 20th, 2005, 4:07pm
 

When exporting for the web it looks as though the quicktime stuff is omitted. Hence the NoClassDefFoundError.

This is a security issue I believe, as activating peoples webcams is not an ethical business. Saying that, it might be possible to overcome this and have people sign your applet as trusted!
Re: Load Video Library on Web
Reply #4 - Sep 20th, 2005, 4:09pm
 

Do you actually need live camera feed? Or could you compile a .mov for viewing on the web?
Re: Load Video Library on Web
Reply #5 - Sep 20th, 2005, 6:29pm
 
Well,i have my program and i want that other people without
Processing could use it and experiment with the live input.

Im still trying to find the way to run the program as an standalone,if its possible.
Re: Load Video Library on Web
Reply #6 - Sep 21st, 2005, 1:22am
 
as noted in the faq, video cannot be used inside applets:
http://processing.org/faq/bugs.html#video
Re: Load Video Library on Web
Reply #7 - Sep 21st, 2005, 4:43am
 
Hi Fry,

neither can video library be used in a standalone?
Re: Load Video Library on Web
Reply #8 - Sep 21st, 2005, 5:30am
 
anything can be used standalone (video, opengl, whatever) it's just a matter of knowing enough of how to get it working. it's not particularly fun to do, as you can see from the posts over in the integration board. Undecided
Page Index Toggle Pages: 1