how to convert a .mat file in workspace to a video file(e.g avi)

10 vues (au cours des 30 derniers jours)
Chandrajit Pal
Chandrajit Pal le 26 Août 2013
Sir, How Can i convert a .mat file of workspace containing video data to a .avi file as the output video file...???

Réponse acceptée

Image Analyst
Image Analyst le 26 Août 2013
You need a sequence of images, not a whole workspace which could contain dozens of unrelated variables. Then use the VideoWriter class.
  2 commentaires
Chandrajit Pal
Chandrajit Pal le 26 Août 2013
Modifié(e) : Chandrajit Pal le 26 Août 2013
yes sir this is fine..what u have suggested.. but while I am using the .mat workspace file as the source and the matrix viewer as the destination I can easily view the video but when I am using the To multimedia file as the destination the video is not getting saved as the original file which I could see in the matrix viewer... In other words I have got the .mat workspace variable which contains the video and I need to have the same video file in .avi format...
Walter Roberson
Walter Roberson le 26 Août 2013
Are you talking about Simulink ?

Connectez-vous pour commenter.

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by