video - Windows generate movies in matlab which compression to use -
i using windows 10 , trying generate movies in matlab compression use?
movie2avi(mov, filename_mov, 'compression', 'cinepak','quality',100);
errors:
use compression method other rle or msvc truecolor images. cinepak codec not supported in version of windows. please specify different codec.
refering:
movie2avi(mov, filename_mov, 'compression', 'iyuv','quality',100);
error: error using avi unexpected error. reason: failed open file.
error in audiovideo.internal.aviwriter (line 168) aviobj.filehandle = avi('open',filename); error in movie2avi (line 63) avimov = audiovideo.internal.aviwriter(filename,varargin{:}); error in panic_viscek_crowd (line 254) movie2avi(mov, filename_mov, 'compression', 'iyuv','quality',100); error in gen_movies (line 9) gobs_all=panic_viscek_crowd(crowd_types{i},pop,tr,tloc,'movie',1);
note: not bound use .avi
only.
abhishek, movie2avi old function makes use of old compression schemes, many of them no longer supported on latest versions of windows. use videowriter instead. videowriter allows write: mpeg-4/h.264, motion jpeg avi, motion jpeg 2000 , few other uncompressed formats.
hope helps.
dinesh
Comments
Post a Comment