kabilius
January 13th, 2009, 09:46 AM
Hi all,
I am using AVIStreamWrite() to write frames to a AVI file, but I can't seem to find an API that removes frames.
Let's say I got 7 frames to insert to my AVI file, and here is the steps on how I insert frames
frame 1 comes, put stuff into frame 1
frame 2 comes, put stuff into frame 2
frame 3, it's empty, skip a frame
frame 4, it's empty, skip a frame
frame 5, it's empty, skip a frame
frame 6 comes, put stuff into frame 3
frame 7 comes, put stuff into frame 4
After these series of insertion, I have 5 frames total in my AVI file, but my 5th frame is empty, so I would like to remove it if possible.
Any WINAPI for removing frames?
Thank you,
kab
I am using AVIStreamWrite() to write frames to a AVI file, but I can't seem to find an API that removes frames.
Let's say I got 7 frames to insert to my AVI file, and here is the steps on how I insert frames
frame 1 comes, put stuff into frame 1
frame 2 comes, put stuff into frame 2
frame 3, it's empty, skip a frame
frame 4, it's empty, skip a frame
frame 5, it's empty, skip a frame
frame 6 comes, put stuff into frame 3
frame 7 comes, put stuff into frame 4
After these series of insertion, I have 5 frames total in my AVI file, but my 5th frame is empty, so I would like to remove it if possible.
Any WINAPI for removing frames?
Thank you,
kab