@Cammy
do you know if there's any library to handle CDXL files for mencoder/ffmpeg? it would be quite comfortable to convert AVI files to CDXL using these tools instead of the long task of splitting each frame into a picture and latter joining all the frames.