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:

http://www.mathworks.com/matlabcentral/answers/100213-why-am-i-unable-to-use-a-compression-codec-with-avifile-using-matlab-7-7-r2008b-on-windows-xp-vist

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

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -