Error in bringing an avi file(which was originally a .mov file and was converted by an online convertor) into MATLAB workspace.

I tried bringing an avi file into the workspace.*Previously, I have brought others with no problem, but for this one(which was converted to avifile from .mov file by an online converter), I got an error which looks like this:
Error using aviread (line 81)
Unable to locate decompressor to decompress video stream
Error in importdata (line 175)
out = aviread(FileName);
Error in uiimport/runImportdata (line 428)
[datastruct, OTextDelimiter, OHeaderLines] = ...
Error in uiimport/gatherFilePreviewData (line 371)
[datastruct, textDelimiter, headerLines]= runImportdata(fileAbsolutePath, type);
Error in uiimport (line 191)
[ctorPreviewText, ctorHeaderLines, ctorDelim] = ...
Is there any standard .mov to .avi file converter I could use? What do I do to get out of this problem?

Réponses (1)

mov2avi() or avifile() or the newer VideoWriter class can convert mov to avi.
There are a lot of AVI compressors which aviread() cannot support, especially if you are using the 64 bit version of MATLAB.

1 commentaire

*I put:*
obj = mmreader('cell.avi');
m=struct('cdata',o)
m =
cdata: [1x1 mmreader]
Now, I want to view the individual frames on imtool....using image function,
image(cell(1).cdata)
BUT I'M GETTING ERROR:
No appropriate method, property, or field cdata for class
mmreader.
*What is wrong? I've been able to load the movie, but now I can't split it into the frames using image function!!*

Connectez-vous pour commenter.

Catégories

En savoir plus sur Convert Image Type dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by