Implement AVI generation for DICOM multi-frame objects