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

My HTML document is not linking to my CSS stylesheet properly -

php array slice every 2th rule -

node.js - Sending sockets to client side, Error: Converting circular structure to JSON -