Incorrect Chunk Size?
8 ビュー (過去 30 日間)
古いコメントを表示
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!
0 件のコメント
回答 (1 件)
Andreas Goser
2011 年 2 月 15 日
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?
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!