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_
   Topics & Contributions
   Video, Camera
(Moderator: REAS)
   problems with Quicktime/Video
« Previous topic | Next topic »

Pages: 1 
   Author  Topic: problems with Quicktime/Video  (Read 1456 times)
aadigi


problems with Quicktime/Video
« on: Feb 4th, 2004, 9:11pm »

Hi,
 
I'm a processing newbie so I'm sorry if this is a dumb problem. I'm interested in working with video in processing so starting simple, I opened the "loading_quicktime" example. When I try to run it, the sketch window doesn't open and Processing freezes up ("not responding"), requiring an "end task" from the windows Task Manager.
 
I'm running Processing 0067 on Windows XP Pro with Java 1.4.2_03. Quicktime 6.5 (with Quicktime for Java) is properly installed and QTJava.zip is in the \system32\ directory. I also installed WinVDIG, but I was pretty sure that was just for using cameras. Can anyone tell me what the problem might be? Thanks a lot.
 
-Aaron
 
cereals


Re: problems with Quicktime/Video
« Reply #1 on: Feb 4th, 2004, 9:28pm »

I had them problems, if i don't have a web cam installed.
 
Soon a plugged one in, it work no problems.. werid..
 
same setup as you!
 
aadigi


Re: problems with Quicktime/Video
« Reply #2 on: Feb 4th, 2004, 9:48pm »

interesting. well just for the sake of experimentation, i plugged in my firewire camcorder and the camera example works fine. so thats cool.
 
however, still no luck with the "pixels" or "loading_quicktime" video examples.
 
cereals


Re: problems with Quicktime/Video
« Reply #3 on: Feb 5th, 2004, 7:36pm »

You know aadigi, i never thought to test "pixels" or the others because I use my mac for video stuff. But your right...
 
they don't work.. it would be good to fix this..
 
well spotted!
 
cereals


Re: problems with Quicktime/Video
« Reply #4 on: Feb 5th, 2004, 7:39pm »

maybe try this solution:
 
http://www.abstractplane.com.au/products/vdig.jsp
 
try the 14day demo..
 
bzor

WWW Email
Re: problems with Quicktime/Video
« Reply #5 on: Mar 3rd, 2004, 8:45pm »

I seem to be having the exact problem, Processing freezing when loading and playing quicktime ( 0068 ). It's fine if when using just loadVideo(), but as soon either play() or repeat() is added it hangs.
 
Since I'm not using a webcam, just loading a quicktime, those replies don't really help.. Did you guys find any solution?
 
thanks..
« Last Edit: Mar 3rd, 2004, 8:46pm by bzor »  
trip

triparepa WWW Email
Re: problems with Quicktime/Video
« Reply #6 on: Mar 8th, 2004, 11:18pm »

This is a very old problem that hasn't been fixed, and no one has really given a straight answer as far as to why this affects some people and not others. Apparently, it is something funny in QT.
 
I am one of those who can't open QT movies, but can capture live video from QT. As you, I use WinXP and the latest QT version. However, the problem shows with all of the QT versions I've tried. In addition, it shows on my 2 other winXP machines, all with QT6.
 
Fry, or anyone in the Dev team, can we know what the status of this bug is? is it ever going to get fixed? is there something we can do to get QT movies into P5 (getting some other version of QTJava?)? why can some play movies and some can't? please, please, please, some info on this would be great, I REALLY want to work with non realtime, or non-input, video.
 
thanks
 
c:\
« Last Edit: Mar 8th, 2004, 11:19pm by trip »  
fry

WWW
Re: problems with Quicktime/Video
« Reply #7 on: Mar 9th, 2004, 5:00am »

the lack of straight answer is more to do with not having time to work on it than me hiding anything--i'm a person, not a corporation.
 
as i've heard, qtjava, irrespective of processing, seems to be fairly buggy. so i'm not sure whether the problem lies in the video code from hernando (who wrote the video api) or if it's apple's fault. it's equally likely to be either.
 
