How do I convert a videofile (.mp4, .avi, etc.) to a .mat file?
9 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I am trying to convert a .mp4 or .avi file into a .mat file. I need this to process the video and to conduct salient object research.
6 comentarios
Walter Roberson
el 8 de Abr. de 2019
I find that MATLAB code for VideoPCA is available from a link given at https://sites.google.com/site/automaticvideounderstaning/
Respuestas (1)
Walter Roberson
el 17 de Feb. de 2018
VideoReader or Vision.VideoFileReader .
2 comentarios
Walter Roberson
el 17 de Feb. de 2018
v = VideoReader('xylophone.mp4');
vid_frames = read(v); %read all frames
clear v %release it
save('xyloframes.mat', 'vid_frames');
Ver también
Categorías
Más información sobre Audio and Video Data en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!