Support for image missed and minor bug fixes in the BuildVideo method