How to import an avi-file?

30 vues (au cours des 30 derniers jours)
Emerson De Souza
Emerson De Souza le 8 Oct 2011
I want to import an avi-file. I used the command line:
mov = aviread(filename)
as suggested in the Matlab documentation. However, I obtain the error message:
??? mov = aviread(125.avi) | Error: Unexpected MATLAB expression.
So I wounder if someone could tell me what I'm doing wrong and how to correct this procedure.
Thank you in advance for your help Emerson

Réponse acceptée

Andrei Bobrov
Andrei Bobrov le 8 Oct 2011
mov = aviread('125.avi')
so?
  1 commentaire
Emerson De Souza
Emerson De Souza le 8 Oct 2011
Yes, the problem was the missing ''.
I wrote as you advised and got no more error.
My following question is: How do I extract all images of this video and save them as bmp-file?

Connectez-vous pour commenter.

Plus de réponses (1)

Walter Roberson
Walter Roberson le 8 Oct 2011

Catégories

En savoir plus sur Convert Image Type dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by