Read video using VideoReader function in Matlab? -
i want read video folder , extract frames it.i used vidoereader function.but gives error.my code shown below along error.
mov=videoreader('11.mp4'); vidframes=read(mov); nframes=mov.numberofframes; i=1:nframes imshow(vidframes(:,:,i),[]); end
and error show given below
error using videoreader/init file not appear have video data.
error in videoreader (line 147) obj.init(filename);
error in video (line 7) mov=videoreader('11.mp4');
i think matlab
version related problem. faced same problem when using matlab 2013a
. however, when changed matlab 2014b
problem disappeared.
Comments
Post a Comment