what can I replace nHiddenFinalFrames with in new VideoReader?

조회 수: 3 (최근 30일)
Doris
Doris 2012년 8월 20일
I have a script I need to run on R2012a which reads a video and edits it. It contains a lot of code with methods from VideoReader like get(video, 'numFrames') and it searches properties like 'fps', 'height', 'nHiddenFinalFrames' and so on.
I get a lot of errors because I think Matlab newer versions do not have such properties, but instead has "NumberOfFrames", "Height" (capital H!), "FrameRate" etc. Now I started correcting those, but can't find any correspondence for the nHiddenFinalFrames property.
What can I replace that with?
The part of the code I'm talking about looks something like this:
video.nrFramesTotal = info.NumberOfFrames;
if info.nHiddenFinalFrames > 0
video.nrFramesTotal = video.nrFramesTotal * (-1);
end

답변 (0개)

카테고리

Help CenterFile Exchange에서 Audio and Video Data에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by