Interfacing new Azure Kinect with Matlab and opening associated .mkv files

1 回表示 (過去 30 日間)
Gail Distefano
Gail Distefano 2021 年 3 月 17 日
回答済み: Shivang Srivastava 2021 年 3 月 24 日
I have tried using https://github.com/jrterven/KinZ-Matlab but can't quit the recording.
Also I am trying to read a .mkv file in Matlab using VideoReader but again get an error.
v = VideoReader('C:\users\gaila\Documents\output.mkv')
Error using VideoReader/initReader (line 734)
Unexpected exception in plug-in: 'No Frame Rate for this file Reason: The requested attribute was not found.'
Error in audiovideo.internal.IVideoReader (line 136)
initReader(obj, fileName, currentTime);
Error in VideoReader (line 104)
obj@audiovideo.internal.IVideoReader(varargin{:});
Any input would be much appreciated!

回答 (1 件)

Shivang Srivastava
Shivang Srivastava 2021 年 3 月 24 日
Hi Gail,
As per my understanding of your query, you are experiencing an issue with the VideoReader Function. I tried to run the VideoReader function with a sample .mkv file on MATLAB R2021a.
v = VideoReader('Sample.mkv')
The VideoReader seemed to be working completely fine and the error is not reproducible on my end.
I would suggest you check whether your output.mkv file for any possible errors or breakages.

Community Treasure Hunt

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

Start Hunting!

Translated by