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

9 次查看(过去 30 天)
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