obviously we'd like to get this fixed, but as for a clearer answer, it will be at least may before the issue is addressed, and probably later, since it's further down the todo list than other things. the section on 'video' in the todo list is long, as you've seen the many comments about video problems here on the board.
 
in the meantime, you're always welcome to hack around with quicktime for java directly, without p5's video library; or use something like java media framework.
 
trip

triparepa WWW Email
Re: problems with Quicktime/Video
« Reply #8 on: Mar 9th, 2004, 6:27am »

on Mar 9th, 2004, 5:00am, fry wrote:
the lack of straight answer is more to do with not having time to work on it than me hiding anything--i'm a person, not a corporation.

 
Not what I meant whatsoever Fry, please don't take it like that. I know that we are all very grateful for a most excellent piece of software you guys have created. If you are reading frustration, well, you are partly to blame, since you have produced such a high quality product that our expectations are sky high and we lose sight of the labor of love P5 actually is
 
Anyway, I'll follow your suggestion and hack away at QTJava. Obviously I'll report any successes (hopefully!) back to the board.
 
c
 
fry

WWW
Re: problems with Quicktime/Video
« Reply #9 on: Mar 9th, 2004, 5:43pm »

aye, my apologies.. my answers get a bit terse when i'm trying to answer board questions in a hurry / doign it when i'm tired doesn't help either.
 
chr
Guest
Email
Re: problems with Quicktime/Video
« Reply #10 on: Mar 25th, 2004, 6:05pm »

hi there
 
try this (i dont think its a qt problem):
 
 http://webcamxtra.sourceforge.net/
 
you will find the WinVDIG_099.exe in the .zip.file.
after having installed this, for the first time
my camera was working without that alt+strg+entf-thing.
 
christian
 
chr
Guest
Email
Re: problems with Quicktime/Video
« Reply #11 on: Mar 25th, 2004, 6:22pm »

sorry- quicktime still seems to know it better...
 
sanguinarium

WWW
Re: problems with Quicktime/Video
« Reply #12 on: May 12th, 2004, 5:01pm »

i seem to have the same problem as you guys with the freezing p5.  
 
my first assumption was, that the .mov was not found. so i removed repeat() and image(), basically just havin a script that does a loadVideo.
 
interesting enough i now get a NullPointerException (see below). i strongly assume that there's something wrong with locating or opening the file. i currently use a full path (c:/Documents and Settings/.../.../.../foo.mov) because i was not sure where p5 would search for the file if referenced as 'foo.mov' only. is that what you people are getting too?
 
greets./
 
------
 
java.lang.NullPointerException
 at BVideo.<init>(BVideo.java:174)
 at BApplet.loadVideo(BApplet.java:1085)
 at Temporary_7271_1843.setup(Temporary_7271_1843.java:6)
 at BApplet.init(BApplet.java:185)
 at PdeRuntime.start(PdeRuntime.java:151)
 at PdeEditor.doRun(PdeEditor.java:807)
 at PdeEditorButtons.mouseReleased(PdeEditorButtons.java:41
 at java.awt.Component.processMouseEvent(Component.java:5134)
 at java.awt.Component.processEvent(Component.java:4931)
 at java.awt.Container.processEvent(Container.java:1566)
 at java.awt.Component.dispatchEventImpl(Component.java:3639)
 at java.awt.Container.dispatchEventImpl(Container.java:1623)
 at java.awt.Component.dispatchEvent(Component.java:3480)
 at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3450)
 at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3165)
 at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3095)
 at java.awt.Container.dispatchEventImpl(Container.java:1609)
 at java.awt.Component.dispatchEvent(Component.java:3480)
 at java.awt.EventQueue.dispatchEvent(EventQueue.java:450)
 at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThrea d.java:197)
 at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread. 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)
------
 
 
 
Stephen


Re: problems with Quicktime/Video
« Reply #13 on: Jun 21st, 2004, 1:04pm »

This happens because processing is installed in a path with a space in it.  
 
Move it to e.g. c:\processing and try running one of the examples.  
 
e.g. File->Open->examples->video->loading_quicktime.
 
Regards,
Stephen
 
Pages: 1 

« Previous topic | Next topic »