opencv Loading and Saving Various Media Formats