FAQ
Cover
This is the archive Discourse for the Processing (ALPHA) software.
Please visit the new Processing forum for current information.

   Processing 1.0 _ALPHA_
   Bugs
   Software Bugs
(Moderator: fry)
   quicktime error
« Previous topic | Next topic »

Pages: 1 
   Author  Topic: quicktime error  (Read 2576 times)
barikan

Email
quicktime error
« on: Aug 8th, 2003, 6:09pm »

p5 release 58
win 2000 sp3
quicktime java installed
 
when i try to loadVideo("video.mov") it kills p5.
 
fry


WWW
Re: quicktime error
« Reply #1 on: Aug 8th, 2003, 7:12pm »

kills like the application crashes? everything freezes up? the app just quits? somebody dies? blue screen?
 
barikan

Email
Re: quicktime error
« Reply #2 on: Aug 15th, 2003, 8:45pm »

sorry, i mean kills the application. it just quits.
« Last Edit: Aug 15th, 2003, 8:46pm by barikan »  
toxi

WWW
Re: quicktime error
« Reply #3 on: Aug 16th, 2003, 4:32am »

this actually happens to me now too (win xp/qt6.3). v58 just quits, no error log in lib/sterr.txt no nothing...  
 
however, i only just did update to QT6.3 because previously (with only QT 6.0 installed) both v56 and v58 simply froze the machine while compiling a video example and i had to force quit the PDE via the task manager.
 
now v58 at least gives some info if i start via run.bat  
 
the interesting thing is why it tries to load the movie from /lib/build and not from the sketch's /data directory...
 
Code:
couldn't get a QuickTime movie from file:///C:/Program%20Files/processing-0058/l
ib/build/street.mov
 
quicktime.io.QTIOException[QTJava:6.0.0g2],-50=paramErr,QT.vers:6308000
   at quicktime.io.QTIOException.checkError(QTIOException.java:44)
   at quicktime.io.QTFile.makeFSSpec(QTFile.java:540)
   at quicktime.io.QTFile.path2Spec(QTFile.java:503)
   at quicktime.io.QTFile.getFSSpec(QTFile.java:280)
   at quicktime.io.AliasHandle.fromQTFile(AliasHandle.java:41)
   at quicktime.io.QTFile.newAlias(QTFile.java:429)
   at quicktime.std.movies.media.DataRef.<init>(DataRef.java:137)
   at BVideo.<init>(BVideo.java:180)
   at BApplet.loadVideo(BApplet.java:906)
   at Temporary_403_1047.setup(Temporary_403_1047.java:23)
   at BApplet.init(BApplet.java:133)
   at PdeRuntime.start(PdeRuntime.java:90)
   at PdeEditor.doRun(PdeEditor.java:655)
   at PdeBase.actionPerformed(PdeBase.java:987)
   at java.awt.MenuItem.processActionEvent(MenuItem.java:588)
   at java.awt.MenuItem.processEvent(MenuItem.java:548)
   at java.awt.MenuComponent.dispatchEventImpl(MenuComponent.java:285)
   at java.awt.MenuComponent.dispatchEvent(MenuComponent.java:273)
   at java.awt.MenuComponent.dispatchEventImpl(MenuComponent.java:288)
   at java.awt.MenuComponent.dispatchEvent(MenuComponent.java:273)
   at java.awt.EventQueue.dispatchEvent(EventQueue.java:452)
   at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh
read.java:197)
   at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.java:150)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144)
 
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
 
   at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
java.lang.NullPointerException
   at BVideo.readFrame(BVideo.java:219)
   at BVideo.run(BVideo.java:316)
   at java.lang.Thread.run(Thread.java:536)

 
also when trying the camera example (with or without connected webcam), i get the following error...
 
Code:
quicktime.std.StdQTException[QTJava:6.0.0g2],-9405=couldntGetRequiredComponent,Q
T.vers:6308000
   at quicktime.std.StdQTException.checkError(StdQTException.java:38)
   at quicktime.std.sg.SGChannel.allocate(SGChannel.java:65)
   at quicktime.std.sg.SGChannel.<init>(SGChannel.java:58)
   at quicktime.std.sg.VisualChannel.<init>(VisualChannel.java:44)
   at quicktime.std.sg.SGVideoChannel.<init>(SGVideoChannel.java:49)
   at BVideo.<init>(BVideo.java:119)
   at BApplet.beginVideo(BApplet.java:853)
   at Temporary_1210_423.setup(Temporary_1210_423.java:22)
   at BApplet.init(BApplet.java:133)
   at PdeRuntime.start(PdeRuntime.java:90)
   at PdeEditor.doRun(PdeEditor.java:655)
   at PdeBase.actionPerformed(PdeBase.java:987)
   at java.awt.MenuItem.processActionEvent(MenuItem.java:588)
   at java.awt.MenuItem.processEvent(MenuItem.java:548)
   at java.awt.MenuComponent.dispatchEventImpl(MenuComponent.java:285)
   at java.awt.MenuComponent.dispatchEvent(MenuComponent.java:273)
   at java.awt.MenuComponent.dispatchEventImpl(MenuComponent.java:288)
   at java.awt.MenuComponent.dispatchEvent(MenuComponent.java:273)
   at java.awt.EventQueue.dispatchEvent(EventQueue.java:452)
   at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh
