Codec Error with VideoReader function

53 ビュー (過去 30 日間)
Tyler Banning
Tyler Banning 2017 年 5 月 30 日
コメント済み: G.Güney 2024 年 1 月 22 日
I was having a problem where Matlab is unable to determine the codec required when I try to read in an .mpg video file. I do not believe it has anything to do with the video file as the video plays fine in Windows Media Player. I tried following some of the troubleshooting methods online, but the first step is usually using mmfileinfo() to find out the information on the video file but that errors as well. I attached screenshots of what I am doing and the errors at the bottom.

採用された回答

Archita P
Archita P 2017 年 6 月 2 日
It might be the case that you are trying to read in a MAT file with a similar name, which would result in this error.
Which codec are you using to read the video file? You might be missing the codec required to read the video file. Try installing Windows Media Player Codec Pack, which can be found at the following website-
  2 件のコメント
Greg
Greg 2018 年 9 月 13 日
How is this an accepted answer to this question? He said right in the question that the video plays fine in Windows Media Player, which means that he already has the codec installed, right?
G.Güney
G.Güney 2024 年 1 月 22 日
I had the "The file requires the following codec(s) to be installed on your system: cvid" problem. Installing the Media Player Codec Pack solved the problem. Thanks!

サインインしてコメントする。

その他の回答 (2 件)

Nicky Wu
Nicky Wu 2019 年 8 月 28 日
don't download anything from that website... it comes with many unnecessary softwares to install on your computer.

Mrutyunjaya Hiremath
Mrutyunjaya Hiremath 2020 年 4 月 23 日
編集済み: Mrutyunjaya Hiremath 2020 年 4 月 24 日

カテゴリ

Help Center および File ExchangeAudio and Video Data についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by