Error using the READ function for importing a video file

1 次查看(过去 30 天)
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