Getting frame from AVI