Error using VideoReader/init

4 views (last 30 days)
A.Mariya Jomet
A.Mariya Jomet on 27 Nov 2018
Commented: madhan ravi on 1 Dec 2018
while running the code
v = VideoReader('test.avi');
I get an error
Error usingVideoReader/init (line 619)
The file requires the following codec(s) to be installed on your system:
cvid
Error in VideoReader (line 172)
obj.init(fileName);
Error in vid2frame (line 7)
v = VideoReader('test.avi');
How to solve this?
I am using Matlab R2016a
I have downloaded cvid file and copied the 'dil' file as per the procedure. But still I'm getting the same error.
please help me. it's urgent
  2 Comments
A.Mariya Jomet
A.Mariya Jomet on 1 Dec 2018
Got solution from
The issue was the combination of that specific codec and my 64 bit version of MATLAB. Currently 64 bit cidec for Cinepak is non-existent. So I had 2 options;
  1. Convert the file to another codec or to an uncompressed version.
  2. Install or get access to a 32-bit version of MATLAB
So I chose mpeg file format for my video and the code worked properly.
Anyone can do this.
madhan ravi
madhan ravi on 1 Dec 2018
@A Mariya Jomet put it in the answer section and accept it so that people having the same problem will find the solution

Sign in to comment.

Answers (0)

Products


Release

R2016a

Community Treasure Hunt

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

Start Hunting!