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

Popular posts from this blog

jQuery Mobile app not scrolling in Firefox -

c++ - How to add Crypto++ library to Qt project -

how to receive file in java(servlet/jsp) -