Error using the READ function for importing a video file

조회 수: 1 (최근 30일)
Jeff
Jeff 2012년 7월 9일
Hi,
I am having trouble with the READ function. Can anyone help me understand what is going wrong based on the output below?
>> videoObj
Summary of Multimedia Reader Object for 'vid1.wmv'.
Video Parameters: 29.97 frames per second, RGB24 720x480.
902 total video frames available.
>> frames = read(videoObj, [35 50]);
Error using VideoReader/read (line 86)
The frame range requested is beyond the end of the file.
Incidentally, the following line works just fine:
>> frames = read(videoObj, [1 50]);
I'm stumped...
Thanks, -Jeff

답변 (0개)

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by