how to read h.264 video in the format .mkv into matlab?
조회 수: 17 (최근 30일)
이전 댓글 표시
how to read h.264 video in the format .mkv into matlab?
댓글 수: 0
답변 (2개)
Dinesh Iyer
2015년 9월 18일
MKV files are not native supported on Windows. You can download the following codec pack:
and then use VideoReader to read the data into MATLAB.
Hope this helps.
Dinesh
댓글 수: 1
Gail Distefano
2021년 3월 5일
I have tried this but get this 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{:});
Walter Roberson
2015년 9월 18일
댓글 수: 2
Walter Roberson
2015년 9월 18일
If you follow the links there you can get the complete source and .mex32 and .mex64 at http://sourceforge.net/projects/avisynthreader/ . You click on the Download link there, download the .zip, expand it, and put the resulting directory onto your MATLAB path such as by using pathtool
참고 항목
카테고리
Help Center 및 File Exchange에서 Audio and Video Data에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!