what can I replace nHiddenFinalFrames with in new VideoReader?
3 views (last 30 days)
Show older comments
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 Comments
Answers (0)
See Also
Categories
Find more on Audio and Video Data in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!