필터 지우기
필터 지우기

How can I upload a mkv file onto MATLAB?

조회 수: 27 (최근 30일)
Henry Canova
Henry Canova 2019년 10월 28일
댓글: rachel jiang 2023년 8월 22일
I am trying to upload a mkv file onto matlab in order to use its depth properties.
If anyone could give me advice on how to upload the file it would be greatly appriciated.
  댓글 수: 3
rachel jiang
rachel jiang 2023년 8월 22일
upload is working...

댓글을 달려면 로그인하십시오.

답변 (1개)

Anurag Ojha
Anurag Ojha 2023년 2월 14일
Hello Henry
As per my understanding, you are facing an issue in uploading a .mkv file onto MATLAB. You can use a Video Reader object to read files containing video data. The object contains information about the video file and enables you to read data from the video.
v = VideoReader('samplefile.mkv');
% Read all the frames from the video, one frame at time
while hasFrame(v)
frame = readFrame(v);
end
Kindly refer to the following documentation for more understanding:
Hope it helps!

카테고리

Help CenterFile Exchange에서 Audio and Video Data에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by