Loading and Saving a video
Ältere Kommentare anzeigen
Hi, I am new to the Video Processing toolbox in Matlab. Can someone please answer: How to load a video file using VideoReader and than saving the video using VideoWriter.
Antworten (1)
Nitin
am 12 Mär. 2014
This should get you started:
%Read the movie file movie.mp4:
movie_loaded = VideoReader('movie.mp4');
nFrames = movie_loaded.NumberOfFrames;
vidHeight = movie_loaded.Height;
vidWidth = movie_loaded.Width;
Kategorien
Mehr zu Video Formats and Interfaces finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!