Oct 20, 2011 #1 A anand_jha_30 Member level 2 Joined Oct 29, 2010 Messages 50 Helped 2 Reputation 4 Reaction score 2 Trophy points 1,288 Activity points 1,616 I want to convert a video into frame sequences using MATLAB and want to store the frames into a folder.
I want to convert a video into frame sequences using MATLAB and want to store the frames into a folder.
Oct 20, 2011 #2 D devilwar Member level 2 Joined Aug 18, 2011 Messages 45 Helped 10 Reputation 20 Reaction score 10 Trophy points 1,288 Location Bengaluru, India Activity points 1,544 Do you mean take images at regular intervals and save them?.. For the above case, aqVideo = videoinput('winvideo', 1, 'RGB24_640x480'); preview(aqVideo); pause on for i=1:10 aqImage = getsnapshot(aqVideo); name=['Frame' num2str(i) '.jpg']; imwrite(aqImage,name); pause(0.1) end pause off
Do you mean take images at regular intervals and save them?.. For the above case, aqVideo = videoinput('winvideo', 1, 'RGB24_640x480'); preview(aqVideo); pause on for i=1:10 aqImage = getsnapshot(aqVideo); name=['Frame' num2str(i) '.jpg']; imwrite(aqImage,name); pause(0.1) end pause off
Oct 20, 2011 #3 A anand_jha_30 Member level 2 Joined Oct 29, 2010 Messages 50 Helped 2 Reputation 4 Reaction score 2 Trophy points 1,288 Activity points 1,616 I have a video sequence saved in my PC. I am not taking the video live. So tell the modification in above and thank you!
I have a video sequence saved in my PC. I am not taking the video live. So tell the modification in above and thank you!
Feb 22, 2012 #4 S sara12 Newbie level 1 Joined Feb 22, 2012 Messages 1 Helped 0 Reputation 0 Reaction score 0 Trophy points 1,281 Activity points 1,284 yeah i have the same question i have a video of avi format saved in my pic i want to convert it into frames and save it..
yeah i have the same question i have a video of avi format saved in my pic i want to convert it into frames and save it..