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

1 回表示 (過去 30 日間)
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?

回答 (1 件)

Walter Roberson
Walter Roberson 2011 年 10 月 17 日
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 件のコメント
Yagnaseni Roy
Yagnaseni Roy 2011 年 10 月 17 日
*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!!*

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeConvert Image Type についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by