フィルターのクリア

Frame must be 0 by 0 error during movie2avi

1 回表示 (過去 30 日間)
Jakub
Jakub 2013 年 4 月 11 日
Hi, im trying to make avi file using getframe. Ive done a lot of movies but now it crashed. Matlab says:
Error using avifile/addframe>ValidateFrame (line 288)
Frame must be 0 by 0.
Error in avifile/addframe (line 158)
ValidateFrame(aviobj,width, height,dims);
Error in movie2avi (line 64)
avimov = addframe(avimov,mov);
Error in movie>save_pushbutton_Callback (line 107)
movie2avi(handles.F, 'test1211.avi','fps',3);
Error in gui_mainfcn (line 96)
feval(varargin{:});
Error in movie (line 16)
gui_mainfcn(gui_State, varargin{:});
Error in @(hObject,eventdata)movie('save_pushbutton_Callback',hObject,eventdata,guidata(hObject))
Do you know what this error means? Thanks!!

採用された回答

Jan
Jan 2013 年 4 月 11 日
All frames in an AVI file must have the same size. When the first frame was created with the size [0 x 0], all other frames must have the same size also. But obviously this is not intented and there is a bug for the first frame already.

その他の回答 (1 件)

Image Analyst
Image Analyst 2013 年 4 月 11 日
Well handles.F is messed up. We don't know why - we don't know how you created it. Did you use im2frame()?

カテゴリ

Help Center および File ExchangeSimscape Electrical についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by