|
I am looking for a way to save a matrix (essentially an array) of data that has the intensity information for each pixel into an avi file.
I want the avi file to be of no size limits and uncompressed. This is on an NTFS system with windows XP or greater.
Any ideas or tutorials?
PKNT
|
|
|
|
|
AVI is a video file, that is a sequence of frames (and possibly related audio). If you have pixel intensity then you have one frame. Am I missing something?
Veni, vidi, vici.
|
|
|
|
|
Thanks for your reply. Yes, you are correct and we dont even have audio. I already have a way to save videos, but when saving longer videos, I am facing issues such as file index corruption etc and these longer videos are very important for us as they are research data.
I am looking for a new better way tos ave videos without any problems.
PKNT
|
|
|
|
|
Would AVIFileWriteData do the trick?
"The AVIFileWriteData function writes supplementary data (other than normal header, format, and stream data) to the file."
I hope you are well aware that there are at least three Win32 API for working on audio / video files.
The "AVI", "capAVI" and "wave".
I am curently using capAVI and recomend always to use whatever standard status/ error reporting API's are avaiable in the particular set.
Cheers
Vaclav
|
|
|
|
|
Try to Google "ffmpeg" this library helps you to write avi files with very little hassle. You can even choose coded or write uncompressed files using their example code included in the library download.
|
|
|
|