MATLAB Answers

Calculating The Number of frames

조회 수: 2(최근 30일)
Abdussalam Elhanashi
Abdussalam Elhanashi 23 Jan 2020
답변: KALYAN ACHARJYA 23 Jan 2020
Hi guys
just asking
is this code accurate for calculating the number of frames for such video
vidObj = VideoReader('myfile.mp4');
numFrames = 0;
while hasFrame(vidObj)
readFrame(vidObj);
numFrames = numFrames + 1;
end

  댓글 수: 0

로그인 to comment.

답변(1개)

이 질문에 답변하려면 로그인을(를) 수행하십시오.


Translated by