Unfortunately, this isn't easy. You would have to recreate all aspects of an original file
- original compression parameters and compression method
- exact file structure
- appropriate metadata in the .thm file
The built-in movie player only accepts original MJPEG compressed .avi files made by Canon cameras, it's not usable as a generic media player. The decompression is done by the Canon image processing hardware, not by software.