How can I solve DiskLogger file error.

The following error I'm getting in GUI:
winvideo: Error writing data to the DiskLogger file. Failed to find the open file handle.
Error using hgMovie Invalid movie: expected a structure
Error in movie (line 41) builtin('hgMovie',varargin{:});

9 件のコメント

Walter Roberson
Walter Roberson 2013 年 3 月 9 日
Please show how you are calling movie()
Rajesh
Rajesh 2013 年 3 月 9 日
編集済み: Walter Roberson 2013 年 3 月 9 日
After Recording Video, it unable to play due to DiskLogger error, plz plz solve this proble Here I'm giving my Play Video Code uisng GUI
%%%code
if ~isfield(handles, 'format')
h = warndlg('Video setting is not ready, redo it','!! Warning !!');
pause (5);
if ishandle(h), close (h); end;
return;
end
if isempty(ls([handles.directory, '*avi']))
h = warndlg('Video not take yet, take video first!!!','!! Warning !!');
pause (5);
if ishandle(h), close (h); end;
return;
end
h = warndlg(['May be very slow!!'],'!! Warning !!');
pause (5);
if ishandle(h), close (h); end;
axes(handles.movieshow)
% mov = cell(1, loopnumber);
for k=1:handles.loopnumber
mov = VideoReader([handles.directory handles.filenameprefix num2str(k) '.avi']);
movie(mov);
clear mov
end
set(vid, 'LoggingMode')
% update handles
handles.output = hObject;
% Update handles structure
guidata(hObject, handles);
Rajesh
Rajesh 2013 年 3 月 9 日
編集済み: Walter Roberson 2013 年 3 月 9 日
if ~isfield(handles, 'format')
h = warndlg('Video setting is not ready, redo it','!! Warning !!');
pause (5);
if ishandle(h), close (h); end;
return;
end
if isempty(ls([handles.directory, '*avi']))
h = warndlg('Video not take yet, take video first!!!','!! Warning !!');
pause (5);
if ishandle(h), close (h); end;
return;
end
h = warndlg(['May be very slow!!'],'!! Warning !!');
pause (5);
if ishandle(h), close (h); end;
axes(handles.movieshow)
% mov = cell(1, loopnumber);
for k=1:handles.loopnumber
mov = VideoReader([handles.directory handles.filenameprefix
num2str(k) '.avi']);
movie(mov);
clear mov
end
set(vid, 'LoggingMode')
% update handles
handles.output = hObject;
% Update handles structure
guidata(hObject, handles);
Rajesh
Rajesh 2013 年 3 月 9 日
It is very Urgent, Plz help here what I doo...:-(
Walter Roberson
Walter Roberson 2013 年 3 月 9 日
VideoReader does not return a movie!!
Rajesh
Rajesh 2013 年 3 月 9 日
What are the forward steps to overcome this problem..???
Rajesh
Rajesh 2013 年 3 月 9 日
finally the following error is occurred:
Error using hgMovie Invalid movie: expected a structure
Error in movie (line 41) builtin('hgMovie',varargin{:});
Error in kiituniv>PlayVideo_Callback (line 277) movie(mov);
Error in gui_mainfcn (line 96) feval(varargin{:});
Error in kiituniv (line 42) gui_mainfcn(gui_State, varargin{:});
Error in @(hObject,eventdata)kiituniv('PlayVideo_Callback',hObject,eventdata,guidata(hObject))
Error while evaluating uicontrol Callback
Rajesh
Rajesh 2013 年 3 月 9 日
Thank you walter sir, I got a solution for above Disk Logger error....yup...:-)

回答 (0 件)

この質問は閉じられています。

質問済み:

2013 年 3 月 9 日

Community Treasure Hunt

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

Start Hunting!

Translated by