Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
AVI file format
#6
Yes, you're right about the DIM commands, that's from development. It was a problem to get it working, because once it worked without sound, then again without video... I assume that the problem you describe is caused by running out of free RAM. Saving to AVI must be continuous, so that the contents of RAM are written to disk in a flash. Practically compressing video on the fly via QB64PE seems unthinkable to me, because just do the math, if you wanted to compress frames on the fly, it must be done in less than 1/30 of a second. So uncompressed AVI, when you really need to capture everything in real time, is the right solution (because after saving to a file, you no longer have a limited time for compression and can deal with it for longer). But my program doesn't do that at the beginning. It generates a few frames in memory and then saves them with the generated sound. So - I haven't looked at your version yet - but - this is probably the problem. So what does that mean? Good, but we will work on a version that will solve it on the fly. This will also test the elimination of the problem you are writing about. Now to verify my theory, launch the task manager and then your version of the program. I assume that the program will crash at some point when you run out of free memory.
Thank you all for the feedback, I mainly focused on the principle of saving so that it works and I somehow didn't think about this obvious thing... Smile I will work on it.


Reply


Messages In This Thread
AVI file format - by Petr - 03-22-2025, 08:00 PM
RE: AVI file format - by madscijr - 03-22-2025, 11:01 PM
RE: AVI file format - by mrbcx - 03-23-2025, 01:12 AM
RE: AVI file format - by ahenry3068 - 03-23-2025, 01:24 AM
RE: AVI file format - by madscijr - 03-23-2025, 02:26 AM
RE: AVI file format - by Petr - 03-23-2025, 08:58 AM
RE: AVI file format - by madscijr - 03-23-2025, 03:09 PM
RE: AVI file format - by mdijkens - 03-24-2025, 04:49 PM
RE: AVI file format - by madscijr - 03-24-2025, 06:13 PM
RE: AVI file format - by madscijr - 03-24-2025, 07:59 PM
RE: AVI file format - by Petr - 03-24-2025, 09:35 PM
RE: AVI file format - by madscijr - 03-24-2025, 09:55 PM
RE: AVI file format - by mdijkens - 03-25-2025, 08:05 AM
RE: AVI file format - by Petr - 03-25-2025, 09:20 AM
RE: AVI file format - by Steffan-68 - 03-25-2025, 05:25 PM
RE: AVI file format - by Petr - 03-25-2025, 06:14 PM
RE: AVI file format - by madscijr - 05-28-2025, 10:50 PM
RE: AVI file format - by Petr - 08-02-2025, 04:30 PM
RE: AVI file format - by madscijr - 08-03-2025, 01:03 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  APNG File Format Petr 5 567 11-20-2025, 02:32 PM
Last Post: ahenry3068
  GIF89a File Format Petr 6 1,370 03-04-2025, 01:20 AM
Last Post: a740g
  PCX file format Petr 13 3,451 03-01-2025, 10:52 PM
Last Post: Petr
  BMP File format Petr 8 1,786 02-23-2025, 07:54 PM
Last Post: Petr

Forum Jump:


Users browsing this thread: 1 Guest(s)