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
Unable to load .mov?? (Read 862 times)
Unable to load .mov??
May 8th, 2008, 4:54am
 
Last night I tried to cut and export part of a video shot by my DV as .mov and try to play it by Processing, but unluckily, I got some quicktime error!
Because video itself is too large, so I changed the encoding method , framerate and resolution of the video in Premier, is any standard mov format required for Processing to read my mov?
Re: Unable to load .mov??
Reply #1 - May 8th, 2008, 5:23am
 
just have a look on the page of the video library,
is processing unable to playback video of resolution 640*480 ?
Re: Unable to load .mov??
Reply #2 - May 8th, 2008, 5:44am
 
You can playback everything that Quicktime can play.
The problem is only related to the size of the video.
The bigger = the more memory you'll need.

If you want best performance, you can install gstreamer and use the gsvideo library.

Search the board for it.
Re: Unable to load .mov??
Reply #3 - May 8th, 2008, 7:03am
 
thanks Jay,

I got the following error, does it mean I need more RAM?

Exception in thread "Thread-2" java.lang.OutOfMemoryError: Java heap space
at java.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:70)
at processing.core.PApplet.loadBytes(PApplet.java:4563)
at processing.core.PApplet.loadBytes(PApplet.java:4546)
at processing.video.Movie.<init>(Movie.java:165)
at processing.video.Movie.<init>(Movie.java:89)
at Temporary_9957_9864.setup(Temporary_9957_9864.java:8)
Re: Unable to load .mov??
Reply #4 - May 8th, 2008, 7:29am
 
Quote:
OutOfMemoryError


Seems like yes.

To avoid this problem with big movies, you can cut your movie in several parts and call/load the parts one by one when needed.
Re: Unable to load .mov??
Reply #5 - May 8th, 2008, 9:45am
 
thanks a lot!!
Page Index Toggle Pages: 1