Error using the READ function for importing a video file

1 visualizzazione (ultimi 30 giorni)
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

Risposte (0)

Categorie

Scopri di più su Data Import and Analysis in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by