I used the code which I asked about here but added in the final loop the ani(ii)=getframe;
and after the loop
movie2avi(ani, 'orbeeit.avi', 'compression', 'None');
. instead of proper avi
I get a frozen smashed avi
(length 10 sec) which its only frame is this one . What am I doing wrong?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
This problem is probably caused by Windows Vista (and newer) in conjunction with certain graphics drivers as described in this bug report.
You can change the renderer
after you created the figure:
set(gcf,'Renderer','zbuffer');
Or
opengl('software');