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.
IndexProgramming Questions & HelpVideo Capture,  Movie Playback,  Vision Libraries › Very large video files -- memory issues
Page Index Toggle Pages: 1
Very large video files -- memory issues (Read 694 times)
Very large video files -- memory issues
Jul 27th, 2009, 3:31pm
 
Hi all,

I'm writing a sketch to process very large video files (an hour of 1080i HD, for instance -- maybe 20GB of footage), but Processing doesn't seem to want to let me use files of more than about 350mb (which is maaaybe 3-4 minutes of low quality h264).

I'm using the processing.video library and straight up loading the movies, which seems to want to load the entire thing into memory.

It also runs frame-by-frame as each frame renders -- not in realtime. Is there a way to stream the video from the file, or request one frame at a time?

System specs:
Mac Pro
Intel 2xCore2Duo 2.4ghz
6gb of ram
Plenty of HD space

Thanks in advance for any advice...
Re: Very large video files -- memory issues
Reply #1 - Jul 29th, 2009, 12:37pm
 
For anyone interested, this seemed to be largely solved by switching over to the JMCvideo library. It's happily chewing on 11 gigs of video and seems quite stable.
Page Index Toggle Pages: 1