read.java:197)
   at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.java:150)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144)
 
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
 
   at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
quicktime.QTNullPointerException: QuickTime MUST be initialized:quicktime.std.sg
.SequenceGrabber
   at quicktime.QTObject._ID(QTObject.java:75)
   at quicktime.std.sg.SequenceGrabber.idle(SequenceGrabber.java:242)
   at BVideo.run(BVideo.java:313)
   at java.lang.Thread.run(Thread.java:536)

 
btw. qtjava.zip is correctly installed in c:\windows\system32...
« Last Edit: Aug 16th, 2003, 4:50am by toxi »  

http://toxi.co.uk/
Martin

122417302122417302martingomez_listsmg1ph WWW Email
Re: quicktime error
« Reply #4 on: Aug 17th, 2003, 9:14am »

on Aug 16th, 2003, 4:32am, toxi wrote:
the interesting thing is why it tries to load the movie from /lib/build and not from the sketch's /data directory...

 
because the stuff in /lib/build is the current compiled sketch. the stuff in data gets copied to build. i think this is because /lib/build is in the classpath, thus facilitating ease of file access.
 
i think forcing qtjava to be installed is giving a lot of people headaches.
 
 
fry


WWW
Re: quicktime error
« Reply #5 on: Aug 17th, 2003, 8:10pm »

on Aug 17th, 2003, 9:14am, Martin wrote:

i think forcing qtjava to be installed is giving a lot of people headaches.

including me . i knew it was a bad idea but it was either that or spend a few more days on 57/58, which i didn't have. it'll be fixed in 59, which i'm trying to finish asap (balancing against other work that was neglected during 57/58's very long release cycle).
 
though in his case, qtjava is gonna be required, since, uh, he's using qtjava.
 
fry


WWW
Re: quicktime error
« Reply #6 on: Aug 17th, 2003, 8:13pm »

so this line might be a clue:
quicktime.std.StdQTException[QTJava:6.0.0g2]
i'm wondering if the qtjava.zip in c:\win\sytem32 is still the 6.0 version instead of 6.3.
 
it's also very (more?) likely that there is no qtjava 6.3, just 6.0.
 
could you check to see if the qtjava.zip that's there is different (in contents, not location) from the one referenced with the environment variable %QTJAVA% ?
 
vasi


Re: quicktime error
« Reply #7 on: Aug 24th, 2003, 8:38pm »

hello forum,
 
i did have similar problems while using qt5 and 56 / 58. The qt java seemed to be installed and java 1.4 as well. i get this message every time i try to load video (using the sketch examples)
 
