Effacer les filtres
Effacer les filtres

Function to open a video file

3 vues (au cours des 30 derniers jours)
Rashmi
Rashmi le 8 Fév 2012
Modifié(e) : Cedric le 6 Oct 2013
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 commentaires
Walter Roberson
Walter Roberson le 8 Fév 2012
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 le 9 Fév 2012
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');

Connectez-vous pour commenter.

Réponses (2)

Thomas
Thomas le 8 Fév 2012
did you try
implay()
doc implay

Walter Roberson
Walter Roberson le 3 Juil 2012
Your AVI file is corrupt.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by