How to decompress videos for matlab input video

an error message was came while giving input videos to matlab like
?? Error using ==> aviread at 76 Unable to locate decompressor to decompress video stream
Error in ==> main at 7 avi = aviread('Testvid_NEW_NEW.avi');

5 commentaires

R2012a doc says:
Note: aviread will be removed in a future release. Use VideoReader instead
Which operating system are you using? Are you using 32 bit or 64 bit MATLAB? What does mmfileinfo() say about the file ?
Please use
minfo = mmfileinfo('Testvid_NEW_NEW.avi');
and show us minfo.Video
>> minfo = mmfileinfo('Testvid_NEW_NEW.avi')
minfo =
Filename: 'Testvid_NEW_NEW.avi'
Path: 'F:\kesavan matlab\subtraction'
Duration: 12.2400
Audio: [1x1 struct]
Video: [1x1 struct]
Please show us minfo.Video by entering that at the command line. We need to see the contents of the structure.

Connectez-vous pour commenter.

Réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by