Calculating The Number of frames

조회 수: 9 (최근 30일)
Abdussalam Elhanashi
Abdussalam Elhanashi 2020년 1월 23일
답변: KALYAN ACHARJYA 2020년 1월 23일
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

답변 (1개)

KALYAN ACHARJYA
KALYAN ACHARJYA 2020년 1월 23일

카테고리

Help CenterFile Exchange에서 Simscape Electrical에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by