Effacer les filtres
Effacer les filtres

Incorrect Chunk Size?

4 vues (au cours des 30 derniers jours)
James Bond
James Bond le 15 Fév 2011
Hey, I'm trying to open an avi (I've tried .mov and .mpeg too) video using the implay function with my 64 bit 2010 MATLAB but I keep receiving the following error:
Error while attempting to read file:
Hey.avi
Details of error:
Incorrect chunk size information in AVI file
When I ran the following code with a demo video in MATLAB it worked fine.
obj=('xylophone.mpg')
obj =
xylophone.mpg
>> implay(obj)
But the trouble starts when I do the same thing with my own video:
obj2=('hey.avi')
obj2 =
hey.avi
>> implay('obj2')
??? Error using ==> ScopeCLI>ScopeCLI.checkSource at 63
File 'obj2' not found.
Error in ==> uiscopes.Framework.Framework at 15
checkSource(hScopeCfg.ScopeCLI);
Error in ==> uiscopes.new at 22
hScope = uiscopes.Framework(hScopeCfg, varargin{:});
Error in ==> implay at 55
obj = uiscopes.new(hScopeCfg);
I'm not sure what the problem here is. My video isn't too big because the same error occurs with shorter videos, could their be a 64-bit - 32-bit problem? Any help here would be appreciated. Thank you!

Réponses (1)

Andreas Goser
Andreas Goser le 15 Fév 2011
I know this "incorrect chunk size" message from an earlier version. To that time, the behavior occured when the avi files were malformed.
Can you try the MMREADER command instead of AVIREAD?

Catégories

En savoir plus sur File Operations dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by