java.lang.NoClassDefFoundError: sun/awt/DrawingSurface
 at quicktime.QTSession$QTFrame.addNotify(QTSession.java:360)
 at java.awt.Window.pack(Unknown Source)
 at quicktime.QTSession.initialize(QTSession.java:331)
 at quicktime.QTSession.initialize(QTSession.java:300)
 at quicktime.QTSession.open(QTSession.java:512)
 at quicktime.QTSession.open(QTSession.java:480)
 at BVideo.<init>(BVideo.java:161)
 at BApplet.loadVideo(BApplet.java:906)
 at Temporary_5977_3115.setup(Temporary_5977_3115.java:23)
 at BApplet.init(BApplet.java:133)
 at PdeRuntime.start(PdeRuntime.java:90)
 at PdeEditor.doRun(PdeEditor.java:655)
 at PdeEditorButtons.mouseReleased(PdeEditorButtons.java:39
 at java.awt.Component.processMouseEvent(Unknown Source)
 at java.awt.Component.processEvent(Unknown Source)
 at java.awt.Container.processEvent(Unknown Source)
 at java.awt.Component.dispatchEventImpl(Unknown Source)
 at java.awt.Container.dispatchEventImpl(Unknown Source)
 at java.awt.Component.dispatchEvent(Unknown Source)
 at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
 at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
 at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
 at java.awt.Container.dispatchEventImpl(Unknown Source)
 at java.awt.Component.dispatchEvent(Unknown Source)
 at java.awt.EventQueue.dispatchEvent(Unknown Source)
 at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
 at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
 at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
 at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
 at java.awt.EventDispatchThread.run(Unknown Source)
 
i ll download the latest qt and re-install java to check if it is gonna work. You are doing great work guys!! proce55ing is fantastic tool.
 
regards,
vasi
 
barikan

Email
Re: quicktime error
« Reply #8 on: Aug 29th, 2003, 11:56pm »

hello,
 
i've installed abstractplane's vdig  
i can see the video image in "Basic Capture's Monitor"
QT java installed
Java 1.4 installed
Win 2000 sp3
 
when i run the examples/video/camera(capturing video):
in P58 it just kills the app, and no error message.
in P57 it kills again and generates the message below:
 
at quicktime.WinNativeHelper.getDrawingSurface(Native Method)
 at quicktime.WinJNIDrawingSurface.<init>(WinJNIDrawingSurface.java:37)
 at quicktime.QTSession$QTFrame.addNotify(QTSession.java:363)
 at java.awt.Window.pack(Window.java:436)
 at quicktime.QTSession.initialize(QTSession.java:332)
 - locked <0x101c39e0> (a java.lang.Object)
 at quicktime.QTSession.initialize(QTSession.java:301)
 at quicktime.QTSession.open(QTSession.java:522)
 at quicktime.QTSession.open(QTSession.java:490)
 at BVideo.<init>(BVideo.java:111)
 at BApplet.beginVideo(BApplet.java:853)
 at Temporary_8506_4027.setup(Temporary_8506_4027.java:22)
 at BApplet.init(BApplet.java:133)
 at PdeRuntime.start(PdeRuntime.java:90)
 at PdeEditor.doRun(PdeEditor.java:655)
 at PdeEditorButtons.mouseReleased(PdeEditorButtons.java:39
 at java.awt.Component.processMouseEvent(Component.java:5100)
 at java.awt.Component.processEvent(Component.java:4897)
 at java.awt.Container.processEvent(Container.java:1569)
 at java.awt.Component.dispatchEventImpl(Component.java:3615)
 at java.awt.Container.dispatchEventImpl(Container.java:1627)
 at java.awt.Component.dispatchEvent(Component.java:3477)
 at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)
 at java.awt.LightweightDispatcher.processMouseEvent(Container.java:319
 at java.awt.LightweightDispatcher.dispatchEvent(Container.java:312
 at java.awt.Container.dispatchEventImpl(Container.java:1613)
 at java.awt.Component.dispatchEvent(Component.java:3477)
 at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
 at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThrea d.java:201)
 at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread. java:151)
 at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
 at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
 at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
 
the image in "Basic Capture's Monitor" freezes for a while when i run the example, kind of a hope
 
burak
 
barikan

Email
Re: quicktime error
« Reply #9 on: Aug 30th, 2003, 5:39am »

man, it's working now! I don't know how did it happen, but here is the log:
 
- i've installed windows service pack 4
- i've tried java automatic install page. it installed J2RE 1.4.2  
 
smt confusing here because i used to get this line in the generated error:  
# Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode)
 
also to handle video installation check:
http://stage.itp.tsoa.nyu.edu/~dano/vbp/vbpInstallation.htm
 
and a few experiments with a webcam:
 
http://www.ucantekme.com/p5/video/index00.html
 
http://www.ucantekme.com/p5/video/index00a.html
 
http://www.ucantekme.com/p5/video/index00b.html
 
burak
 
fry


WWW
Re: quicktime error
« Reply #10 on: Aug 30th, 2003, 11:05pm »

barikan, did you reinstall quicktime? my only guess on this issue so far is that different versions of qtjava might be installed, so the qtjava.zip files don't match the latest quicktime .dll..  
 
so when people are reinstalling java, then the old version of qtjava gets removed or something like that.
 
actually, if you can search your drive for qtjava.zip (there's prolly one inside the 'ext' folder of your older version of the java jre that might still be there) and see if it's different from the qtjava.zip in your windows\system32 folder.  
 
i haven't yet been able to replicate this bug so i'm still really stumped. any help on this by y'all is really appreciated, since this is a nasty problem and i'd like to get it fixed asap.
 
barikan

Email
Re: quicktime error
« Reply #11 on: Sep 1st, 2003, 4:15pm »

hi ben,  
i didn't reinstall quicktime. and i have qtjava.zip only in WINNT\system32.  
 
i don't have it in  
C:p58\java\lib\ext and  
Crogram Files\Java\j2re1.4.2\lib\ext
 
is this a normal situation, having these two java folders? the second one is generated when it auto installed from the java homepage.
« Last Edit: Sep 1st, 2003, 4:27pm by barikan »  
fry


WWW
Re: quicktime error
« Reply #12 on: Sep 2nd, 2003, 5:04am »

yeah, any number of copies of java might be installed on your machine.  
 
this can be part of the problem though--that if you deinstall one copy, or reinstall another, then the QTJava.zip that was placed inside its ext folder will become irrelevant.. and may not get updated properly until quicktime is reinstalled (since QTJAVA will no longer point to a valid qtjava.zip if it no longer exists)
 
gantner
Guest
Email
Re: quicktime error
« Reply #13 on: Sep 5th, 2003, 4:58pm »

I get an "unexpectedly quit" system message from Processing_59 when I load the loading_quicktime example and do a lot of clicking in the display window. It opens and runs fine until I interact with it and then the program crashes.
 
Mac OS 10.2.6
java version "1.4.1_01"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39)
Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode)
 
Pages: 1 

« Previous topic | Next topic »