Function to open a video file

3 次查看(过去 30 天)
Rashmi
Rashmi 2012-2-8
编辑: Cedric 2013-10-6
I want to open a video file in my code. The 'aviread' function is not working. Is there any constraint on using this function???? Is this function available in higher versions of MATLAB only?
  2 个评论
Walter Roberson
Walter Roberson 2012-2-8
Which MATLAB version are you using?
Is it saying that aviread is not found, or is aviread saying that it cannot find the codec for that video?
Rashmi
Rashmi 2012-2-9
I am using MATLAB 7.0.1.
it gives following errors
Error using==>audiovideo\private\findchunk
Incorrect chunk size information in AVI file
Error in==>aviinfo at 90
[chunk, msg]=findchunk(fid,'RIFF');
Error in==>aviread at 49
info=aviinfo(filename,'Robust');

请先登录,再进行评论。

回答(2 个)

Thomas
Thomas 2012-2-8
did you try
implay()
doc implay

Walter Roberson
Walter Roberson 2012-7-3
Your AVI file is corrupt.

标签

Community Treasure Hunt

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

Start Hunting!

Translated by