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!
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!

