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!