Why am I unable to read my AVI file in MATLAB on a Mac Pro ?

16 ビュー (過去 30 日間)
Anfal D
Anfal D 2019 年 11 月 5 日
コメント済み: Anfal D 2022 年 9 月 29 日
I am trying to read avi video file but an error accure said :"Error using vision.VideoFileReader
Invalid input file."
even I tested for avi built in video in matlab.
  2 件のコメント
Bindu Verma
Bindu Verma 2022 年 9 月 29 日
Have you found any solution. I am facing the same issue.?
Anfal D
Anfal D 2022 年 9 月 29 日
yes it solved by using
videoObject = VideoReader('video_1_trim.mp4');
so for AVi video it will be readit only if i create the video by videoWriter ( aaa.avi)
I hope thats help you

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

採用された回答

Sai Bhargav Avula
Sai Bhargav Avula 2020 年 3 月 27 日
Hi,
To the best of my knowledge MATLAB relies on Platform APIs to read a file using VideoFileReader. If Quick Time can't open the file on your macOS, you will not be able to read it using VideoFileReader.
Hope this helps!
  1 件のコメント
Anfal D
Anfal D 2020 年 3 月 30 日
yes sure , Thanks for your replay

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

その他の回答 (0 件)

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by