Borrar filtros
Borrar filtros

Error using the READ function for importing a video file

1 visualización (últimos 30 días)
Jeff
Jeff el 9 de Jul. de 2012
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

Respuestas (0)

Categorías

Más información sobre Data Import and Analysis en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by