フィルターのクリア

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 Center および File ExchangeAudio and Video Data についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by