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 Center および File ExchangeAudio and Video Data についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by