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 Comments

Please show how you are calling movie()
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);
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);
It is very Urgent, Plz help here what I doo...:-(
VideoReader does not return a movie!!
What are the forward steps to overcome this problem..???
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
Thank you walter sir, I got a solution for above Disk Logger error....yup...:-)

Answers (0)

This question is closed.

Asked:

on 9 Mar 2013

Community Treasure Hunt

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

Start Hunting!