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)
   simple mov playback
« Previous topic | Next topic »

Pages: 1 
   Author  Topic: simple mov playback  (Read 629 times)
MrHunt

Email
simple mov playback
« on: Nov 7th, 2004, 11:33pm »

BVideo vid;  
 
void setup()  
{  
  size(320,240);
  vid = loadVideo("deneme.mov");  
}  
 
void loop()  
{  
  image(vid, 0, 0);  
}  
 
------------------------------
 
My mov file is in data folder and I installed quicktime in a custom way with the "quicktime for java" option selected.
I simplty tried to run this code but gave me the following error:
 
couldn't get a QuickTime movie from file:///C:/Documents%20and%20Settings/baran1/Desktop/processing-0068/pro cessing-0068/lib/build/deneme.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:1085)
 
 at Temporary_7405_5196.setup(Temporary_7405_5196.java:7)
 
 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)
 
fjen

WWW
Re: simple mov playback
« Reply #1 on: Nov 8th, 2004, 2:26am »

i don't have access to the bvideo code but the quicktime-errors look like it has trouble loading the file ...
 
have you checked if the loading_quicktime-example runs on your machine? it's in (open)->examples->video->loading_quicktime.
 
if this example works, try quicktime-player to play your movie, maybe it's corrupt.
 
if the example fails as well try moving your processing folder to a location without spaces in the path-name:
from:
file:///C:/Documents%20and%20Settings/baran1/Desktop/processing-0068/pro  cessing-0068/lib/build/deneme.mov
to:
file:///C:/processing-0068
for example ...
 
/F
 
MrHunt

Email
Re: simple mov playback
« Reply #2 on: Nov 8th, 2004, 10:54pm »

the problem is the path name.thank you very much.
 
Pages: 1 

« Previous topic | Next topic »