Bug 1233 : video capture & open GL
Last modified: 2010-06-05 02:57




Status:
RESOLVED
Resolution:
DUPLICATE of bug 882
Priority:
P2
Severity:
normal

 

Reporter:
Gids
Assigned To:
fry

Attachment Type Created Size Actions

Description:   Opened: 2009-04-30 10:30
I'm use processing 1.0.3 on mac os x intell 10.5.6

Seem cam capturing does not work wthi open GL.

The test:
use example -> libraries ->video(capture) -> mirror
the example work ( eveve if give me on cole e strage messge
[000:073] MagicCam 0: Current process: java, Flash is loaded: no
[000:073] Error(magiccammac.cc:276): MagicCam 0: MagicCamOpen: Not an allowed
process!
[000:003] MagicCam 1: Current process: java, Flash is loaded: no
[000:003] Error(magiccammac.cc:276): MagicCam 1: MagicCamOpen: Not an allowed
process!

)

but...
if i add
import processing.opengl.*;

and turn P3D in opengl
I get only a grey canvas...
(no error in console)


on processign 0135 all seems ok...
Additional Comment #1 From Gids 2009-04-30 10:40
apologise: is the same of bug 882....

applyed the work around

try {
quicktime.QTSession.open();
} catch (quicktime.QTException qte) {
qte.printStackTrace();
}

cam work , still get messages:


[000:036] MagicCam 0: Current process: java, Flash is loaded: no
[000:037] Error(magiccammac.cc:276): MagicCam 0: MagicCamOpen: Not an allowed
process!
[000:003] MagicCam 1: Current process: java, Flash is loaded: no
[000:003] Error(magiccammac.cc:276): MagicCam 1: MagicCamOpen: Not an allowed
process!

(In reply to comment #0)
>
>
>
> Description:  <!--
> addReplyLink(0);
> //-->[reply]
> Opened: 2009-04-30 10:30
>
>
>
>
> I'm use processing 1.0.3 on mac os x intell 10.5.6
>
> Seem cam capturing does not work wthi open GL.
>
> The test:
> use example -> libraries ->video(capture) -> mirror
> the example work ( eveve if give me on cole e strage messge
> [000:073] MagicCam 0: Current process: java, Flash is loaded: no
> [000:073] Error(magiccammac.cc:276): MagicCam 0: MagicCamOpen: Not an allowed
> process!
> [000:003] MagicCam 1: Current process: java, Flash is loaded: no
> [000:003] Error(magiccammac.cc:276): MagicCam 1: MagicCamOpen: Not an allowed
> process!
>
> )
>
> but...
> if i add
> import processing.opengl.*;
>
> and turn P3D in opengl
> I get only a grey canvas...
> (no error in console)
>
>
> on processign 0135 all seems ok...
>
>


Additional Comment #2 From frederickk 2009-11-09 03:41
i'm getting this error using Processing 1.0.9 i tried the work around (the
try block) but still just getting the errors or a gray screen or both.

[000:871] MagicCam 0: Current process: java, Flash is loaded: no
[000:871] Error(magiccammac.cc:276): MagicCam 0: MagicCamOpen: Not an
allowed process!

specifically i'm attempting to run this example. i just get the gray screen
when attempting to initialize the camera

cam = new Capture(this, width, height);

http://nyatla.jp/nyartoolkit/wiki/index.php?plugin=attach&refer=NyAR4psg&openfile=NyARTest.pde
(http://nyatla.jp/nyartoolkit/wiki/index.php?NyAR4psg.en)

and when i run the "Mirror" example that comes with processing i'm getting
the error but when i use the "Mirror" example and add the opengl library
(import processing.opengl.*;) -> ( size(640, 480, OPENGL); ) then it too
gets hung up on the gray screen.

mac osx 10.5.8
2.2 GHz intel core 2
macbook
processing 1.0.9


(In reply to comment #1)
>
>
>
> Additional Comment #1 From
> ghedo
> 2009-04-30 10:40
>
> <!--
> addReplyLink(1); //-->[reply]
>
>
>
>
> apologise: is the same of bug 882....
>
> applyed the work around
>
> try {
> quicktime.QTSession.open();
> } catch (quicktime.QTException qte) {
> qte.printStackTrace();
> }
>
> cam work , still get messages:
>
>
> [000:036] MagicCam 0: Current process: java, Flash is loaded: no
> [000:037] Error(magiccammac.cc:276): MagicCam 0: MagicCamOpen: Not an
allowed
> process!
> [000:003] MagicCam 1: Current process: java, Flash is loaded: no
> [000:003] Error(magiccammac.cc:276): MagicCam 1: MagicCamOpen: Not an
allowed
> process!
>
> (In reply to comment #0)
> >
> >
> >
> > Description:  <!--
> > addReplyLink(0);
> > //-->[reply]
> > Opened: 2009-04-30 10:30
> >
> >
> >
> >
> > I'm use processing 1.0.3 on mac os x intell 10.5.6
> >
> > Seem cam capturing does not work wthi open GL.
> >
> > The test:
> > use example -> libraries ->video(capture) -> mirror
> > the example work ( eveve if give me on cole e strage messge
> > [000:073] MagicCam 0: Current process: java, Flash is loaded: no
> > [000:073] Error(magiccammac.cc:276): MagicCam 0: MagicCamOpen: Not an
allowed
> > process!
> > [000:003] MagicCam 1: Current process: java, Flash is loaded: no
> > [000:003] Error(magiccammac.cc:276): MagicCam 1: MagicCamOpen: Not an
allowed
> > process!
> >
> > )
> >
> > but...
> > if i add
> > import processing.opengl.*;
> >
> > and turn P3D in opengl
> > I get only a grey canvas...
> > (no error in console)
> >
> >
> > on processign 0135 all seems ok...
> >
> >
>
>
>
>
>
Additional Comment #3 From frederickk 2009-11-09 03:44
just went and saw this comment on <a
href="bug 882</a>

this seems to be working.

-----

The workaround for this bug is to place this code inside setup(), and
*before* size():

try {
quicktime.QTSession.open();
} catch (quicktime.QTException qte) {
qte.printStackTrace();
}

In all other situations, you should never place code before the size()
method inside setup(), but desperate times call for desperate measures.
Additional Comment #4 From fry 2010-06-05 02:57


*** This bug has been marked as a duplicate of 882 ***