How can I achieve trasparency in video output fiiles ?
Mostrar comentarios más antiguos
I am running R2013b on windows 7. With previous versions I used the function 'avifile' to create video files and the renderer 'OpenGL'. This combination allowed me to record complex graphical avis with transparency. My current combination of R2013b+W7 does not support 'avifile' I have to use a 'VideoWriter' object. When i do this with the renderer 'OpenGL' the output is mostly white space. If i specify the renderer 'zbuffer' transparency is not supported.
How can I achieve the functionality that I had with Windows XP and previous versions of Matlab ?
Respuestas (1)
Chad Greene
el 5 de Sept. de 2014
Can you use export_fig? The syntax would be something like this, and you could specify options such as renderer, anti-aliasing, -nocrop, etc.
frame = export_fig(gcf);
writeVideo(vidObj,frame);
Categorías
Más información sobre Audio and Video Data en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!