フィルターのクリア

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 Center および File ExchangeData Import and Analysis についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by