Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
AVI file format
#17
Hey @Petr, do you have any code that can read a single frame from an AVI file into 32-bit image? 

I am thinking just a couple functions, something like 

CountAviFrames&(AviFileName$) 
would return the total number of frames present in file AviFileName$

and

GetAviFrame(AviFileName$, FrameNumber&, FrameImage&) 
would retrieve frame number FrameNumber& from file AviFileName$ 
and return it by reference in image FrameImage&



I don't currently need audio, I'm just looking for a way to programmatically retrieve a single frame at a time as a 32-bit image that I can then process using QB64PE's regular graphics commands.

Maybe later it would be nice to be able to write the image back to the AVI file, but I don't need that right now.

Any help appreciated!
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 566 11-20-2025, 02:32 PM
Last Post: ahenry3068
  GIF89a File Format Petr 6 1,360 03-04-2025, 01:20 AM
Last Post: a740g
  PCX file format Petr 13 3,443 03-01-2025, 10:52 PM
Last Post: Petr
  BMP File format Petr 8 1,780 02-23-2025, 07:54 PM
Last Post: Petr

Forum Jump:


Users browsing this thread: 1 Guest(s)