There's a source for reading an Avi and access certain frames., There's also a sample on how to write an number of images as an Avi, including support for WAV multiplexing.
Now all you need is a AVI2WAV commandline utility that will extract the sound from your source AVI. I've tried a working one some time ago, just google. Then read in all frames, edit and save with the WAV file.
Plus, you need to browse the code archives, section userlibs - of course.
BTW the two samples use decls files, some of the declarations may be incompatible, so you best rename all (declared) function names in one of them before you merge the 2 sources and ".decls" userlibs.
|