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

조회 수: 9 (최근 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