フィルターのクリア

Why can't I read an AVI file?

5 ビュー (過去 30 日間)
Marie-Louise Schlichting
Marie-Louise Schlichting 2022 年 2 月 24 日
編集済み: Gagan Agarwal 2023 年 9 月 29 日
Hello,
I would like to read an avi file in matlab. I have read many forum questions and answers regarding this issue but I still cannot find the solution to it.
I use this simple code: v = VideoReader(filename); %filename is an .avi file
However, I get this error message:
Error using VideoReader/initReader (line 734)
cvid
Error in audiovideo.internal.IVideoReader (line 136)
initReader(obj, fileName, currentTime);
Error in VideoReader (line 104)
obj@audiovideo.internal.IVideoReader(varargin{:});
Error in AVI_Labview_data (line 11)
v = VideoReader(filename);
I don't know what my issue is here, as I do have the Cinepak codec installed.
Could you help me with that?
Thank you very much!
  3 件のコメント
Star Strider
Star Strider 2022 年 2 月 24 日
What operating system are you using?
The Tips documentation section deals with some problems with macOS.
Marie-Louise Schlichting
Marie-Louise Schlichting 2022 年 2 月 25 日
Hi, yes it doesn't tell me what the problem is. I have a Windows system..

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

回答 (1 件)

Gagan Agarwal
Gagan Agarwal 2023 年 9 月 29 日
編集済み: Gagan Agarwal 2023 年 9 月 29 日
Hi Marie-Louise Schlichting,
I understand that you are trying to read a file with '.avi' extension. I tried producing it at my end on my Windows operating system using MATLAB version 'R2021b' and successfully managed to read the file with the '.avi' extension. I kindly request you to attempt reading the file again and if the problem persists, please share the file that you are attempting to read.
I hope this helps!

カテゴリ

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

タグ

製品


リリース

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by