Borrar filtros
Borrar filtros

Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

How to convert captured frames from webcam into avi format with 20fps.

1 visualización (últimos 30 días)
Talha Anwer
Talha Anwer el 6 de Feb. de 2019
Cerrada: MATLAB Answer Bot el 20 de Ag. de 2021
I've used this code then it is saving the video but it's not playing when I go to that folder andplay with media player:
I'll be thankful if you may help
cd ('E:\8th semester\Machine vision LAB\Talha Data for open ended lab')
cam = webcam;
writerObj=VideoWriter('MyAVI.avi');
open(writerObj);
for i=1:60
filename = sprintf('153MC%0d.png', i);
imwrite(snapshot(cam),filename);
b=imread(['153MC',num2str(i),'.png']);
writeVideo(writerObj,b);
end
close(writerObj);

Respuestas (0)

La pregunta está cerrada.

Productos


Versión

R2016a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by