How can i write multiple video files? with videoWriter?
Mostra commenti meno recenti
I want to write multiple video files and my conditions are here
j=1
if (t >= 125)
writerObj1 = VideoWriter('voilation1.avi');
open(writerObj1);
writerObj2 = VideoWriter('violation2.avi');
open(writerObj2);
disp("<--------- Violation Detected----------> ")
vidname=strcat('writerObj',num2str(j));
writeVideo(vidname,img1);
end
if(t ==600)
close(vidname);
j=j+1;
end
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Blocked Images in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!