How can I achieve trasparency in video output fiiles ?
이전 댓글 표시
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 ?
답변 (1개)
Chad Greene
2014년 9월 5일
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);
카테고리
도움말 센터 및 File Exchange에서 Audio and Video Data에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!