Filter löschen
Filter löschen

how to read h.264 video in the format .mkv into matlab?

21 Ansichten (letzte 30 Tage)
ARJUN K P
ARJUN K P am 18 Sep. 2015
Kommentiert: Gail Distefano am 5 Mär. 2021
how to read h.264 video in the format .mkv into matlab?

Antworten (2)

Dinesh Iyer
Dinesh Iyer am 18 Sep. 2015
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 Kommentar
Gail Distefano
Gail Distefano am 5 Mär. 2021
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{:});

Melden Sie sich an, um zu kommentieren.


Walter Roberson
Walter Roberson am 18 Sep. 2015
  2 Kommentare
ARJUN K P
ARJUN K P am 18 Sep. 2015
i didnt get the code sir
Walter Roberson
Walter Roberson am 18 Sep. 2015
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

Melden Sie sich an, um zu kommentieren.

Community Treasure Hunt

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

Start Hunting!

Translated by