Hi, here's the problem : I'm making an app that splits an avi animation into bmp frames for editing. The filenames are numerical 001.bmp,002.bmp,003.bmp etc.. so they can be read into a frames list (table) and then displayed onscreen.
If i want to insert another Avi (split into bmp's) into the first one all the frames after the insert point have to be renamed which can take quite a few seconds if there are a few 100 frames or more. The only way i can think of to speed the process up would be to link a list of real file name / locations to a list of frame names and then just rename the frame names , not the files. But i cant work out how to do this in ams.
In most languages id make a 'struct' or a table containing more than one variable but i don't think either can be done in AMS. Ive tried a few ways to do it but they seem to present more problems than they solve.
Does anyone have any thoughts on how to tackle this problem?
If i want to insert another Avi (split into bmp's) into the first one all the frames after the insert point have to be renamed which can take quite a few seconds if there are a few 100 frames or more. The only way i can think of to speed the process up would be to link a list of real file name / locations to a list of frame names and then just rename the frame names , not the files. But i cant work out how to do this in ams.
In most languages id make a 'struct' or a table containing more than one variable but i don't think either can be done in AMS. Ive tried a few ways to do it but they seem to present more problems than they solve.
Does anyone have any thoughts on how to tackle this problem?
Comment