Use 'VideoWriter' function to create an AVI file to play
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hello guys,
Here is my idea, i am try to record a video through camera,
set(obj, 'LoggingMode', 'disk&memory') % log acquired data to disk&memory
writerObj = VideoWriter('newfile','Motion JPEG AVI'); %Construct a VideoWriter object
obj.DiskLogger = writerObj; % Configure the video input object to use the VideoWriter object.
start(obj)
save writerobj
now i v got a file 'writerobj', its in AVI format but why cant i play it? (I v check on 'obj' the video object, it tells me that its disklogger is 1 by 1 unknown array)
I am doing a project and then ready to graduate this quarter.
1 commentaire
Walter Roberson
le 9 Fév 2013
Isn't this really a continuation of http://www.mathworks.co.uk/matlabcentral/answers/62803-how-may-i-get-data-from-writerobj ?
Réponse acceptée
Walter Roberson
le 9 Fév 2013
Modifié(e) : Walter Roberson
le 9 Fév 2013
That form of save creates .mat files
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Image Preview and Device Configuration dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!