Advertisement

Creating video from images (out of memory!)

Started by July 30, 2006 03:37 PM
6 comments, last by m4gnus 18 years, 6 months ago
I've been messing around with Fraps, doing a little
">Koyaanisqatsi
spoof with a video game I'm playing.. and I'm recording an image every 10 seconds or so in this instance to get that fast-motion effect you can see in Godfrey Reggio's Koyaanisqatsi. The problem I'm having is that my current method of converting the images to avi is to use JASC (now owned by Corel, I think?) Animation Studio. I just create an empty animation then import all of the images into it, then save the animation as avi (xvid compression.) This works fine on stuff with only about 150 frames or so, but when I have up to 400 or so frames, it complains that I've run out of memory when trying to save, whether I'm saving as AVI or GIF! Here are some specs: the frames are 1024x768 in BMP format (so about 2MB per image) and I'm willing to reduce the res to 800x600 but likely not lower. And I'd have to register ($$) Fraps to save in non-BMP.. But even with these reductions, it might not really matter much, because I intend to capture frames on the scale of thousands. My PC specs: GeForce 5900, AMD 64 3000+, 1GB DDR RAM. Some questions: Would this all be solved by simply registering fraps and saving as JPG instead of BMP (possibly reducing size of images from 2MB to about 200KB)? Is there a more efficient program out there (for pc!) for doing this kind of work (which doesn't cost an arm and a leg?) If I upgraded my PC entirely, what areas should I concentrate on to reduce these problems (would a raid setup help at all?)
Its strange that you're running out of memory... I'd expect that the program be able to swap things out of memory so it can read and write large files.

Your best bet is to download Adobe Premiere or Adobe After Effects trial versions, import your bmp images as frames, and export from there.
It could be solved by registering Fraps, but maybe not... it WILL be solved by using a better program (you could also try VirtualDub, which is free).
Getting an actual quality video editing program would be alot cheaper than upgrading your PC (though your PC could use the upgrade).
-------------www.robg3d.com
Advertisement
out of memory usually refers to your page file rather than physical memory as most think. try increasing your pagefile size to maybe 2048mb max and min.
-------------------------Only a fool claims himself an expert
I did some further tests while monitoring my physical and virtual memory.. with about 500 frames importing, it gets to about 50% within about 10 seconds, then my PF Usage monitor shows it hitting 1GB (and I have a gig of ram) and suddenly it slows down big time. It takes about 3 minutes or so to finish off the remaining 50%. The entire system becomes bogged down and slow; when I attempt to convert to AVI it fails (perhaps it can't read properly from non-physical memory or something?)

I've pretty much decided to not do any video editing until my next upgrade.
Quote:
Original post by ferr
I did some further tests while monitoring my physical and virtual memory.. with about 500 frames importing, it gets to about 50% within about 10 seconds, then my PF Usage monitor shows it hitting 1GB (and I have a gig of ram) and suddenly it slows down big time. It takes about 3 minutes or so to finish off the remaining 50%. The entire system becomes bogged down and slow; when I attempt to convert to AVI it fails (perhaps it can't read properly from non-physical memory or something?)

I've pretty much decided to not do any video editing until my next upgrade.

did you read my above post...?
its a pagefile problem! meaning it has nothing to do with your ram or anything needing an upgrade.
go to start, control panel, if using win xp make sure you're in classic view, go to system, advanced, under the performance area click on settings, then advanced, then under virtual memory change it to 4096 max and 4096 min... then click set, then ok.
that should be high enough to allow you to finish what you're trying to do, it will be slow but it will finish.
however a 4096 pga efile setting is too large for general pc use, so after you're done with you image stuff change your pf to 1024x1024 max and min and click set then ok.
and you also don't seem to understand what your pf is.
a page file is a section of the hard drive that acts like ram, the page file monitor doesn't show anything to do with your actual ram.
-------------------------Only a fool claims himself an expert
The program you are using was just never meant to be used for creating movies, it was meant for short gif style animations.

Just use VirtualDub (free, small, no install required). All you need to do is number your frames and you can open the sequence in VirtualDub and save it as an AVI. No memory problems.
Advertisement
Quote:
Original post by Jarrod1937
Quote:
Original post by ferr
I did some further tests while monitoring my physical and virtual memory.. with about 500 frames importing, it gets to about 50% within about 10 seconds, then my PF Usage monitor shows it hitting 1GB (and I have a gig of ram) and suddenly it slows down big time. It takes about 3 minutes or so to finish off the remaining 50%. The entire system becomes bogged down and slow; when I attempt to convert to AVI it fails (perhaps it can't read properly from non-physical memory or something?)

I've pretty much decided to not do any video editing until my next upgrade.

did you read my above post...?
its a pagefile problem! meaning it has nothing to do with your ram or anything needing an upgrade.
go to start, control panel, if using win xp make sure you're in classic view, go to system, advanced, under the performance area click on settings, then advanced, then under virtual memory change it to 4096 max and 4096 min... then click set, then ok.
that should be high enough to allow you to finish what you're trying to do, it will be slow but it will finish.
however a 4096 pga efile setting is too large for general pc use, so after you're done with you image stuff change your pf to 1024x1024 max and min and click set then ok.
and you also don't seem to understand what your pf is.
a page file is a section of the hard drive that acts like ram, the page file monitor doesn't show anything to do with your actual ram.


Yes, I already had a large amount of virtual memory set (2500-3500.)
Once I hit 1000MB on my "PF Usage" on my Memory Performance monitor, which actually does show me a lot of information on my physical memory in addition to virtual memory, it begins to bog down considerably. Bogging down and being horribly slow is one thing, but not being able to save is likely just limitation of the software, so I'll agree with you there, it might not be a physical memory limitaion problem at all.

I'm currently downloading the Adobe After Effects trial and am going to give that a try.

edit: I'll give VirtualDub a try, too, I guess.
google for "bmp2avi". i already used it for some game videos and it works for throusands of images without problems.
"There are 10 types of people in the world... those who understand binary and those who don't."

This topic is closed to new replies.

Advertisement