Description: 1. Resolved that avi files cannot be saved in the path of Chinese characters:
Replace the AVISaveV() function with the AVISaveVW(() function.
The modification is in the Merge_Video_And_Sound_File() function:
FccHandler [1] = galpAVIOptions [1] - & gt; fccHandler
Wchar_t * wout //2008.4.3 PM
Wout = output_avi_path. AllocSysString () / / 2008.4.3 PM
Hr = AVISaveVW(wout, NULL, (AVISAVECALLBACK) SaveCallback, NUMSTREAMS, AviStream, galpAVIOptions) //2008.4.3 PM
2. Change the initial setting to XviD mpeg-4 Codec coding, the encoding rate is 100, and the image is not distorted after coding
The resulting file is small.
File list (Check if you may need any files):