Hi all…I’ve been working on an AVI player that plays AVI’s on a polygon as a texture. All works well until my video reaches frame#74. hen the apllication crashes.
The AVI I’m playing is in 24 bit colors ans has 202 frames and measures 256x256 pixels. My video card is a first generation RIVA TNT card with 16MB of RAM and I’ve got 256MB RAM of system memory.
What I’m thinking the problem is,is that I run out of video memory for my textures.74 frames of texturs = 74x3x256x256 = 14548992 bytes of memory.Which basically takes up all my video card’s memory.If I try to load up 75+ frames then my application crashes. Correct me if I’m wrong,but if I don’t have enough Video RAM,doesn’t OpenGL use my system RAM instead? If so,then I am completely lost as to what the problem is.
Does anyonw have any other suggestions as to how I can play ll my 202 frames on the polygon (without loading 75 frames at a time)
Thanx in advance for your help!