Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

I want to convert a video into frame sequences using MATLAB.

Status
Not open for further replies.

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.
 

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
 
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!
 

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..
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top