Closed alexarje closed 8 years ago
One more problem:
>> mgread('Video')
please select a video file .mp4,.m4v,.mpg,.mov,.avi
Error using VideoReader/init (line 619)
Could not read file due to an unexpected error. Reason: Unable to initialize the video obtain properties
Error in VideoReader (line 172)
obj.init(fileName);
Error in mgvideoreader (line 29)
obj = VideoReader(fn);
Error in mgread (line 32)
mg = mgvideoreader(file);
I guess Matlab 2016 has changed some perporties of videoreader object. So it causes often the same error when initiate a video object. I will try that in Matlab 2016.
I agree on ARJ's first comment here that it would be nice if it was possible to use mgread(filename), or maybe mgread(typestring, filename) makes the implementation easier.
I think if we want input video,audio,motion data at the same time, it will be more conveninent.
I add one function mgread1 in source code folder, which works like mg = mgread(videofile), mg = mgread(videofile,audiofile,mocapfile),etc.
@benlyyan #bug
Trying to load a video file:
Also tried to run
but same problem.