필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

frames to video conversion . wrong sequence play

조회 수: 1 (최근 30일)
Max
Max 2011년 8월 31일
마감: MATLAB Answer Bot 2021년 8월 20일
hi
there are 50 frames in the folder HEART in C drive. i need to convert them into video. following codes i have written. the problem is there is slight mismatch between frames appearance when movie is played. I mean frame 50 gets played before 48. and 50th frame plays in place of 48. what is the problem with these codes.
pathname ='C:\HEART\' ;
dirlist = dir( [pathname '*.jpg'] );
pickind='jpg';
for x = 1:length(dirlist)
i = imread([pathname,dirlist(x).name]);
figure,imshow(i),title('load frames');
F(:,x)=getframe;
end
implay(F)
also the video i am playing is very fast . i need to get codes for playing it at my desired speed. kindly help fast. i am in urgent need for solution to this problem

답변 (1개)

Max
Max 2011년 8월 31일
or any other codes for better solutions are welcome

이 질문은 마감되었습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by