VideoReader and VideoWriter on Matlab not getting the same framerate
    조회 수: 6 (최근 30일)
  
       이전 댓글 표시
    
In the original video I get 11 seconds and in the new one 5 seconds. Anyone knows the problem?
outputVideo = VideoWriter('openv_v.avi');
open(outputVideo);
vid = VideoReader('openv.avi');
for idx = 1:vid.NumberOfFrames
    img = read(vid, idx);
       writeVideo(outputVideo,img);
  end
close(outputVideo);
댓글 수: 0
답변 (1개)
참고 항목
카테고리
				Help Center 및 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!
