我的Matlab VideoPlayer的播放速度太快,让人们走得快两倍。我试过调整.FrameRate但没有效果。我正在使用Windows 7 64位计算机,并使用Windows Media Player进行播放。
这是代码:
%// Init:
detection_video_file = VideoWriter( 'my_file');
writerObj.FrameRate = 10; % but 100 60 30 don't have an effect
open( detection_video_file );
%// The loop
writeVideo( detection_video_file, dispFrame );
%// And finally:
close( detection_video_file );
答案 0 :(得分:0)
以下是更正:
detection_video_file.FrameRate = 5;