mmcount.m

버전 1.1.0.0 (1.88 KB) 작성자: Kevin Bartlett
Uses the mmread utility to count the number of frames in a .asf video file.
다운로드 수: 456
업데이트 날짜: 2011/12/9

라이선스 보기

If you want to read in the last frame of a .asf file using mmread(), you can read in the entire file, but this can be very slow or cause Matlab to run out of memory.

You can read in only the last frame using mmread(), but to do this, you need to know the number of frames in the file.

mmcount() counts the number of frames in the file, after which mmread() can be used to read in the final frame. The time taken to count the frames and read in the final frame is much less than the time taken to read in the entire file with mmread().

mmcount() makes use of mmread() itself to do the counting.

인용 양식

Kevin Bartlett (2024). mmcount.m (https://www.mathworks.com/matlabcentral/fileexchange/33885-mmcount-m), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2011a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
도움

받음: mmread

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보
1.1.0.0

Changed algorithm for locating final frame. At suggestion of Micah Richert, author of the mmread program, now use the estimated number of frames returned by mmread as an initial guess.

1.0.0.0