How am I to open an avi file for motion tracking?

4 次查看(过去 30 天)
this is what happens when I enter it
>> avi = mmreader('samplevideo4.avi');
??? Initialization failed. (No combination of intermediate filters could be found to
make the connection.)
Error in ==> mmreader.mmreader>mmreader.init at 423
obj.MMReaderImpl = audiovideo.mmreader(fullName);
Error in ==> mmreader.mmreader>mmreader.mmreader at 133
obj.init(fileName);
as for aviread
>> avi = aviread('samplevideo4.avi');
Warning: AVIREAD will be removed in a future release. Use MMREADER instead.
> In aviread at 29
??? Error using ==> aviread at 84
Unable to open file.

采纳的回答

Walter Roberson
Walter Roberson 2012-8-30
Use aviinfo() or mmfileinfo() or VideoReader.get() to examine the properties of the AVI file.
It could be that the AVI file uses a codec that you do not have installed. That happens especially for the Indeo5 codec, which is not installed by default in Windows 7, and it is not possible to get a version of the Indeo5 codec that works with a 64 bit version of MATLAB.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Read, Write, and Modify Image 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by