필터 지우기
필터 지우기

Trouble creating AVI with 64-bit Windows

조회 수: 1 (최근 30일)
Nikolay Vinnichenko
Nikolay Vinnichenko 2014년 5월 6일
답변: Nikolay Vinnichenko 2014년 5월 7일
Trying to create AVI movie with either movie2avi, addframe or VideoWriter, I get file, where all the frames are identical (i.e. the first one is reproduced). No error occurs. The problem is present only for PCs with 64-bit Windows - Windows-7 with Matlab 2013b and Windows-8 with Matlab 2010b. Movies are small (5-20 frames with resolution about 400x400 pix). An example from Help for movie2avi leads to the same result. Any known solutions?

채택된 답변

Image Analyst
Image Analyst 2014년 5월 6일
I'm sure there is but we can't fix it until you upload your code. In the meantime, see my code, which works.

추가 답변 (1개)

Nikolay Vinnichenko
Nikolay Vinnichenko 2014년 5월 7일
Thanks. Your code works and this helped me to resolve the issue. The solution is
set(gcf,'Renderer','zbuffer'); %Setting the Renderer property to zbuffer or Painters works around limitations of getframe with the OpenGL® renderer on some Windows® systems.
which is present in Help example for writeVideo, but absent in analogous example for movie2avi.

카테고리

Help CenterFile Exchange에서 Audio and Video Data에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by