Not possible since the AVI code only works on Windows. AVI is primarilly a Microsoft format and uses Windows APIs to generate the files. If you wanted to save images acquired from the camera to an AVI, you could transfer them to the host PC first and then save them from there.