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

java - WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/board/] in DispatcherServlet with name 'appServlet' -

android - How to create dynamically Fragment pager adapter -

1111. appearing after print sequence - php -