what can I replace nHiddenFinalFrames with in new VideoReader?
3 ビュー (過去 30 日間)
古いコメントを表示
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 件のコメント
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Audio and Video Data についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!