Loading and Saving a video
조회 수: 3 (최근 30일)
이전 댓글 표시
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.
댓글 수: 0
답변 (1개)
Nitin
2014년 3월 12일
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;
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Audio and Video Data에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!