Borrar filtros
Borrar filtros

Trouble creating AVI with 64-bit Windows

1 visualización (últimos 30 días)
Nikolay Vinnichenko
Nikolay Vinnichenko el 6 de Mayo de 2014
Respondida: Nikolay Vinnichenko el 7 de Mayo de 2014
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?

Respuesta aceptada

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

Más respuestas (1)

Nikolay Vinnichenko
Nikolay Vinnichenko el 7 de Mayo de 2014
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.

Community Treasure Hunt

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

Start Hunting!

Translated by